Difference between revisions of "Function:ImageGradients"
From CUVI Wiki
(Created page with "__NOTOC__ Calculates X and Y gradients of image ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus imageGradients(CuviImage* srcImage, ...") |
(No difference)
|
Revision as of 13:32, 8 May 2012
Calculates X and Y gradients of image
Function
|
Parameters
Name | Type | Description | ||||
---|---|---|---|---|---|---|
srcImage | CuviImage* | Input image | ||||
dstX | CuviImage* | Horizontal image gradient | ||||
dstY | CuviImage* | Vertical image gradient | ||||
type | CuviGradientKernelType | Supports:
| ||||
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 32fC1 |
8uC3 | 32fC3 |
Sample
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|