pca2

From DavinciWiki
Revision as of 13:32, 1 January 2008 by Joshband (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This function computes principal component images from an input image and a set of eigenvectors. This function is different from pca in that it allows for application to various multiband images in multibple data formats. It also take the output from eigen2, which calculates the eigenvectors the slow way, which greatly increases the accuracy of higher order eigenvectors and eigenvalues.

Arguments and Return Values

Arguments: Input image cube, output structure from eigen2.

Return Value: Image cube with the same x and y dimensions as the input and the same z dimension as the number of input eigenvectors and aigenvalues.

Usage

Syntax: jpca(image,ev)

image: surface pressure (m x n x k array)

ev: output structure from eigen2 containing .evecs (k x j x 1 array), .evals (j x 1 x 1 array), .avg (k x 1 x 1 array), and .C (i x j x 1 array)

Arrays are arbitrary in size, but 'k' must be the same in image and ev.evecs.

Examples

Individual principal component images from the example above. PC1 is the upper left image and PC8 is the lower right image. jpca1.png

Images

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Recent Library Changes

Created On: 01-01-2008
Modified On: 01-17-2008

Personal tools