Function:Sum
From CUVI Wiki
Computes the sum of all pixel values in the image
Function
|
Parameters
Name | Type | Description |
---|---|---|
image | CuviImage* | Input Image |
sum | Cuvi64f* | Sum of all pixel values of the image |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | Cuvi64f single value |
8uC3 | Cuvi64f three values |
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
|