pca
Apply Principal Component Analysis on a cube
This programs converts a cube into principal component space or
reverses a cube from principal component space. The principal component analysis (PCA) is performed over all bands of the input cube. The n x n transformation matrix used for this conversion is attached to the output cube as a table, where n is the number of bands of the input cube. Each vertical column in the transformation matrix is an eigenvector.
To run the program, you must provide an input cube, specify an output cube name, and select either Transform or Inverse as your transformation mode of choice
The transformation matrix can be extracted by using the following command:
To run the program, you must provide an input cube, specify an output cube name, and select either Transform or Inverse as your transformation mode of choice
The transformation matrix can be extracted by using the following command:
tabledump from=[cube name].cub name="Transform Matrix"
Categories
Related Objects and Documents
Applications
History
Jacob Danton | 2006-05-05 | Original version |
Brendan George | 2006-09-28 | Documentation fixes |
Steven Lambright | 2008-05-13 | Removed references to CubeInfo |
Kristin Berry | 2014-09-18 | Improved documentation |