How to segment an object from a RGB image using histogram thresholding?

2 views (last 30 days)
Dear Team,
I've got a RGB image with more than one objects in it. How do i automatically segment the objects from its background (each object in separate figure) using histogram thresholding (multimodal). I referred the demo by image analyst for grey scale in the link "http://www.mathworks.in/matlabcentral/answers/38235-histogram-of-image". The demo was very much helpful for greyscale. Could you guide me with the steps for proceeding with RGB image. Also request you to kindly suggest some reference papers if any.Thank you.
Cheers, Malini
  2 Comments
Narges M
Narges M on 23 Jul 2013
Can't you treat each channel (Red, Green and Blue) as a seperate image, compute the histogram and segment the image, and then combine your results?

Sign in to comment.

Answers (2)

Explorer
Explorer on 31 Dec 2013

Image Analyst
Image Analyst on 31 Dec 2013
I have several color segmentation demos in my File Exchange. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 one of these should probably work. Post your image if you're still interested.

Community Treasure Hunt

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

Start Hunting!