How to convert an image from rgb to l*a*b color space without using any function???

10 views (last 30 days)
i want to change rgb image into l*a*b color space without using makecform() and applycform() functions.....how can it be done???????
  4 Comments

Sign in to comment.

Answers (2)

John Barber
John Barber on 11 Nov 2013
Here is a good reference for color space conversions:
Once you understand the basics of color spaces and converting between them, writing a short function to do a conversion from sRGB to Lab should be quite easy.

Image Analyst
Image Analyst on 11 Nov 2013
You can find "book formulas" here: http://www.easyrgb.com/index.php?X=MATH First go from RGB to XYZ, then go from XYZ to Lab.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!