Code covered by the BSD License  

Highlights from
Color segmentation by Delta E color difference

5.0

5.0 | 1 rating Rate this file 105 Downloads (last 30 days) File Size: 356.1 KB File ID: #31118
image thumbnail

Color segmentation by Delta E color difference

by Image Analyst

 

19 Apr 2011

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

| Watch this File

File Information
Description

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.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.12 (2011a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
18 Oct 2011 dion

can i use it for index image???

18 Oct 2011 Image Analyst

You can use it for indexed images if you convert the indexed image into an RGB image with ind2rgb().

03 Nov 2011 arman Yaraee

It doesn't work. Whenever I draw a region it gives error of too many output arguments!!

05 Nov 2011 Image Analyst

arman: How did you run it? What was the exact error message? I just downloaded it and ran it, and it was fine. Click my name above and then click the "Contact Author" link to send me this information.

29 Mar 2012 Marium Malik

Have messaged you the error

29 Mar 2012 pratibha  
25 May 2012 Image Analyst

Marium: I don't recall getting anything from you.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image processing Image Analyst 19 Apr 2011 13:25:43
color Image Analyst 19 Apr 2011 13:25:43
segmentation Image Analyst 19 Apr 2011 13:25:43
segmentation Eleutherios 19 Mar 2012 04:00:58

Contact us at files@mathworks.com