Function:RGBA2Gray
From CUVI Wiki
Converts an RGBA image to gray scale using fixed transform
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input 4-channel image |
dst | CuviImage& | Output single channel image |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC4 | 8uC1 |
16uC4 | 16uC1 |
Example
|