EVI

Summary

Calculates the Enhanced Vegetation Index (EVI) from a multiband raster object and returns a raster object with the index values.

Discussion

The Enhanced Vegetation Index (EVI) is an optimized vegetation index that accounts for atmospheric influences and vegetation background signal. It's similar to NDVI but is less sensitive to background and atmospheric noise, and it does not become as saturated as NDVI when viewing areas with very dense green vegetation.

EVI = 2.5*(NIR - Red) / (NIR + 6*Red - 7.5*Blue + 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

EVI (raster, {nir_band_id}, {red_band_id}, {blue_band_id})
ParameterExplanationData 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 5)

Integer
red_band_id

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

(The default value is 4)

Integer
blue_band_id

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

(The default value is 2)

Integer
Return Value
Data TypeExplanation
Raster

The output raster object with the EVI index values.

Code sample

EVI example

Calculates the Enhanced Vegetation Index for a Landsat 8 image.

import arcpy

EVI_raster = arcpy.sa.EVI("Landsat8.tif", 5, 4, 2)

Related topics