Difference between revisions of "Function:MinMax"
From CUVI Wiki
(Created page with "__NOTOC__ Computes the minimum and maximum pixel values in the image ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus minMax(CuviImage* imag...") |
|||
| Line 73: | Line 73: | ||
//Returns maximum pixel value | //Returns minimum and maximum pixel value | ||
cuvi::arithmeticLogical:: | cuvi::arithmeticLogical::minMax(gimg, &min, &max); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
Revision as of 07:02, 8 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
Example
|