Image segmentation using two binary masks

8 views (last 30 days)
The aim of my image segmentation task is to completely extract the object of interest. I have two image segmentation methods. With the first method I get a portion of the desired object (not all of it, somewhere around 10-50% of the total object) but there are no false positives in this image segmentation mask.
With the second method I get all of my desired object along with other false positives. Now I need to use these two images to completely extract my object of interest. I was thinking along the lines of using connected component analysis or using the first image as a seed to grow the region in the second image. Any thoughts or suggestions would be welcome (pertinent to the topic, of course).
Below I've attached the two images i am referring to. the bottom one is the minimal mask and the top one is the noisy mask.
  1 Comment
Omair
Omair on 4 Dec 2013
Edited: Omair on 4 Dec 2013
Anybody, any useful ideas or tips on how I could go about tackling this problem. I tried correlation between the patch and the second image but not much luck.
Another idea i had was to create a mixture of gaussian using the patch from the second image and then calculating the probability of pixels from the first image belonging to this mixture. But without a false model I can't do much with this model.
Over here I've just shown the binary masks but i have the gray scale and the rgb images available as well.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 4 Dec 2013
It would be useful to see the original image. But if you're sure you can get the large blob, knowing that the small blob is contained within it, then you can use imreconstruct(). It will take one of more "markers" in a binary image. Then, given a binary image which contains more blobs, some of which may contain the small marker blobs, and some blobs which don't contain any marker blob, then it will give you only the blobs that contain marker blobs and exclude the blobs that don't contain marker blobs.
  8 Comments
Image Analyst
Image Analyst on 5 Dec 2013
If your larger binary image is junk, then imreconstruct will pull out just one junky region of it. You need to improve your segmentation of it. You're probably doing just simple thresholding, which is often not a good method for color scenes.
Omair
Omair on 5 Dec 2013
The result shown above is from a GMM based segmentation. But when a colour based segmentation method is used there are bound to be objects with similar colour to the true class objects.
I tried working with a System identification approach (doretto et al). Using the detected patch as an identifier. The results of that were not as good as I expected.
Can you suggest any other patch based object recognition approaches.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!