Main Content

iarr

应用内部平均相对反射率(IARR)correction to hyperspectral data cube

    Description

    example

    correctedData= iarr(inputData)applies IARR based correction to the hyperspectral datainputData. The IARR method computes the mean spectrum from the entire hyperspectral dataset, then divides the spectrum of each pixel by the mean spectrum.

    Note

    This function requires theImage Processing Toolbox™ Hyperspectral Imaging Library. You can install theImage Processing Toolbox Hyperspectral Imaging Libraryfrom Add-On Explorer. For more information about installing add-ons, seeGet and Manage Add-Ons.

    Examples

    collapse all

    Read hyperspectral data into the workspace. This data is from the EO-1 Hyperion sensor, with pixel values in digital numbers.

    hcube = hypercube('EO1H0440342002212110PY_cropped.hdr');

    Convert the digital numbers to top of atmosphere (TOA) reflectance values.

    hcube_toa = dn2reflectance(hcube);

    Apply IARR correction to the reflectance data.

    hcube_iarr = iarr(hcube_toa);

    Input Arguments

    collapse all

    Input hyperspectral data, specified as one of these options:

    • hypercubeobject — TheDataCubeproperty of thehypercubeobject stores the hyperspectral data cube.

    • M-by-N-by-Cnumeric array —MandNare the number of rows and columns of pixels in the hyperspectral data, respectively.Cis the number of spectral bands in the hyperspectral data.

    The input pixel values can be digital numbers, TOA radiance values, or TOA reflectance values. To convert a hypercube containing digital numbers to a hypercube containing TOA radiance or TOA reflectance data, use thedn2radianceordn2reflectancefunction, respectively.

    Output Arguments

    collapse all

    Corrected hyperspectral data, returned as ahypercubeobject orM-by-N-by-Cnumeric array consistent with the input data,inputData. If the input data ininputDatais of data typedouble, then the corrected data is also of data typedouble. Otherwise, the corrected data is of data typesingle.

    References

    [1] Kruse, Fred A. “Use of Airborne Imaging Spectrometer Data to Map Minerals Associated with Hydrothermally Altered Rocks in the Northern Grapevine Mountains, Nevada, and California.”Remote Sensing of Environment24, no. 1 (February 1988): 31–51. https://doi.org/10.1016/0034-4257(88)90004-1.

    Version History

    Introduced in R2020b