Function:RGB2Gray
From CUVI Wiki
Converts an RGB image to gray scale using fixed transform coefficients
Function
|
Parameters
Name | Type | Description |
---|---|---|
srcImage | CuviImage* | Input 3-channel image |
dstImage | CuviImage* | Output single channel image |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC3 | 8uC1 |
16uC3 | 16uC1 |
Sample
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|