|
|
Line 52: |
Line 52: |
| |} | | |} |
| |} | | |} |
|
| |
| ===Sample===
| |
|
| |
|
| |
|
| |
|
| ===Example=== | | ===Example=== |
Revision as of 21:14, 18 October 2022
Converts input YCbCr image to RGB color space.
Function
CuviStatus ycbcr2rgb(const CuviImage& src,
CuviImage& dst,
const CuviStream& stream = CuviStream());
|
Parameters
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
|
|
Example
CuviImage input = cuvi::io::loadImage(path,CUVI_LOAD_IMAGE_COLOR), output;
//Convert input YCbCr image to RGB
cuvi::colorOperations::ycbcr2rgb(input , output);
|