Landsat 8 True Color

//VERSION=3

let minVal = 0.0;
let maxVal = 0.4;

let viz = new DefaultVisualizer(minVal, maxVal);

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

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

Evaluate and visualize

Description

Landsat 8 true color composite uses visible light bands red (B04), green (B03) and blue (B02) in the corresponding red, green and blue color channels, resulting in a natural colored product, that is a good representation of the Earth as humans would see it naturally.

Description of representative images

True color image of Rome. Acquired on 2020-07-30, processed by Sentinel Hub.

L8 NDVI

References