Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessing steps for permanent water #16

Open
edornd opened this issue Sep 11, 2023 · 0 comments
Open

Preprocessing steps for permanent water #16

edornd opened this issue Sep 11, 2023 · 0 comments

Comments

@edornd
Copy link

edornd commented Sep 11, 2023

Hi, first off, thank you for this resource!

I was testing both flood and permanent water segmentation, and I noticed that the Sentinel-1 images have two slightly different formats: I believe that Flood and Weakly have the same logarithmic scale, while the JRC perm_water subset has been normalized between 0 and 1

flood range: [-60.44136, 36.832024]
water range: [0.0, 1.0]
weak  range: [-70.71592, 39.25037]

Plotting them it looks like a very "low contrast" image: I'm obtaining close results by applying np.clip(10 ** (img_flood / 50), 0, 1) to the flood ones, however I can't find the exact transformation that you applied there.
Where can I find more info about that? Apologies if it's already documented somewhere, I couldn't find anything on this regard.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant