Difference between revisions of "Function:Max"
From CUVI Wiki
Line 62: | Line 62: | ||
CuviImage* gimg = new CuviImage(size, depth, nChannels); | CuviImage* gimg = new CuviImage(size, depth, nChannels); | ||
Cuvi64f max = | Cuvi64f* max = new Cuvi64f[nChannels]; | ||
//Upload input data | //Upload input data |
Revision as of 15:35, 8 May 2012
Computes the maximum of image pixel values
Function
|
Parameters
Name | Type | Description |
---|---|---|
image | CuviImage* | Input Image |
maxValue | Cuvi64f* | Maximum pixel value 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
|