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

12 vues (au cours des 30 derniers jours)
pritha Das
pritha Das le 11 Nov 2013
Commenté : noor abidi le 6 Sep 2017
i want to change rgb image into l*a*b color space without using makecform() and applycform() functions.....how can it be done???????
  4 commentaires
maram Ahmed
maram Ahmed le 29 Juin 2017
There is a direct function called rgb2lab.
noor abidi
noor abidi le 6 Sep 2017
but its only available in MATLAB 2017 version

Connectez-vous pour commenter.

Réponses (2)

John Barber
John Barber le 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 le 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.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by