Color segmentation by Delta E color difference

User draws region and this finds pixels in the image with a similar color, using Delta E.

You are now following this Submission

Demo to perform very, very simple color detection in LAB color space. The RGB image is converted to LAB color space and then the user draws some freehand-drawn irregularly shaped region to identify a color. The Delta E (the color difference in LAB color space) is then calculated for every pixel in the image between that pixel's color and the average LAB color of the drawn region. The user can then specify a number that says how close to that color would they like to be. The software will then find all pixels within that specified Delta E of the color of the drawn region.

Cite As

Image Analyst (2026). Color segmentation by Delta E color difference (https://au.mathworks.com/matlabcentral/fileexchange/31118-color-segmentation-by-delta-e-color-difference), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Convert between RGB and Color Names

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0