Landsat 4-5 TM True Color

//VERSION=3

let minVal = 0.0;
let maxVal = 0.4;

let viz = new DefaultVisualizer(minVal, maxVal);

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

function setup() {
  return {
    input: [{
      bands: [
        "B01",
        "B02",
        "B03",
        "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 2011-11-11, processed by Sentinel Hub.

L8 NDVI

References