convert and represent XYZ color values ​​to their 3d color space

9 views (last 30 days)
I just learned about matlab, my first exercise is to convert the color space of an image from RGB to XYZ and represent the color value of that image to the corresponding color space, (specifically, the XYZ color space. ) I have tried quite a lot, can you help me with the solution?
The pixel cloud will be shown in the color space below.
lotChromaticity("ColorSpace","uv","View",3,"BrightnessThreshold",0)
thanks U so much! ^^

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 9 Jun 2021
Use the following matlab's built in fcns:
xyz2rg(XYZ_DATA)
xyz2lab(XYZ_DATA)
xyz2rgbwide(XYZ_DATA)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!