False Color, Analysis Ready Planetscope

//VERSION=3

function setup() {
  return {
    input: ["nir", "green", "blue", "dataMask"],
    output: { bands: 4 }
  };
}

function evaluatePixel(sample) {
  return [sample.nir / 3000, sample.green / 3000, sample.blue / 3000, sample.dataMask];
}

Evaluate and Visualize

The example data is using Planet Sandox data. This data is restricted to Sentinel Hub users with active paid plans. If you are already a Planet Customer, see here on how to get access.

General description

The False color infrared composite maps near-infrared spectral band nir with red and green bands to sRGB components directly. It is most commonly used to assess plant density and health, as plants reflect near infrared and green light, while absorbing red. Since they reflect more near infrared than green, plant-covered land appears deep red. Denser plant growth is darker red. Cities and exposed ground are gray or tan, and water appears blue or black.

Description of representative image

A visualization of Des Moines, United States in false color (April 2023)

False Color of Des Moines