How do I make MATLAB to recognize the deltaE function?
9 ビュー (過去 30 日間)
古いコメントを表示
I have two images A and B. When running the code that I am using to find colour differences between two images, it keeps telling me: "Unrecognized function or variable 'deltaE'. I tried to read about how to make this function recognized and I believe I have to convert the RGB images into lab values. Yet I keep failing to understand how to do so.
0 件のコメント
回答 (3 件)
Walter Roberson
2020 年 11 月 15 日
https://www.mathworks.com/help/images/ref/deltae.html
needs R2020b
0 件のコメント
Image Analyst
2020 年 11 月 15 日
You can use sqrt() of the lab colors. There is also an rgb2lab() function that is pretty old.
de = sqrt((L1-L2).^2 + (A1-A2).^2 + (B1-B2).^2)
See attached demos.
9 件のコメント
Image Analyst
2020 年 11 月 16 日
I think the best book is "The Image Processing Handbook" by John Russ.
Another free online book is by RIchard Szeliski:
Ameer Hamza
2020 年 11 月 15 日
deltaE() function is available in Image processing toolbox. This error message indicates that, most likely, you don't have that toolbox installed. You can run the following line in the command window
ver images
and if you get a warning, it means that you don't have the toolbox installed.
7 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!