conversion formula

15 views (last 30 days)
Mohammad Golam Kibria
Mohammad Golam Kibria on 2 Nov 2011
I have three value
h=20 s=60 v=30
I want to convert this value to Lab color space.i.e. the value of L , a,b
Is there any one to show me the formula. Thanks

Accepted Answer

Amith Kamath
Amith Kamath on 2 Nov 2011
I would assume you should look at the makecform and applycform function, as defined here: http://www.mathworks.com/help/toolbox/images/f8-20792.html
There are options to change from XYZ to Lab, which may be of some help!
  2 Comments
Walter Roberson
Walter Roberson on 2 Nov 2011
Oooh! You clicked faster than me! ;-)
Amith Kamath
Amith Kamath on 3 Nov 2011
for once, I got to an answer faster than the most reputed contributor! ;-)

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!