convert and represent XYZ color values to their 3d color space
3 次查看(过去 30 天)
显示 更早的评论
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/646850/image.png)
thanks U so much! ^^
0 个评论
回答(1 个)
Sulaymon Eshkabilov
2021-6-9
Use the following matlab's built in fcns:
xyz2rg(XYZ_DATA)
xyz2lab(XYZ_DATA)
xyz2rgbwide(XYZ_DATA)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!