allenai / allenai/satlas-super-resolution

inference over sea water

Ouverte
#46 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
347
Forks
51
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi,
Thank you for your great job and making all the satlas project open source.
We are not able to produce super resolution images with the same quality as you display in https://satlas.allen.ai/map and would be happy to have your support.

We use 8 sentinel2 L1C images, wrapped to 9.555m resolution + bilinear. We use the "esrgan_20m.pth" pretrained weights, 9 bands ["TCI", "B08", "B05", "B06", "B07", "B11", "B12" ]. For the non TCI bands, colors are converted from UInt16 to [0-255] range deviding by 8160 and clipping to [0 - 255].
We generate TIF tiles 32x256 pixels / 9 bands to provide to "infer.py" or "infer_grid.py" (modified to open tif instead of PNG).
The generated super resolution is good on land. We have noted the generated roof tops are often more red than in your web map. But on sea, the generated images have almost no sea colors transparency, sea bottom is generally not visible, at the opposite on you web map. We have tried to replace TCI bands by B04 B03 B02 without success.

Can you describe in details how you generate the png tiles from the JP2 sentinel2 sources.
A kind of unit test example would be helpful : you provide the 8 sentinel2 source images, the script to reproject (it is already on the github) and the reprojected images, the script to generate some PNG tiles and the reprojected images, then the generated super resolution images. Like that we would be able to understand if we are able to produce exactly same results and find any error in our script. The example must cover sea water, with water transparency.

Below image from satlas.allen.ai/map
![image](https://github.com/user-attachments/assets/12a9c168-bb5c-45c8-a6a9-602969477992)

Below our generated image. Dredged channel is not visible.
![image](https://github.com/user-attachments/assets/de9a0f7e-2992-488e-b200-a32105b73215)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.