RGBto XYZ CIE 1931 Code

4 views (last 30 days)
Navid Pazouki
Navid Pazouki on 26 Jan 2022
Commented: Image Analyst on 22 Apr 2022
Hello All,
is there any code to convert RGB to xyz CIE 1931 ? I tried many suggestions of matlab, they don't really work correctly.
I need these RGB 232 255 255 and 13 13 80 converted to xyz CIE 1931.
I will be very glad to have an answer.
Thanks

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 26 Jan 2022
Here
CIE_image=rgb2xyz(RGB_image);
Matlab Doc: Here
  1 Comment
Image Analyst
Image Analyst on 22 Apr 2022
@Navid Pazouki You said "I tried many suggestions of matlab, they don't really work correctly." Well, rgb2xyx() seems like the very first thing you'd try. Why do you say it doesn't work correctly.

Sign in to comment.

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!