Skip to main content

ndvi-image

Function: ndvi

Description: The ndvi function returns a floating point image with values between -1 and 1. NDVI is computed with the following band math: (nir1-red)/(nir1+red). All bands are atmospherically corrected for true surface reflectance prior to this computation.

Function Parameters:

nametypedescriptionrequired
collect_identifierstringThe collect ID. See Collect ID descriptiontrue
crsstringThe CRS of the output image. i.e., "UTM", "EPSG:4326" etc... See CRS descriptiontrue

For constructing a valid service url with this function and desired parameters please see our URL Formation doc.


Function: ndvi_dra

Description: The ndvi_dra function performs a dynamic range adjustment on the floating point NDVI image to return an 8-bit grayscale image. NDVI is computed with the following band math: (nir1-red)/(nir1+red). All bands are atmospherically corrected for true surface reflectance prior to this computation.

Function Parameters:

nametypedescriptionrequired
collect_identifierstringThe collect ID. See Collect ID descriptiontrue
crsstringThe CRS of the output image. i.e., "UTM", "EPSG:4326" etc... See CRS descriptiontrue

For constructing a valid service url with this function and desired parameters please see our URL Formation doc.


Function: ndvi_colorized

Description: The ndvi_colorized function performs dynamic range adjustments on the floating point NDVI image to return an 8-bit RGB image. NDVI is computed with the following band math: (nir1-red)/(nir1+red). All bands are atmospherically corrected for true surface reflectance prior to this computation.

Function Parameters:

nametypedescriptionrequired
collect_identifierstringTe collect ID. See Collect ID descriptiontrue
crsstringThe CRS of the output image. i.e., "UTM", "EPSG:4326" etc... See CRS descriptiontrue

For constructing a valid service url with this function and desired parameters please see our URL Formation doc.