RGB = jpeg2rgb(YCbCr);
YCbCr | 3d data-cube, containing the YCbCr information of the image |
RGB | 3d data-cube, containing RGB information of the image |
'jpeg2rgb(YCbCr)' performs a transformation of the 3d data-cube YCbCr with dimensions \(N \times M \times 3\), which contains information of "luminance", "chrominance blue" and "chrominance red". The output variable RGB is a 3d data-cube of the same size containing information about the colours "red", "green" and "blue". The output will be of the uint8 type.
For more information, see http://en.wikipedia.org/wiki/YCbCr and http://de.wikipedia.org/wiki/JPEG