Reflectance unmixing routine
Contents
Syntax:
HSZ = unmix_reflectance(HS, Endmembers);
HSZ = unmix_reflectance(HS, Endmembers, options);
Description:
This function is used to unmix the materials in an HSZ data structure
with respect to the library in Endmembers. If the HSZ is non-indexed, its
converted it into an indexed file.
Input:
HS: Input Scyllarus data structure.
options: Struct containing the following fields:
Endmembers: Input struct containing the library.
numEndmembers: Number of endmembers used for unmixing each material.
PSFFactor: Factor used for the point spread function. This is
applied to enforce smoothness on the coefficients recovered by the
L-2 unmixing method.
Output:
HSZ: Scyllarus data structure which has been indexed and unmixed with
respect to the end member library. This is RAW encoded. For encodings
other than RAW, use the encode_HSZ routine.