Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Landsat 1-5 MSS False Color Near Infrared Composite

//VERSION=3

function evaluatePixel(samples) {
    return val = [2.5*samples.B04, 
                  2.5*samples.B02, 
                  2.5*samples.B01, 
                  samples.dataMask];
}

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

Evaluate and Visualize

General description of the script

This is a simple RGB composite with NIR band B04 (800 - 1100 nm) in the red channel, red band B02 in the green channel and green band B01 in the blue channel. The script is useful for plant density and health monitoring, as vegetation (displayed in red) heavily reflects NIR light while absorbing red. The band 4 also penetrates atmospheric haze, and distinguishes between land and water. Cities and exposed ground are grey or tan, and water appears blue or black.

Description of representative images

The False Color NIR Composite in northern Tunisia. Acquired on 1987-10-15. The script example 1

References

[4] LANDSAT 5 (MSS) IMAGERY. Earth Observation System