Striping

hyperquest.striping.sigma_threshold(path_to_data, rotate, sigma_multiplier=3)

Uses a sigma threshold counting neighboring pixels to determine if striping is present, as presented in,

Yokoya 2010, Preprocessing of hyperspectral imagery with consideration of smile and keystone properties,

NOTE: similar to Smile methods, this assumes you have the data (or know the rotation) so that cross-track corresponds correctly.

Parameters:
  • path_to_data (str) – Path to the .hdr or .nc

  • rotate (int) – rotate counter clockwise, either 0, 90, 180, or 270.

  • sigma_multiplier (int, float, optional) – levels of sigma for threshold.

Returns:

s – array of same shape of image where 0 is no stripe and 1 is classified as stripe.

Return type:

ndarray