Function:ImageGradients
From CUVI Wiki
Calculates X and Y gradients of image
Function
|
Parameters
Name | Type | Description | ||||
---|---|---|---|---|---|---|
src | const CuviImage& | Input image | ||||
gradX | CuviImage& | Horizontal image gradient | ||||
gradY | CuviImage& | Vertical image gradient | ||||
type | const CuviGradientKernelType | Supports:
| ||||
stream | const 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 |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|