GVITM

Summary

Calculates the Green Vegetation Index for Landsat TM (GVITM) from a Landsat TM image and returns a raster object with the index values.

Discussion

The Green Vegetation Index (GVI) was originally designed from Landsat MSS imagery and has been modified for Landsat TM imagery. It's also known as the Landsat TM Tasseled Cap green vegetation index. It can be used with imagery whose bands share the same spectral characteristics.

GVI=-0.2848 * Band1 - 0.2435 * Band2 - 0.5436 * Band3 + 0.7243 * Band4 + 0.084 * Band5 - 1.18 * Band7

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

GVITM (raster, {band1_id}, {band2_id}, {band3_id}, {band4_id}, {band5_id}, {band7_id})
ParameterExplanationData Type
raster

The input raster.

Raster
band1_id

The band index of Band 1 from the Landsat TM image.

The band ID index uses one-based indexing.

(The default value is 1)

Integer
band2_id

The band index of Band 2 from the Landsat TM image.

The band ID index uses one-based indexing.

(The default value is 2)

Integer
band3_id

The band index of Band 3 from the Landsat TM image.

The band ID index uses one-based indexing.

(The default value is 3)

Integer
band4_id

The band index of Band 4 from the Landsat TM image.

The band ID index uses one-based indexing.

(The default value is 4)

Integer
band5_id

The band index of Band 5 from the Landsat TM image.

The band ID index uses one-based indexing.

(The default value is 5)

Integer
band7_id

The band index of Band 7 from the Landsat TM image.

The band ID index uses one-based indexing.

(The default value is 7)

Integer
Return Value
Data TypeExplanation
Raster

The output raster object with the Green Vegetation Index - Landsat TM values.

Code sample

GVITM example

Calculates the Green Vegetation Index - Landsat TM for a Landsat TM image.

import arcpy

GVITM_raster = arcpy.sa.GVITM("LandsatTM.tif", 1, 2, 3, 4, 5, 7)

Related topics