You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, to capture the full depth of the S2-Sensors, the images must be saved to uint16.tifs. I suspect the authors did not do this because rasterio doesn't seem to work with uint16 and compression='JPEG'. Changing the compression to 'None' seems to fix the problem.
The bands can then be concatenated to form the RGB image, and can be plotted in a way that they look as intended (after histogram normalization of all 3 bands at once):
hi Pau @prlz77 and Oscar @oscmansan,
Thanks for your work. We were downloading the data with
seco_downloader.py
but noticed a certain 4 or 8-pixel block structure in the images.Looking over the source code, I can't find a concrete reason.
Could it be connected to the getInfo line https://github.com/ElementAI/seasonal-contrast/blob/5395c027922569f5c5b1785ad1ccddd839749c36/datasets/seco_downloader.py#L175
where (maybe) only an approximated representation of the images is returned?
The text was updated successfully, but these errors were encountered: