to find the ROI surrounding the centroid
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
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 个评论
Image Analyst
2013-6-2
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!