You can use Custom scripts and type in-the code along the following lines:
function stretch(val, min, max) {
return (val-min)/(max-min);
}
return [
stretch(B04, 0.05, 0.5),
stretch(B03, 0.05, 0.5),
stretch(B02, 0.05, 0.5)]
You can use Custom scripts and type in-the code along the following lines:
function stretch(val, min, max) {
return (val-min)/(max-min);
}
return [
stretch(B04, 0.05, 0.5),
stretch(B03, 0.05, 0.5),
stretch(B02, 0.05, 0.5)]
Comments
Article is closed for comments.