Function:Mean
From CUVI Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Computes the mean of image pixel values. Each channel is processed individually.
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input Image |
mean | CuviScalar& | Mean of all pixel values in the image |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | CuviScalar |
8uC3 | CuviScalar |
16uC1 | CuviScalar |
16uC3 | CuviScalar |
32fC1 | CuviScalar |
32fC3 | CuviScalar |
Sample
Error creating thumbnail: Unable to save thumbnail to destination
|
Example
|