Difference between revisions of "Function:Mean"
From CUVI Wiki
| Line 12: | Line 12: | ||
|} | |} | ||
===Parameters=== | ====Parameters==== | ||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
| Line 31: | Line 32: | ||
| const CuviStream& | | const CuviStream& | ||
| GPU stream ID for execution | | GPU stream ID for execution | ||
|} | |||
|} | |} | ||
Revision as of 10:31, 19 October 2022
Computes the mean of image pixel values. Each channel is processed individually.
Function
|
Parameters
|
Image Type Support
| Input | Output |
|---|---|
| 8uC1 | CuviScalar |
| 8uC3 | CuviScalar |
| 16uC1 | CuviScalar |
| 16uC3 | CuviScalar |
| 32fC1 | CuviScalar |
| 32fC3 | CuviScalar |
Sample
Example
|