Function:Demosaic
From CUVI Wiki
Restores an RGB image from a gray-scale CFA image using Bayer algorithm
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| src | const CuviImage& | Input Bayer Image |
| dst | CuviImage& | Output RGB Imag |
| sensorAlignment | CuviBayerSeq | Bayer Type |
| stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8u | 8u |
| 16u | 16u |
Sample
Example
|



