CIre
汇总
计算多波段栅格对象的叶绿素指数 - 红边 (CIre),并返回具有该指数值的栅格对象。
讨论
叶绿素指数 - 红边 (CIre) 方法是一种植被指数,利用 NIR 和红边波段的反射率比率来评估叶片中的叶绿素含量。
\(Clre \space = \space ((NIR \space / \space RedEdge) \space - \space 1)\)
有关其他多波段栅格索引的信息,请参见 Band Arithmetic 栅格函数。
栅格对象所引用的栅格数据集是临时性的。 要将其设置为永久,可以调用栅格对象的 save 方法。
语法
CIre(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 band. The ID index uses one-based indexing. (默认值为 6) |
Integer |
返回值
| 数据类型 | 说明 |
|---|---|
|
Raster |
具有 CIre 指数值的输出栅格对象。 |
代码示例
CIre 示例
计算 Sentinel-2 图像的叶绿素指数 - 红边。
import arcpy
CIre_raster = arcpy.sa.CIre("Sentinel2.tif", 8, 5)