Function:Lab2rgb

From CUVI Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Converts input CIE Lab image to RGB color space.

Function

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

Parameters

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

Image Type Support

Input Output
8uC3 8uC3
32fC3 32fC3

Example

CuviImage input = cuvi::io::loadImage(path,CUVI_LOAD_IMAGE_COLOR), output;

//Convert input CIE Lab image to RGB
cuvi::colorOperations::Lab2rgb(input , output);