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

TCI - Saturation level #9

Closed
DDRASL opened this issue Apr 17, 2020 · 1 comment
Closed

TCI - Saturation level #9

DDRASL opened this issue Apr 17, 2020 · 1 comment

Comments

@DDRASL
Copy link

DDRASL commented Apr 17, 2020

Hello,

I noticed a difference between the True Color image that I can see in your EOBrowser versus the TCI file that I download from Copernicus Open Access Hub, for Sentinel-2 products (example below is for 2A).
For instance, if we take a look at Madrid's airport with a Sentinel-2 L2A True Color image taken on January 4, 2020:

A striking difference between the two images is the difference in saturation level.
Notice, for instance, how the bottom part of the TCI image from Copernicus OAH is much brighter than on the EOBrowser.

Hence, the question is twofold: Do you apply another post-processing step on TCI image from ESA ? If yes, can you provide more details about this post-processing step?

Thank for your support

@sinergise-anze
Copy link
Collaborator

If you check the web browser console ("Network" tab), you should be able to inspect the scripts that we are using to render the images for this layer.

In this case the evalscript parameter is:

//VERSION=3
let minVal = 0.0;
let maxVal = 0.4;

let viz = new HighlightCompressVisualizer(minVal, maxVal);

function setup() {
   return {
    input: ["B04", "B03", "B02","dataMask"],
    output: { bands: 4 }
  };
}

function evaluatePixel(samples) {
    let val = [samples.B04, samples.B03, samples.B02,samples.dataMask];
    return viz.processList(val);
}

You can find more information about HighlightCompressVisualizer here and here.

However this is not really an issue about EO browser itself, it has more to do with Sentinel Hub. If you need a more detailed answer, I would kindly ask you to post this question to our forum where it will benefit a wider community (you are also more likely to get a better answer there). Thank you!

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