pca
From DavinciWiki
(Difference between revisions)
Line 1: | Line 1: | ||
{{DavinciWiki_Function| | {{DavinciWiki_Function| | ||
− | + | Principal Component Analysis | |
+ | |||
+ | Compute the principal components, eigen values and eigen vectors of a numeric array | ||
| | | | ||
− | Arguments: | + | Arguments: A numeric array and ignore value |
− | Return Value: | + | Return Value: A structure containing the eigen value and vectors and the rotated data |
| | | | ||
− | [[Syntax]]: | + | [[Syntax]]: pca(image [, ignore]) |
+ | |||
+ | 'image' - A numeric array | ||
+ | |||
+ | 'ignore' - An optional ignore value for matrix calculations | ||
| | | | ||
+ | dv> a | ||
+ | 600x600x3 array of byte, bip format [1,080,000 bytes] | ||
+ | |||
+ | dv> b=pca(a) | ||
+ | struct, 2 elements | ||
+ | e: 4x3x1 array of float, bsq format [48 bytes] | ||
+ | data: 600x600x3 array of double, bip format [8,640,000 bytes] | ||
| | | | ||
+ | Original Image | ||
+ | |||
+ | [[Image:unfiltered.png|250px]] | ||
+ | |||
+ | Three principal components | ||
+ | |||
+ | [[Image:comp1.png|250px]] [[Image:comp2.png|250px]] [[Image:comp3.png|250px]] | ||
| | | | ||
+ | *[[mxm]] | ||
+ | *[[eigen]] | ||
+ | *[[covar]] | ||
| | | | ||
+ | *[[pca2]] | ||
| | | | ||
+ | [[Media:pca.dvrc|pca()]] | ||
| | | | ||
}} | }} | ||
− | |||
[[category:Functions]] | [[category:Functions]] | ||
+ | [[category:User Defined Functions]] | ||
[[category:Matrix]] | [[category:Matrix]] |
Revision as of 14:10, 28 March 2006
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Principal Component Analysis Compute the principal components, eigen values and eigen vectors of a numeric array
Arguments and Return Values Arguments: A numeric array and ignore value Return Value: A structure containing the eigen value and vectors and the rotated data
Usage Syntax: pca(image [, ignore]) 'image' - A numeric array 'ignore' - An optional ignore value for matrix calculations
Examples dv> a 600x600x3 array of byte, bip format [1,080,000 bytes] dv> b=pca(a) struct, 2 elements e: 4x3x1 array of float, bsq format [48 bytes] data: 600x600x3 array of double, bip format [8,640,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Library Changes Created On: 02-15-2006 |