-
Notifications
You must be signed in to change notification settings - Fork 71
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
Reproduction of results #42
Comments
Hello,
no
yes, you are correct, all have been downsampled before. |
#How did you perform this? Have you tried this function: ` data360 = downPixelAggr(data60_gt, SCALE=6)
|
I don't see anything abnormal in the snippet you shared. |
Hello,
I started playing with the models you provided for Super-Resolution, first trying to reproduce the results from the article Super-resolution of Sentinel-2 images: Learning a globally applicable deep neural
network about the method.
The approach is the following : I took 4 images of size (110 `km)^2 directly from the testing set shared in the git repository (
London : S2A_MSIL1C_20170522T110621_N0205_R137_T30UXC_20170522T110912
El Salvador : S2A_MSIL1C_20170419T155901_N0204_R097_T16PEU_20170419T161354
Japan City : S2A_MSIL1C_20170216T015741_N0204_R060_T52SFB_20170216T015924
NZ mountains : S2A_MSIL1C_20170616T223701_N0205_R072_T59GLL_20170616T223702 )
For the T_{2x} model, I downsampled the 10 and 20m GDS bands (A and B bands) to respectively 20 and 40m GSD, and then I applied the DSen2_20 function in your code to these (which corresponds to the inference with the trained model) to get the B bands super resoluted. Then, I computed the band wise root mean squared error between the super resoluted (20m GSD) B bands and the Ground truth 20m GSD B bands. I did the analog for the S_{6x} model, as described in the paper.
As a result, I obtained this : (in orange : the RMSE for Bicubic and in blue, the RMSE for DSen2)
.The DSen2 model performs slightly better than the bicubic interpolation (at best 1.1 lower RMSE than Bicubic). My problem is that I cannot get the same results as in the paper (3 to 4 times lower RMSE than Bicubic).
Is there something I missed in the pipeline ?
Also, in the Demo code, you compare the super-resoluted B bands with a ground truth called imGT. Is it a 10m GSD ground truth (in that case, is there a specific way to get this resolution ground truth for the B bands ?), or all the input images (im10 and im20) have been downsampled before ?
The text was updated successfully, but these errors were encountered: