UNMIX

Linear spectral unmixing


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Algorithm :: References :: Related

Back to top

Description


UNMIX creates fraction images for a set of class signatures. The input signatures are assumed to represent spectrally pure classes or "endmembers". The output fraction images store values indicating the percentage of each pixel that is composed of each class.
Back to top

Parameters


Name Type Length Value range
InputRaster: Input raster channel * Raster port 1 -    
InputSIG: Input endmember signature segments * SIG port 2 - 16 -1024 -
OutputDBOC: Output endmember fraction channels * Raster port 2 - 16 -1024 -
OutputRMSChan: Output RMS-error channel Raster port 0 - 1  
Output Raster Type Integer 0 - 4 8U | 16U | 16S | 32R
Default: 32R
Scaling Minimum Integer 0 - 1 Default: 0,255
Scaling Maximum Integer 0 - 1 Default: 0,255
Normalization String 0 - 1 YES | NO
Default: NO
Report String 0 - 192 See parameter description

* Required parameter
Back to top

Parameter descriptions

InputRaster: Input raster channel

The signature image channels to unmix.

InputSIG: Input endmember signature segments

The segments to use as endmember signatures. Signatures (type 121) must be created by running the CSG algorithm.

You can specify from two to 16 signature segments; however, you must not specify duplicate signatures.

OutputDBOC: Output endmember fraction channels

The output channels to which to write the endmember fraction images.

You must specify one output channel for each input signature segment.

You can specify from two to 16 signature segments; however, you must not specify duplicate signatures.

OutputRMSChan: Output RMS-error channel

The output channel to which to write the residual-error image.

If no value is specified for this parameter, the residual-error image is not saved.

Output Raster Type

Specifies the data type for the output image channel.

Valid data types are:
Note: If the specified output channel already exists, the data type from that output channel will be used instead of the one specified here.

Scaling Minimum

Specifies the minimum output value to use for scaling the fraction images (unscaled values are typically between 0 and 1).

Note: Because unscaled fraction image values can be outside the range of 0 to 1, it is possible for the scaled output channels to contain values outside the range specified here. The default range values are 0 and 255, but they are not recommended.

Scaling Maximum

Specifies the maximum output value to use for scaling the fraction images (unscaled values are typically between 0 and 1).

Note: Because unscaled fraction image values can be outside the range of 0 to 1, it is possible for the scaled output channels to contain values outside the range specified here. The default range values are 0 and 255, but they are not recommended.

Normalization

Specifies whether to normalize output channels.

Available options are:

Report

Specifies where to direct the generated report.

Available options are:

Back to top

Details

UNMIX performs linear spectral unmixing given set of class signature segments (DBEM) created by CSG. Each signature must have been created using a training site bitmap that is "spectrally pure", meaning that every pixel in the training site is 100% in a given class. The output fraction images (DBOC) contain values representing the percentage that each pixel covers in each class. Optionally, the RMS (root mean squared) error can be saved (RMSCHAN).

Before scaling, the output fraction images contain values that nominally represent fractional percentages between 0.0 and 1.0. Ideally, the sum of all unscaled fraction images should add up to approximately 1.0 at each pixel location. Typically, however, output fraction images contain values outside this range. The RANGE parameter (Scaling Minimum, Scaling Maximum) is used to specify the desired scaled output values that correspond to the unscaled values of 0.0 and 1.0 respectively.

The Scaling Range (Scaling Minimum and Scaling Maximum) defaults to 0 and 255, but we recommend setting the minimum and maximum values to greater than 0 and less than 255, respectively.

By default, the output images are not normalized. If the last class input endmember signature (DBEM) represents a shadow area to be removed from the data, set normalization to "YES" to remove the effect of the shadow from the previous class signatures before saving the output fractional images.

Note: It is very important that the shadow area be specified as the LAST signature segment.
Back to top

Algorithm

The algorithm used to perform linear spectral unmixing is described in the paper cited in References.

Land-cover maps are important tools for environment quality assessment, climatological modeling, and other studies in Earth sciences. The traditional approach to land-cover mapping from remotely sensed data is through classification of each pixel to one land-cover type. Classification methods are not appropriate, however, when quantitative land-cover information is required at the sub-pixel level. This applies to mapping urban land cover from Landsat Thematic Mapper (TM) data, in which a large number of pixels exist containing spectral contributions of more than one land cover.

An alternative approach to land-cover mapping is the linear spectral mixing analysis method. It has been used in many geological applications. Unlike laboratory spectral reflectance, which is usually measured from pure materials, a large proportion of remotely sensed data is spectrally mixed. In spectral mixing analysis, it is assumed that signatures of a subset number of surface elements can reproduce the observed spectra when mixed together in various proportions. This subset may be referred to as endmembers, components, or factors; they may be mixtures themselves.

Suppose there are m spectral bands in a remotely sensed image, and there are n endmembers. Let rij represent the spectral reflectance, radiance or digital number of jth endmember at ith band. All the reflectances, radiances, or digital numbers can be arranged in an m X n matrix, R, in the following form:

           /                    \
          | r11   r12  ...   r1n | 
          | r21   r22  ...   r2n |
      R = | ....                 | 
          | rm1   rm2  ...   rmn |
          \                     /

For each individual pixel, there are m responses observed by the sensor, corresponding to m spectral bands. In a vector form, they are represented as D = (d1, d2,...,dm)'. All area fractions for the n endmembers are denoted as f = (f1, f2, ..., fn)' and they should sum to 1. The linear mixing model can be described in the form:

        d = R f

with the following constraints on f:

        fj > or = 0 and   SUM fj = 1, j=1,2,...,n.

Fractions of each endmember, i.e., f, can be obtained by using the singular value decomposition method with least squares. To obtain a deterministic solution, the number of endmembers should not exceed the number of spectral bands; that is, n < or = m. After the image endmembers are identified, the entire image can be unmixed, pixel by pixel. When f is obtained for each pixel, the appropriateness of the least squares estimation of f can also be obtained.

Back to top

References

Gong, Miller, Freemantle and Chen. "Spectral Decomposition of Landsat Thematic Mapper Data For Urbal Land-Cover Mapping", Proceedings of the 14th Canadian Symposium on Remote Sensing, Calgary, Alberta, Canada, May 1991.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.