Add Enhanced RGB ratio visualization (Sentinel-1) - #371
Open
azlinszkysinergise wants to merge 4 commits into
Open
Add Enhanced RGB ratio visualization (Sentinel-1)#371azlinszkysinergise wants to merge 4 commits into
azlinszkysinergise wants to merge 4 commits into
Conversation
New sentinel-1/enhanced_rgb_ratio script: adapts the classic S1 RGB-ratio composite (R=VV, G=VH, B=VH/VV) with a Reinhard tone-mapping curve that lifts the mid-range and compresses highlights, so dense cities keep their internal structure instead of clipping to white and vegetation reads clearly green. Includes a compact/minified variant for shareable Browser links, a README with a transfer-function comparison graphic, and the sentinel-1.md index line. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sentinel-1 acquires HH+HV rather than VV+VH over the poles and much of the open ocean, and a band name in setup() cannot be chosen per scene, so DH data needs its own evalscript. Adds dh_monthly.js as a third tab, documents it in the README, and updates the example to the Munich scene shown in fig1. Also tidies script.js: plain array input form, saturate() parameter no longer shadows the sample name, and the invalid-pixel comment now matches the code (no data is transparent, degenerate backscatter is black, as in the standard RGB-ratio composite).
…ings Adds an IW HH+HV example and a DH monthly mosaic example, both over the Canadian Arctic. Neither token was in cdse_lookup, so S1_AWS_IW_HHHV and S1_MOSAIC_DH are added to _layouts/script.html - without them the Copernicus Browser links resolve to an empty dataset id. Renames dh_monthly.js to dh.js, since the script suits IW and EW HH+HV acquisitions as well as the DH mosaics.
EO Browser is discontinued in favour of Copernicus Browser, so the remaining EOB platform entry is removed and the example is CDSE-only. The tone curve is described as scaled rather than extended, matching the script comments: the textbook extended Reinhard operator is a different formula.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New sentinel-1/enhanced_rgb_ratio script: adapts the classic S1 RGB-ratio composite (R=VV, G=VH, B=VH/VV) with a Reinhard tone-mapping curve that lifts the mid-range and compresses highlights, so dense cities keep their internal structure instead of clipping to white and vegetation reads clearly green. Includes a compact/minified variant for shareable Browser links, a README with a transfer-function comparison graphic, and the sentinel-1.md index line.
Created by claude ,promted/checked/developed by @azlinszkysinergise