pca byte
From DavinciWiki
(Difference between revisions)
(Created page with '{{DavinciWiki_Function| Principal Component Analysis Compute the principal components of a three band byte image | Arguments: A numeric array and ignore value Return Valu…') |
|||
Line 3: | Line 3: | ||
Compute the principal components of a three band [[byte]] image | Compute the principal components of a three band [[byte]] image | ||
+ | |||
+ | NOTE: This function used to be called [[pca|pca()]]. pca() is now a generic function that works on N band data, though it should maintain similar usage and return values. | ||
| | | | ||
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]]: | + | [[Syntax]]: pca_byte(image) |
'image' - A 3-band (z-dimension=3) numeric array | 'image' - A 3-band (z-dimension=3) numeric array | ||
Line 15: | Line 17: | ||
600x600x3 array of byte, bip format [1,080,000 bytes] | 600x600x3 array of byte, bip format [1,080,000 bytes] | ||
− | dv> b= | + | dv> b=pca_byte(a) |
data: 600x600x3 array of double, bip format [8,640,000 bytes] | data: 600x600x3 array of double, bip format [8,640,000 bytes] | ||
| | | | ||
Line 36: | Line 38: | ||
*general_science.dvrc | *general_science.dvrc | ||
| | | | ||
+ | |||
}} | }} | ||
[[category:Functions]] | [[category:Functions]] | ||
[[category:User Defined Functions]] | [[category:User Defined Functions]] | ||
[[category:Matrix]] | [[category:Matrix]] |
Revision as of 13:20, 9 February 2011
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description
Arguments and Return Values Arguments: A numeric array and ignore value Return Value: The rotated data
Usage Syntax: pca_byte(image) 'image' - A 3-band (z-dimension=3) numeric array
Examples dv> a 600x600x3 array of byte, bip format [1,080,000 bytes] dv> b=pca_byte(a) data: 600x600x3 array of double, bip format [8,640,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 02-09-2011 |