Summary
Calculates the Green Chlorophyll Index (CIg) from a multiband raster object and returns a raster object with the index values.
Discussion
The Chlorophyll Index - Green (CIg) is a vegetation index for estimating the chlorophyll content in leaves using the ratio of reflectivity in the near-infrared (NIR) and green bands.
CIg = (NIR / Green)-1
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
CIg (raster, {nir_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 |
green_band_id | The band ID of the green band. The ID index uses one-based indexing. (The default value is 3) | Integer |
Data Type | Explanation |
Raster | The output raster object with the CIg index values. |
Code sample
Calculates the Chlorophyll Index - Green for a Landsat 8 image.
import arcpy
CIg_raster = arcpy.ia.CIg("Landsat8.tif", 5, 3)