Comments (4)
For stretch take a look at this:
https://www.sentinel-hub.com/faq/how-manually-configure-stretch-images
Gain is a simple multiplier, e.g:
var gain = 2.5
return [gainB04,gainB03, gain*B02];
You will have to integrate these two in your script and then adjust factors based on what user selects on the slider.
from custom-scripts.
Thank you for answer.
How about Luminance (gamma) ?
Also, this would work easily when the user is viewing the custom product they made with the custom tool (the products that are already using the EVALSCRIPT parameter)
But how about the products that are already defined in Sentinel Hub 2 (for example NDVI), do we necessarily have to overwrite their predefined script with the EVALSCRIPT parameter to adjust Gamma and Gain ?
from custom-scripts.
Check these links as well for gamma :
https://www.sentinel-hub.com/faq/which-functions-can-be-used-custom-script
https://www.sentinel-hub.com/faq/how-configure-visualization-so-it-reflects-old-styles
And yes, you will have to modify predefined script for NDVI and alikes if you want to "inject" these settings.
from custom-scripts.
Okay, understood. Thanks for the clarification.
from custom-scripts.
Related Issues (20)
- ARVI formula says NIR, so shouldn't use B08? HOT 3
- NDVI MAX, does it work? HOT 4
- How to run these scripts HOT 1
- custom-scripts/sentinel-1/sar_false_color_visualization HOT 6
- How to calculate NDVI from Sentinel-2 to any AOI with coordinates based on python API HOT 1
- Why is the LAI output divided by 3 HOT 2
- help implementing an Idea: custom code for NDVI Change Ratio to Previous Month HOT 4
- B12 of Observation outlier detector HOT 2
- V variable ? HOT 1
- Question about data fusion HOT 3
- Question about directly using LAI calculation codes in GEE
- Can anyone help me to isolate any of the indicators one by one? Se2WaQ HOT 1
- Broken link
- Custom script not working in Playground
- Text in geology composite wrong
- Broken datafusion script HOT 2
- Add breadcrumbs to script pages HOT 3
- Chlorophyll Red-Edge on Sentinel Hub - correct equation HOT 3
- Multi-temporal Data isuue HOT 2
- Sentinel-2 indices might be invalid HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custom-scripts.