how to display the working space gamuts in lab color space using matlab?

I want to know how to display one or two working space gamuts in any of four different color spaces such as lab\xyY. The working space include CIE RGB/sRGB.etc. It was like the picture in below.

Answers (1)

I have a gamut display app (attached) I wrote but it's pretty primitive. I've been asking for something like this for a long time. I know a developer on the Image Processing team wrote a much better one but it's not released yet as part of the toolbox. You can call the Mathworks and ask for it and they might give it to you.

5 Comments

Thank you for your answer. I want to know how to display the CIE RGB ICC color in lab color space ? Do your have any ideas ? I know the matlab can read the ICC profile file, I just want to know how to display it.
The ICC profile is a 3 by 3 matrix to convert RGB into XYZ (the profile interconnect space) or XYZ into device colors. You can use fprintf() to display the values in the command window.
Or did you mean the horseshoe-shaped chromaticity diagram?
I think my word have caused you a misunderstanding. In your program we give the RGB color spaces using the Point cloud. It looks good. I want to display the working space gamuts like CIE RGB in XYZ or lab color spaces, I want to know whether we can read the ICC profile to get the data of XYZ ?and display it in a three-dimensional space?
Yes, you can use rgb2xyz() or rgb2lab() and get new images in those color spaces. Then you can use the same code with those images to make a 3D scatterplot.

Sign in to comment.

Asked:

on 19 Oct 2015

Commented:

on 22 Oct 2015

Community Treasure Hunt

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

Start Hunting!