RadiometricIndices¶
Compute radiometric indices.
Description¶
This application computes radiometric indices using the relevant channels of the input image. The output is a multi band image into which each channel is one of the selected indices.
Parameters¶
Input Image -in image
Mandatory
Input image
Output Image -out image [dtype]
Mandatory
Radiometric indices output image
Channels selection¶
Channels selection
Blue Channel -channels.blue int
Default value: 1
Blue channel index
Green Channel -channels.green int
Default value: 1
Green channel index
Red Channel -channels.red int
Default value: 1
Red channel index
NIR Channel -channels.nir int
Default value: 1
NIR channel index
Mir Channel -channels.mir int
Default value: 1
Mir channel index
Available Radiometric Indices -list string1 string2...
Default value: ndvi
List of available radiometric indices with their relevant channels in brackets:
Vegetation:NDVI - Normalized difference vegetation index (Red, NIR)
Vegetation:TNDVI - Transformed normalized difference vegetation index (Red, NIR)
Vegetation:RVI - Ratio vegetation index (Red, NIR)
Vegetation:SAVI - Soil adjusted vegetation index (Red, NIR)
Vegetation:TSAVI - Transformed soil adjusted vegetation index (Red, NIR)
Vegetation:MSAVI - Modified soil adjusted vegetation index (Red, NIR)
Vegetation:MSAVI2 - Modified soil adjusted vegetation index 2 (Red, NIR)
Vegetation:GEMI - Global environment monitoring index (Red, NIR)
Vegetation:IPVI - Infrared percentage vegetation index (Red, NIR)
Vegetation:LAIFromNDVILog - Leaf Area Index from log NDVI (Red, NIR)
Vegetation::LAIFromReflLinear - Leaf Area Index from reflectances with linear combination (Red, NIR)
Vegetation::LAIFromNDVIFormo - Leaf Area Index from Formosat 2 TOC (Red, NIR)
Water:NDWI - Normalized difference water index (Gao 1996) (NIR, MIR)
Water:NDWI2 - Normalized difference water index (Mc Feeters 1996) (Green, NIR)
Water:MNDWI - Modified normalized difference water index (Xu 2006) (Green, MIR)
Water:NDTI - Normalized difference turbidity index (Lacaux et al.) (Red, Green)
Soil:RI - Redness index (Red, Green)
Soil:CI - Color index (Red, Green)
Soil:BI - Brightness index (Red, Green)
Soil:BI2 - Brightness index 2 (NIR, Red, Green)
BuiltUp:ISU - Built Surfaces Index (NIR,Red)
Available RAM (MB) -ram int
Default value: 256
Available memory for processing (in MB).
Examples¶
From the command-line:
otbcli_RadiometricIndices -in qb_RoadExtract.tif -list Vegetation:NDVI Vegetation:RVI Vegetation:IPVI -out RadiometricIndicesImage.tif
From Python:
import otbApplication
app = otbApplication.Registry.CreateApplication("RadiometricIndices")
app.SetParameterString("in", "qb_RoadExtract.tif")
app.SetParameterStringList("list", ['Vegetation:NDVI', 'Vegetation:RVI', 'Vegetation:IPVI'])
app.SetParameterString("out", "RadiometricIndicesImage.tif")
app.ExecuteAndWriteOutput()