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