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
Hi, I'm trying to reproduce your aster_3x3_proper_gamma code in Python with rasterio and numpy. I'm wondering, is there a scaling of bands 2/3/4 (values 0-10000) applied before running your code? I don't know how it works in Sentinel Hub, e.g. if the band values have been scaled to 0-256 or something like that.
The text was updated successfully, but these errors were encountered:
Hi, Sentinel-Hub scripts get TOA reflectance as input into variables B04, B03, B02 — if you're working with DNs, you should divide them by 10000 to get approx. range 0-1 (in exceptional cases it could go up to 6.5534).
The script is linear in input reflectances up to the point of final conversion to RGB, though, so you can adjust the gain factor to get an brighter or darker image (default is 2.5).
Hi, I'm trying to reproduce your aster_3x3_proper_gamma code in Python with rasterio and numpy. I'm wondering, is there a scaling of bands 2/3/4 (values 0-10000) applied before running your code? I don't know how it works in Sentinel Hub, e.g. if the band values have been scaled to 0-256 or something like that.
The text was updated successfully, but these errors were encountered: