avi

From DavinciWiki
Jump to: navigation, search

Description

Generates an Angular Vegetation Index map

Arguments and Return Values

Arguments: 1- or 2-dimensional greyscale images representing near-infrared, red, and green spectral bands (all three are required), and optionally the mid-band wavelengths for the component images.

Return Value: A float greyscale image

Usage

Syntax: avi(nir, red, green [, mwnir = VAL] [, mwred = VAL] [, mwgreen = VAL])

The optional mwnir, mwred, and mwgreen parameters refer to the mid-band wavelengths of the component images. If not specified, they default to 825.0, 660.0, and 565.0 (the peak wavelengths of the corresponding LandSat 7 bands) respectively.

This function is part of the larger class of vegetation-index methods used in satellite image-processing. See ndi or this discussion of related functions for more detailed information.

AVI is of the subtype which will return both positive and negative values. Positive values generally indicate the presence of vegetation (with greater values indicating healthier vegetation). Negative values generally indicate a lack of vegetation (water, rock, soil, etc.).

The formula used is:

AVI = arctan(((mwNIR - mwRed)/mwRed) * (1 / NIR - Red)) + arctan(((mwRed - mwGreen)/mwRed) * (1 / Green - Red))

Because the mid-band wavelength values are all used in the formula as ratios, the units used to represent them are irrelevant as long as the same unit is used for all three.

This formula was obtained from "Bilko Mini-Lesson 8: Vegetation Indices".

Examples

dv> nir
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> r
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> g
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> result = avi(nir, r, g)
Generating an Angular Vegetation Index image.
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> max(result)
3.098669767

dv> min(result)
-3.098669767

Images

Full set of LandSat 7 imagery:

NYC-Band Comparison.PNG

Output of avi():

Vegetation Index-NYC-AVI.PNG

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Recent Library Changes

Created On: 07-16-2012
Modified On: 05-02-2013

Personal tools