SAVI
汇总
计算多波段栅格对象的土壤调节植被指数 (SAVI),并返回具有该指数值的栅格对象。
讨论
“调节土壤的植被指数”(SAVI) 方法是试图通过土壤亮度校正系数最小化土壤亮度影响的植被指数。 它通常用在植被覆盖率较低的干旱区域,其输出值在 -1.0 到 1.0 之间。
\(SAVI \space = \space ((NIR \space - \space Red)/(NIR \space + \space Red \space + \space L)) \space * \space (1 \space + \space L)\)
- 绿色植被覆盖量。 例如,0.5。
有关其他多波段栅格索引的信息,请参见 Band Arithmetic 栅格函数。
栅格对象所引用的栅格数据集是临时性的。 要将其设置为永久,可以调用栅格对象的 save 方法。
语法
SAVI(raster, {nir_band_id}, {red_band_id}, {l})
| 参数 | 说明 | 数据类型 |
|---|---|---|
|
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 |
|
red_band_id |
The band ID of the red-edge band. The band ID index uses one-based indexing. (默认值为 6) |
Integer |
|
l |
The amount of green vegetative cover. (默认值为 0.33) |
Double |
返回值
| 数据类型 | 说明 |
|---|---|
|
Raster |
具有 SAVI 指数值的输出栅格。 |
代码示例
SAVI 示例
计算 Landsat 8 影像的土壤调节植被指数。
import arcpy
SAVI_raster = arcpy.sa.SAVI("Landsat8.tif",5,4,0.5)