How to convert rgb to lab??

조회 수: 1 (최근 30일)
Darsana P M
Darsana P M 2016년 11월 12일
댓글: Walter Roberson 2016년 11월 12일
I used the following function :
rgb = imread('peppers.png');
lab = rgb2lab(rgb);
But i got an error. How to solve this? What is the command that is needed?
  댓글 수: 2
Ahmet Cecen
Ahmet Cecen 2016년 11월 12일
What is the exact error? I suspect you simply don't have the toolbox, since the above works for me.
Darsana P M
Darsana P M 2016년 11월 12일
what should i do to get the matlab toolbox in matlab R2013a

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

답변 (1개)

Walter Roberson
Walter Roberson 2016년 11월 12일
rgb2lab() is in the Image Processing Toolbox from R2014b and later.
For releases before that, use makecform()
  댓글 수: 4
Darsana P M
Darsana P M 2016년 11월 12일
How can i upgrade to R2016a from R2013a. Do i need to have the license to access them?
Walter Roberson
Walter Roberson 2016년 11월 12일
makecform() was present in the Image Processing Toolbox from R2006a or earlier. If you do not have it then you probably do not have the Image Processing Toolbox.
It is too late now to purchase Image Processing Toolbox for R2013a if you do not already have it.
You will probably need to purchase MATLAB again, with the Image Processing Toolbox.

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

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by