Search code examples
matlabimage-processingrgboctavecolor-space

Inverse of rgb2ycbcr() in Octave? (No ycbcr2rgb)


How do I convert the output of rgb2ycbcr back to RGB in Octave?
I can't find a ycbcr2rgb function in the image package.


Solution

  • I just finished rewriting rgb2ycbcr and implementing ycbcr2rgb for Octave's image package. It will be part of the next image package release (likely to happen at the end of the summer). Just clone the image package repository or download the individual functions manually: