pca byte

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
(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]]: pca(image)
+
[[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=pca(a)
+
  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


Description

Principal Component Analysis

Compute the principal components of a three band byte image

NOTE: This function used to be called pca(). pca() is now a generic function that works on N band data, though it should maintain similar usage and return values.

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]

Images

Original Image

unfiltered.png

Three principal components

comp1.png comp2.png comp3.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 02-09-2011
Modified On: 02-09-2011

Personal tools