Skip to main content

RTVICore

汇总

计算多波段栅格对象的红边三角植被指数 (RTVICore),并返回具有该指数值的栅格对象。

讨论

红边三角植被指数 (RTVICore) 方法是用于评估叶面积指数和生物量的植被指数。 该指数使用近红外、红边以及绿光光谱波段中的反射率。

\(RTVICore \space = \space (100 * (NIR \space - \space RedEdge) \space - \space 10 * (NIR \space - \space Green))\)

有关其他多波段栅格索引的信息,请参见 Band Arithmetic 栅格函数。

栅格对象所引用的栅格数据集是临时性的。 要将其设置为永久,可以调用栅格对象的 save 方法。

语法

RTVICore(raster, {nir_band_id}, {redEdge_band_id}, {green_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

green_band_id

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

(默认值为 3)

Integer

返回值

数据类型 说明

Raster

具有 RTVICore 指数值的输出栅格对象。

代码示例

RTVICore 示例

计算 Sentinel-2 影像的红边三角植被指数。

import arcpy

RTVICore_raster = arcpy.sa.RTVICore("Sentinel2.tif",8,5,3)