Difference between revisions of "Function:Demosaic"
From CUVI Wiki
(Created page with "__NOTOC__ Restores an RGB image from a gray-scale CFA image using Bayer algorithm ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus demosaic(...") |
(→Sample) |
||
| Line 58: | Line 58: | ||
{| | {| | ||
|- | |- | ||
|[[File: | |[[File:BayerHolidayIn.png|frame|Input]] | ||
|[[File: | |[[File:BayerHolidayOut.png|frame|Output]] | ||
|} | |} | ||
===Example=== | ===Example=== | ||
Revision as of 06:29, 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
|

