Resumen
Calculates the Simple Ratio (SR) from a multiband raster object and returns a raster object with the index values.
Debate
El método Ratio simple (SR, por sus siglas en inglés) es un índice de vegetación común empleado para realizar estimaciones de la cantidad de vegetación. Se trata de ratio de luz difundida en la banda NIR y absorbida en la banda roja, lo que reduce los efectos de la atmósfera y la topografía.
Values are high for vegetation with a large leaf area index, or high canopy closure, and low for soil, water, and nonvegetated features. The range of values is from 0 to approximately 30, where healthy vegetation generally falls between values of 2 and 8.
SR = NIR / Red
For information about other multiband raster indexes, see the Band Arithmetic raster function.
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
Sintaxis
SR (raster, {nir_band_id}, {red_band_id})
Parámetro | Explicación | Tipo de datos |
raster | The input raster. | Raster |
nir_band_id | The band ID of the near-infrared band. The ID index uses one-based indexing. (El valor predeterminado es 5) | Integer |
red_band_id | The band ID of the red band. The ID index uses one-based indexing. (El valor predeterminado es 4) | Integer |
Tipo de datos | Explicación |
Raster | The output raster with SR values. |
Muestra de código
Calculates the Simple Ratio for a multispectral image.
import arcpy
SR_raster = arcpy.ia.SR("MSimage.tif",5,4)