Difference between revisions of "Function:MeanStdDev"
From CUVI Wiki
(Created page with "__NOTOC__ Computes the mean and standard deviation of image pixel values ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus meanStdDev(CuviIma...") |
|||
| Line 54: | Line 54: | ||
{| | {| | ||
|- | |- | ||
|[[File: | |[[File:Meanstddev.PNG]] | ||
|} | |} | ||
Revision as of 07:45, 8 May 2012
Computes the mean and standard deviation of image pixel values
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| image | CuviImage* | Input Image |
| mean | Cuvi64f* | Mean of all pixel values in the image |
| stdDev | Cuvi64f* | Standard deviation of all pixel values 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
|