to find the ROI surrounding the centroid

3 ビュー (過去 30 日間)
BV 2013 年 6 月 1 日
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.


Image Analyst
Image Analyst 2013 年 6 月 1 日
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 件のコメント
BV 2013 年 6 月 2 日
thank you once again) bwconvhull()doesnt work that well. I have a centroid position.I want to create a rectangle of a particular dimension sround this centroid. Is there any function to do make a rect around the centroid? I don know how to use the centroid in 'imrect()'.


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by