GVITM

Resumen

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

Debate

El método Índice de vegetación verde (GVI, por sus siglas en inglés) se diseñó originalmente desde las imágenes de Landsat MSS y se modificó para las imágenes de Landsat TM. También se denomina índice de vegetación verde Landsat TM Tasseled Cap. Se puede utilizar con las imágenes cuyas bandas comparten las mismas características espectrales.

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.

Sintaxis

GVITM (raster, {band1_id}, {band2_id}, {band3_id}, {band4_id}, {band5_id}, {band7_id})
ParámetroExplicaciónTipo de datos
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.

(El valor predeterminado es 1)

Integer
band2_id

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

The band ID index uses one-based indexing.

(El valor predeterminado es 2)

Integer
band3_id

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

The band ID index uses one-based indexing.

(El valor predeterminado es 3)

Integer
band4_id

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

The band ID index uses one-based indexing.

(El valor predeterminado es 4)

Integer
band5_id

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

The band ID index uses one-based indexing.

(El valor predeterminado es 5)

Integer
band7_id

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

The band ID index uses one-based indexing.

(El valor predeterminado es 7)

Integer
Valor de retorno
Tipo de datosExplicación
Raster

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

Muestra de código

GVITM example

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

import arcpy

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