From CUVI Wiki
Revision as of 16:12, 13 June 2014 by Ghazanfar (Talk | contribs) (Created page with "__NOTOC__ Converts input YCbCr image to RGB color space. ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus ycbcr2rgb(const CuviImage& src, ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Converts input YCbCr image to RGB color space.


CuviStatus ycbcr2rgb(const CuviImage& src,
                     CuviImage& dst,
                     const CuviStream& stream = CuviStream());


Name Type Description
src const CuviImage& Input YCbCr image
dst CuviImage& Output RGB image
stream const CuviStream& GPU stream ID for execution

Image Type Support

Input Output
8uC3 8uC3
16uC3 16uC3
32fC3 32fC3



CuviImage input = cuvi::io::loadImage(path,CUVI_LOAD_IMAGE_COLOR), output;
//Convert input YCbCr image to RGB
cuvi::colorOperations::ycbcr2rgb(input , output);