pca
From DavinciWiki
(Difference between revisions)
Line 2: | Line 2: | ||
Principal Component Analysis | Principal Component Analysis | ||
− | Compute the principal components of | + | Compute the principal components of an N band real data image |
+ | |||
+ | NOTE: for the old 3 band pca version see [[pca_byte|pca_byte()]]. This version replaced the old byte version on 2-9-2011 | ||
| | | | ||
Arguments: A numeric array and ignore value | Arguments: A numeric array and ignore value | ||
Line 8: | Line 10: | ||
Return Value: The rotated data | Return Value: The rotated data | ||
| | | | ||
− | [[Syntax]]: pca(image) | + | [[Syntax]]: pca(image [, ignore=FLOAT][, struct=BOOL]) |
− | 'image' - A | + | 'image' - A N-band image or data array |
+ | |||
+ | 'ignore' - the ignore value for the black space of an image | ||
+ | |||
+ | 'struct' - return the eigen vectors/values and covariance matrix | ||
| | | | ||
dv> a | dv> a | ||
Line 31: | Line 37: | ||
| | | | ||
*[[pca2]] | *[[pca2]] | ||
+ | *[[pca_byte]] | ||
+ | *[[eigen2]] | ||
| | | | ||
*general_science.dvrc | *general_science.dvrc | ||
| | | | ||
+ | 1.02 | ||
}} | }} | ||
[[category:Functions]] | [[category:Functions]] | ||
[[category:User Defined Functions]] | [[category:User Defined Functions]] | ||
[[category:Matrix]] | [[category:Matrix]] |
Revision as of 13:23, 9 February 2011
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Principal Component Analysis Compute the principal components of an N band real data image NOTE: for the old 3 band pca version see pca_byte(). This version replaced the old byte version on 2-9-2011
Arguments and Return Values Arguments: A numeric array and ignore value Return Value: The rotated data
Usage dv> a 600x600x3 array of byte, bip format [1,080,000 bytes] dv> b=pca(a) 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 |