EVI
汇总
计算多波段栅格对象的增强型植被指数 (EVI),并返回具有该指数值的栅格对象。
讨论
增强型植被指数 (EVI) 方法是一个经过优化的植被指数,可以解释大气影响和植被背景信号。 它类似于 NDVI,但是对于背景和大气噪音不是很敏感,在查看绿色植被非常密集的区域时,颜色也不如 NDVI 那么深。
\(EVI \space = \space 2.5 * (NIR \space - \space Red) \space / \space (NIR \space + \space 6 * Red \space - \space 7.5 * Blue \space + \space 1)\)
有关其他多波段栅格索引的信息,请参见 Band Arithmetic 栅格函数。
栅格对象所引用的栅格数据集是临时性的。 要将其设置为永久,可以调用栅格对象的 save 方法。
语法
EVI(raster, {nir_band_id}, {red_band_id}, {blue_band_id})
| 参数 | 说明 | 数据类型 |
|---|---|---|
|
raster |
The input raster. |
Raster |
|
nir_band_id |
The band ID of the near-infrared band. The ID index uses one-based indexing. (默认值为 5) |
Integer |
|
red_band_id |
The band ID of the red band. The ID index uses one-based indexing. (默认值为 4) |
Integer |
|
blue_band_id |
The band ID of the blue band. The ID index uses one-based indexing. (默认值为 2) |
Integer |
返回值
| 数据类型 | 说明 |
|---|---|
|
Raster |
具有 EVI 指数值的输出栅格对象。 |
代码示例
计算 Landsat 8 影像的增强型植被指数。
import arcpy
EVI_raster = arcpy.sa.EVI("Landsat8.tif", 5, 4, 2)