Difference between revisions of "Function:Min"
From CUVI Wiki
(→Sample) |
|||
| (24 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Computes the minimum of image pixel values | Computes the minimum of image pixel values | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="C"> | ||
CuviStatus min(CuviImage | CuviStatus min(const CuviImage& src, | ||
CuviScalar& minValue, | |||
CuviStream | const CuviStream& stream = CuviStream()); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
====Parameters==== | |||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
| Line 19: | Line 21: | ||
! Description | ! Description | ||
|- | |- | ||
| | | src | ||
| CuviImage | | const CuviImage& | ||
| Input Image | | Input Image | ||
|- | |- | ||
| minValue | | minValue | ||
| | | CuviScalar& | ||
| Minimum pixel value in the image | | Minimum pixel value in the image | ||
|- | |- | ||
| stream | | stream | ||
| CuviStream | | const CuviStream& | ||
| GPU stream ID for execution | | GPU stream ID for execution | ||
|} | |||
|} | |} | ||
===Image Type Support=== | ====Image Type Support==== | ||
{| | |||
|style="font-size:75%;"| | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Line 41: | Line 44: | ||
|- | |- | ||
| 8uC1 | | 8uC1 | ||
| | | CuviScalar | ||
|- | |- | ||
| 8uC3 | | 8uC3 | ||
| | | CuviScalar | ||
|- | |||
| 16uC1 | |||
| CuviScalar | |||
|- | |||
| 16uC3 | |||
| CuviScalar | |||
|- | |||
| 32fC1 | |||
| CuviScalar | |||
|- | |||
| 32fC3 | |||
| CuviScalar | |||
|} | |||
|} | |} | ||
===Sample=== | ====Sample==== | ||
{| | {| | ||
|- | |- | ||
|[[File:Min.PNG]] | |[[File:Min.PNG]] | ||
|} | |} | ||
===Example=== | ===Example=== | ||
{| | {| | ||
|style="font-size:150%;"| | |style="font-size:150%;"| | ||
|} | |} | ||
Latest revision as of 10:33, 19 October 2022
Computes the minimum of image pixel values
Function
|
Parameters
|
Image Type Support
|