Difference between revisions of "Function:EigenValsVecs"
From CUVI Wiki
(Created page with "__NOTOC__ Calculates eigen values and eigen vectors of each image pixel. The output image must have 6 times more width than the input image. ===Function=== {| |style="font-si...") |
|||
Line 67: | Line 67: | ||
//Compute eigen values and vectors using 3x3 Sobel filter for derivative, and 5x5 window for eigen value calculation | //Compute eigen values and vectors using 3x3 Sobel filter for derivative, and 5x5 window for eigen value calculation | ||
cuvi::computerVision:: | cuvi::computerVision::eigenValsVecs(gimg,gout,CUVI_GRADIENT_SOBEL_3x3,5); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} |
Revision as of 20:44, 14 May 2012
Calculates eigen values and eigen vectors of each image pixel. The output image must have 6 times more width than the input image.
Function
|
Parameters
Name | Type | Description |
---|---|---|
srcImage | CuviImage* | Input Image |
dstImage | CuviImage* | Output Image |
gradientKernelType | CuviGradientKernelType | Type of derivative kernel to use for gradient calculation |
windowSize | Cuvi32s | Window size for eigen value calculation |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 32fC1 |
Example
|