Difference between revisions of "Function:MinMax"
From CUVI Wiki
Line 74: | Line 74: | ||
//Returns minimum and maximum pixel value | //Returns minimum and maximum pixel value | ||
cuvi::arithmeticLogical::minMax(gimg, | cuvi::arithmeticLogical::minMax(gimg, min, max); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} |
Revision as of 02:25, 9 May 2012
Computes the minimum and maximum pixel values in the image
Function
|
Parameters
Name | Type | Description |
---|---|---|
image | CuviImage* | Input Image |
minValue | Cuvi64f* | Minimum pixel value in the image |
maxValue | Cuvi64f* | Maximum pixel value in the image |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 2 x Cuvi64f single value |
8uC3 | 2 x Cuvi64f three values |
Sample
Error creating thumbnail: Unable to save thumbnail to destination
|
Example
|