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

조회 수: 10 (최근 30일)
pritha Das
pritha Das 2013년 11월 11일
댓글: Spencer 2024년 9월 13일
i want to change rgb image into l*a*b color space without using makecform() and applycform() functions.....how can it be done???????
  댓글 수: 4
maram Ahmed
maram Ahmed 2017년 6월 29일
There is a direct function called rgb2lab.
noor abidi
noor abidi 2017년 9월 6일
but its only available in MATLAB 2017 version

댓글을 달려면 로그인하십시오.

답변 (2개)

John Barber
John Barber 2013년 11월 11일
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 2013년 11월 11일
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.

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by