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

Landsat 1-5 MSS False Color Ultra Red Composite

//VERSION=3

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

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

Evaluate and Visualize

General description of the script

This is a simple RGB composite with NIR band B03 (700 - 800 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 heavily reflects NIR light while absorbing red. It is commonly used to distinguish between land and water. Vegetation appears red, cities and exposed ground are grey or tan, and water appears blue or black.

Description of representative images

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

References

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