color similarity in CIElab color space

7 views (last 30 days)
lollo
lollo on 6 Sep 2018
Answered: Mahmoud Afifi on 7 Jan 2020
Hi, I have 200 jpg images and I would like to obtain a color similarity/dissimilarity matrix between all pairs of images. I would like to use the CIElab color space as I know that it better reflects the human vision system. I know that I need to bin the color pixels of each image first and then calculate their distance. My thought was: transform the RGB to Lab first, then bin the new calculated pixels and then use the Earth Mover's Distance as a metric distance to obtain a final value for each pair. However, I am not sure if these steps are correct. Can anyone describe it step by step for me so that I can understand it better? Thank you for your help

Answers (1)

Mahmoud Afifi
Mahmoud Afifi on 7 Jan 2020
You can use deltaE to measure the difference between colors. It works in Lab space. Check this link for more information DeltaE

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!