i want to detect just the ROI from the image.

4 次查看(过去 30 天)
In a binary image I have two objects , from which I wanted to detect just one object and neglect the others. Is there any sutomated detection to find object other tham selecting ROI by roipoly, imfreehand, roicolor etc???

采纳的回答

Image Analyst
Image Analyst 2013-4-13
There are lots of ways to define an ROI. Take a look at my BlobsDemo Image Segmentation Tutorial where I define the foreground ROI on the basis of intensity. You can also do it based on color, different from a prior frame of video, etc. etc.
If you want me to post my demo where you can extract the N largest or smallest blobs, let me know.
  1 个评论
Image Analyst
Image Analyst 2013-4-14
I'm not sure what you mean. I do do that. I gave the link and in the code it shows, with comments, how the blobs are extracted by thresholding and labeling. If there is something more helpful that I can do, then let me know, but be more specific.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by