Difference between revisions of "Function:GammaCorrect"
From CUVI Wiki
(Created page with "__NOTOC__ Converts image data type with optional scaling. ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus gammaCorrect(const CuviImage& src...") |
|||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Increases or decreases gamma value of input image. | |||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus gammaCorrect(const CuviImage& src, | CuviStatus gammaCorrect(const CuviImage& src, | ||
| Line 11: | Line 11: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
====Parameters==== | |||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
| Line 34: | Line 36: | ||
| const 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 44: | Line 47: | ||
! Output | ! Output | ||
|- | |- | ||
| | | 8UC1 | ||
| | | 8UC1 | ||
|- | |||
| 8UC3 | |||
| 8UC3 | |||
|} | |||
|} | |} | ||
====Example==== | |||
===Example=== | |||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 12:59, 18 October 2022
Increases or decreases gamma value of input image.
Function
|
Parameters
|
Image Type Support
|
Example
|