GVITM
サマリー
Calculates the Green Vegetation Index for Landsat TM (GVITM) from a Landsat TM image and returns a raster object with the index values.
ディスカッション
The Green Vegetation Index (GVI) method 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 \space * \space Band1 \space - \space 0.2435 \space * \space Band2 \space - \space 0.5436 \space * \space Band3 \space + \space 0.7243 \space * \space Band4 \space + \space 0.084 \space * \space Band5 \space - \space 1.18 \space * \space 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.
構文
GVITM(raster, {band1_id}, {band2_id}, {band3_id}, {band4_id}, {band5_id}, {band7_id})
| パラメーター | 説明 | データ タイプ |
|---|---|---|
|
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 |
戻り値
| データ タイプ | 説明 |
|---|---|
|
Raster |
The output raster object with the Green Vegetation Index - Landsat TM values. |
コードのサンプル
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)