Skip to main content

PVI

汇总

计算多波段栅格对象的垂直植被指数 (PVI),并返回具有该指数值的栅格对象。

讨论

“垂直植被指数”(PVI) 方法与差值植被指数类似,但对大气变化的敏感度较高。 使用此方法比较影像时,只可将其用于已进行大气修正的影像。

\(PVI \space = \space (NIR \space - \space a \space * \space Red \space - \space b) \space / \space (√(1 \space + \space a ^{2} ))\)

  • a - 土壤线的坡度

  • b - 土壤线的梯度

此指数的输出值介于 -1.0 和 1.0 之间。

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

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

语法

PVI(raster, {nir_band_id}, {red_band_id}, {a}, {b})

参数 说明 数据类型

raster

The input raster.

Raster

nir_band_id

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

(默认值为 4)

Integer

red_band_id

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

(默认值为 3)

Integer

a

The slope of the soil line.

(默认值为 0.3)

Double

b

The gradient of the soil line.

(默认值为 0.5)

Double

返回值

数据类型 说明

Raster

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

代码示例

PVI 示例

计算 Landsat 8 图像的垂直植被指数。

import arcpy

PVI_raster = arcpy.sa.PVI("Landsat8.tif", 5, 4, 0.3, 0.5)