Difference between revisions of "Function:Demosaic"
From CUVI Wiki
(→Sample) |
(→Sample) |
||
| Line 60: | Line 60: | ||
|[[File:BayerHolidayIn.png|frame|Input]] | |[[File:BayerHolidayIn.png|frame|Input]] | ||
|[[File:BayerHolidayOut.png|frame|Output]] | |[[File:BayerHolidayOut.png|frame|Output]] | ||
|- | |||
|[[File:BayerHouseIn.png|frame|Input]] | |||
|[[File:BayerHouseOut.png|frame|Output]] | |||
|} | |} | ||
Revision as of 06:31, 18 May 2012
Restores an RGB image from a gray-scale CFA image using Bayer algorithm
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| srcImage | CuviImage* | Input Bayer Image |
| dstImage | CuviImage* | Output RGB Imag |
| bayerSequence | CuviBayerSeq | Bayer Type |
| stream | CuviStream* | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8u | 8u |
| 16u | 16u |
Sample
Example
|



