Difference between revisions of "Function:Mean"
From CUVI Wiki
Line 69: | Line 69: | ||
//Returns mean of all pixel values in the image | //Returns mean of all pixel values in the image | ||
cuvi::arithmeticLogical::mean(gimg, | cuvi::arithmeticLogical::mean(gimg, mean); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} |
Revision as of 02:22, 9 May 2012
Computes the mean of image pixel values
Function
|
Parameters
Name | Type | Description |
---|---|---|
image | CuviImage* | Input Image |
mean | Cuvi64f* | Mean of all pixel values in 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
|
Example
|