How to convert rgb to lab??
3 ビュー (過去 30 日間)
古いコメントを表示
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
2016 年 11 月 12 日
What is the exact error? I suspect you simply don't have the toolbox, since the above works for me.
回答 (1 件)
Walter Roberson
2016 年 11 月 12 日
rgb2lab() is in the Image Processing Toolbox from R2014b and later.
4 件のコメント
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 Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!