摘要
计算多波段栅格对象的燃烧面积指数 (BAI),并返回具有该指数值的栅格对象。
说明
燃烧面积指数 (BAI) 使用光谱中红光和 NIR 部分的反射率值来识别受火灾影响的地形面积。
BAI = 1/((0.1 -RED)^2 + (0.06 - NIR)^2)
- Red = 红光波段的像素值
- NIR = 近红外波段的像素值
有关其他多波段栅格索引的信息,请参见 Band Arithmetic 栅格函数。
栅格对象所引用的栅格数据集是临时性的。 要将其设置为永久,可以调用栅格对象的 save 方法。
语法
BAI (raster, {red_band_id}, {nir_band_id})
参数 | 说明 | 数据类型 |
raster | The input raster. | Raster |
red_band_id | The band ID of the red band. The ID index uses one-based indexing. (默认值为 3) | Integer |
nir_band_id | The band ID of the near-infrared band. The ID index uses one-based indexing. (默认值为 4) | Integer |
数据类型 | 说明 |
Raster | 具有 BAI 值的输出栅格对象。 |