Skip to main content

MTVI2

Summary

Calculates the Modified Triangular Vegetation Index (MTVI2) from a multiband raster object and returns a raster object with the index values.

Discussion

The Modified Triangular Vegetation Index (MTVI2) method is a vegetation index for detecting leaf chlorophyll content at the canopy scale while being relatively insensitive to leaf area index. It uses reflectance in the green, red, and NIR bands.

\(MTVI2 \space = \space 1.5 * (1.2 \space * \space (NIR \space - \space Green) \space - \space 2.5 \space * \space (Red \space - \space Green))√((2 \space * \space NIR \space + \space 1)²-(6 \space * \space NIR \space - \space 5√(Red)) \space - \space 0.5)\)

For information about other multiband raster indexes, see the Band Arithmetic raster function.

The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.

Syntax

MTVI2(raster, {nir_band_id}, {red_band_id}, {green_band_id})

Parameter Explanation Data Type

raster

The input raster.

Raster

nir_band_id

The band ID of the near-infrared band. The ID index uses one-based indexing.

The default value is 7.

Integer

red_band_id

The band ID of the red band. The ID index uses one-based indexing.

The default value is 5.

Integer

green_band_id

The band ID of the green band. The ID index uses one-based indexing.

The default value is 3.

Integer

Return value

Data Type Explanation

Raster

The output raster object with the MTVI2 index values.

Code sample

MTVI2 example

Calculates the Modified Triangular Vegetation Index for a Landsat 8 image.

import arcpy

MTVI2_raster = arcpy.ia.MTVI2("Landsat8.tif", 5, 4, 3)