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

Issues with the cloud masks #1

Open
mauropk opened this issue Apr 23, 2024 · 1 comment
Open

Issues with the cloud masks #1

mauropk opened this issue Apr 23, 2024 · 1 comment

Comments

@mauropk
Copy link

mauropk commented Apr 23, 2024

I have downloaded the training data at the link that you provide in the readme. However the images in the cloud mask folders do not seem to correspond to actual clouds in the satellite images. Each cloud_mask image contains a "blob" in the middle of the image, even when the corresponding RGB or NIR image does not contain any cloud. Are the correct cloud masks stored anywhere?

@andrzejmizera
Copy link
Owner

Dear Mauropk,

the clouded RGB images are synthetically generated as described in the "Cloud Removal from Satellite Imagery using Multispectral Edge-filtered Conditional Generative Adversarial Networks" paper and shown in Figure 1 of this publication. The cloud_mask image is combined with a real cloud image and independently fused with a cloud-free RGB image and its corresponding NIR image to generate a training sample consisting of a pair of clouded NIR and RGB images. The implementation of the syntheses can be found in the get_example() method of the NIRRGB2RGBCLOUD_SYNTHETIC class in the MEcGANs/data.py file (lines 126-158).

Best regards,
Andrzej

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

2 participants