Difference between revisions of "Function:RGB2Gray"
From CUVI Wiki
Line 17: | Line 17: | ||
|} | |} | ||
===Parameters=== | ====Parameters==== | ||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 40: | Line 41: | ||
| CuviStream& | | CuviStream& | ||
| GPU stream ID for execution | | GPU stream ID for execution | ||
|} | |} | ||
|} | |||
===Image Type Support=== | ===Image Type Support=== |
Revision as of 21:09, 18 October 2022
Converts an RGB image to gray scale using fixed or custom transform coefficients
Function
|
Parameters
|
Image Type Support
Input | Output |
---|---|
8uC3 | 8uC1 |
16uC3 | 16uC1 |
32fC3 | 32fC1 |
Sample
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|