how to get xyz value

i am new to matlab, how to output calculated value XYZ from RGB value entered from table, what command should i use, thanks!

Answers (1)

rgb2xyz(RGB)

2 Comments

i understand rgb2xyz(RGB) command help to convert color space, but i want to know the xyz value show specific value, do you have any advice for me? thanks!
I am having a hard time understanding your question.
%if rgb=[50 60 70], then
xyz=rgb2xyz(rgb)%xyz values will be the output of the function

Sign in to comment.

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Tags

Asked:

on 15 Jun 2021

Commented:

on 16 Jun 2021

Community Treasure Hunt

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

Start Hunting!