Convert CIE 1931 XYZ to RGB
If you specify the output RGB color space as 'linear-rgb'
,
then the output values are linearized sRGB values. If instead you want the
output color space to be linearized Adobe RGB (1998), then you can use the
rgb2lin
function.
For example, to convert CIE 1931 XYZ image XYZ
to
linearized Adobe RGB (1998) color space, perform the conversion in two
steps:
RGBadobe = xyz2rgb(XYZ,'ColorSpace','adobe-rgb-1998'); RGBlinadobe = rgb2lin(RGBadobe,'ColorSpace','adobe-rgb-1998');
lab2rgb
| rgb2lin
| rgb2xyz
| rgbwide2xyz
| xyz2lab
| xyz2rgbwide