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!