Skip to main content

TSAVI

汇总

计算多波段栅格对象的转换的土壤调节植被指数 (TSAVI),并返回具有该指数值的栅格对象。

讨论

“转换型土壤调节植被指数”(TSAVI) 方法是通过假设土壤线具有任意斜率和截距来最小化土壤亮度影响的植被指数。

\(TSAVI \space = \space (s \space * (NIR \space - \space s \space * \space Red \space - \space a)) \space / \space (a \space * \space NIR \space + \space Red \space - \space a \space * \space s \space + \space X \space * \space (1 \space + \space s ^{2} ))\)

  • NIR = 近红外波段的像素值

  • Red = 红光波段的像素值

  • s = 土壤线的坡度

  • a = 土壤线的截距

  • X = 用于最大限度降低土壤噪声的调整因子

通过以空格分隔的列表,您将按以下顺序识别 NIR 和红光波段并输入 s、a 和 X 值:NIR Red s a X。 例如, 3 1 0.33 0.50 1.50

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

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

语法

TSAVI(raster, {nir_band_id}, {red_band_id}, {s}, {a}, {X})

参数 说明 数据类型

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

s

The slope of the soil line.

(默认值为 0.33)

Double

a

The soil line intercept.

(默认值为 0.5)

Double

X

The adjustment factor that is set to minimize soil noise.

(默认值为 1.5)

Double

返回值

数据类型 说明

Raster

具有 TSAVI 值的输出栅格。

代码示例

PVI 示例

计算 Landsat 8 影像的转换的土壤调节植被指数。

import arcpy

TSAVI_raster = arcpy.sa.TSAVI("Landsat8.tif",5,4,0.33,0.5,1.5)