How to identify boundaries of shapes in an image using the change in color
42 views (last 30 days)
Image Analyst on 28 Apr 2013
If you want the color edges, then the most sensible thing is to measure Delta E - the color difference - between a pixel and its neighbors. I just gave the algorithm a few days ago here: http://www.mathworks.com/matlabcentral/answers/73635#answer_83593 An edge will have a high delta E while non-edges will have low delta E. I now have a demo script of this. Let me know if you want me to post it.
More Answers (2)
Ahmed A. Selman on 27 Apr 2013
There are few files in the file-exchange http://www.mathworks.com/matlabcentral/fileexchange/ so do some search there, you might find what you need.
Or, you can convert the colored image to binary one, then use the function (edge).