to find the ROI surrounding the centroid
    3 views (last 30 days)
  
       Show older comments
    
I have an image that has several objects in it. I have found the centroid of one of the desired objects in them. I want to create ROI surrounding this centroid alone and make other objects zero or null.
0 Comments
Accepted Answer
  Image Analyst
      
      
 on 1 Jun 2013
        Like I said in your question last month (that you accepted - thanks), that's covered in my Image Segmentation Tutorial. If you don't think it does, the post your code and show why not.
6 Comments
  Image Analyst
      
      
 on 2 Jun 2013
				Perhaps you might want to use the convex hull by using bwconvhull(). Feel free to adapt my code. I've given you a good start, but I'm not going to do the whole project for you. Good luck.
More Answers (0)
See Also
Categories
				Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
