NDVIre
汇总
计算多波段栅格对象的红边归一化差值植被指数 (NDVIre),并返回具有该指数值的栅格对象。
讨论
红边 NDVI (NDVIre) 方法是一种植被指数,利用红边波段来评估植被健康状况。 在叶绿素浓度相对较高的生长中后期,该指数对于评估作物健康状况尤其有用。 此外,NDVIre 可用于绘制田间叶氮变异,以了解作物的肥料需求。
\(NDVIre \space = \space (NIR \space - \space RedEdge)/(NIR \space + \space RedEdge)\)
有关其他多波段栅格索引的信息,请参见 Band Arithmetic 栅格函数。
栅格对象所引用的栅格数据集是临时性的。 要将其设置为永久,可以调用栅格对象的 save 方法。
语法
NDVIre(raster, {nir_band_id}, {redEdge_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. (默认值为 7) |
Integer |
|
redEdge_band_id |
The band ID of the red-edge band. The band ID index uses one-based indexing. (默认值为 6) |
Integer |
返回值
| 数据类型 | 说明 |
|---|---|
|
Raster |
具有 NDVIre 指数值的输出栅格对象。 |
代码示例
NDVIre 示例
计算 Sentinel-2 图像的红边归一化差植被指数。
import arcpy
NDVIre_raster = arcpy.sa.NDVIre("Landsat8.tif", 5, 6)