NTNU-SmallSat-Lab / hypso-package

HYPSO Toolbox For Satellite Image Processing
https://ntnu-smallsat-lab.github.io/hypso-package/
MIT License
8 stars 2 forks source link

Problem with destriping water pixels #14

Open jlgarrett opened 3 months ago

jlgarrett commented 3 months ago

Describe the bug The destriping correction used in the hypso package leaves stripes on water areas.

To Reproduce Steps to reproduce the behavior: Unmix _lofoten_2022-07-301023Z-l1a.nc so that the water is separated into multiple components

Expected behavior There should be no straight lines across the entire scene over the water pixels

Screenshots image

Desktop (please complete the following information):

CameronLP commented 2 months ago

The hypso-package is setup to use either destriping_matrix_HYPSO-1_nominal_v1.csv or destriping_matrix_HYPSO-1_wide_v1.csv for destriping coefficients, depending on the size of the capture.

I ran a comparison of the destriping method from the hypso-package with the destriping function get_destriping_correction_matrix() from cal-char-corr and the destriping code from cal-char-corr appears to generate a cleaner output:

Frohavet_2024-05-06_1017Z destriped using the hypso-package csv coefficients: frohavet_2024-05-06_1017Z_rgb_only_csv

Frohavet_2024-05-06_1017Z destriped using the cal-char-corr code: frohavet_2024-05-06_1017Z_rgb_only_computed