empiricalLine
Description
performs empirical line calibration of the hyperspectral data, newhcube
= empiricalLine(hcube
,imgSpectra
,fieldSpectra
,fieldWL
)hcube
.
The function calculates empirical line factors to force the image spectral data,
imgSpectra
, to match the field reflectance spectra,
fieldSpectra
, with wavelengths fieldWL
. For more
information, see Algorithms.
Note
This function requires the Hyperspectral Imaging Library for Image Processing Toolbox™. You can install the Hyperspectral Imaging Library for Image Processing Toolbox from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
The Hyperspectral Imaging Library for Image Processing Toolbox requires desktop MATLAB®, as MATLAB Online™ or MATLAB Mobile™ do not support the library.
Examples
Input Arguments
Output Arguments
Algorithms
The empiricalLine
function performs linear regression for each band to
equate the digital number (DN), or TOA radiance or TOA reflectance, with the surface
reflectance. Solving the linear regression equation provides gain and offset values for each
band. This equation shows how the empirical line factors gain and offset values are calculated:
The gain (m) and the offset values (offset) are the unknown parameters in the empirical line equation. ρλ is the known surface reflectance value of a reference material in the input hyperspectral data (known as the field reference spectra). rλ is the measured value for the reference material in the input hyperspectral data (known as the image spectral data). The measured value can be a digital number, TOA radiance, or TOA reflectance.
The field reference spectra is an a priori measurement which can also be read from the spectral libraries. The empirical line approach solves the linear equation to find the gain and the offset values. The surface reflectance values for all the other pixels in the input hyperspectral data is calculated using the estimated gain and the offset values.
The empiricalLine
function automatically resamples the input field
spectra to match the selected data wavelengths in hcube
.
To solve the linear regression equation, at least two field spectrum values must be known
for each band. If the empiricalLine
function is provided with only one field
spectrum value for each band, the offset value is set as zero. If there is no field spectrum
value available for any of the bands, then this function throws an error.
References
[1] Roberts, D. A., Y. Yamaguchi, and R. J. P. Lyon. "Comparison of Various Techniques for Calibration of AIS Data." In Proceedings of the Second Airborne Imaging Spectrometer Data Analysis Workshop, ed. Gregg Vane and Alexander F. H. Goetz, 21–30. Pasadena: Jet Propulsion Laboratory, 1986.
[2] Kruse, F. A., K. S. Kierein-Young, and J.W. Boardman. "Mineral Mapping at Cuprite, Nevada with a 63-Channel Imaging Spectrometer," Photogrammetric Engineering and Remote Sensing 56, no. 1 (January 1990): 83–92.
Version History
Introduced in R2020b
See Also
hypercube
| iarr
| flatField
| logResiduals
| subtractDarkPixel
| reduceSmile
| sharc