Creating Circular shapes in a binary image
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to make the white shapes as circular is there any morphological operations available in matlab..?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159240/image.jpeg)
thanks in advance
댓글 수: 0
답변 (1개)
Image Analyst
2014년 3월 22일
I'm not sure what that means. Do you want to create a new image where each blob is replaced by a perfect circle that would have the same area as your original blob? If so, use regionprops to get the EquivDiameter and Centroid, and use the FAQ on circles to place a circle at each centroid.
댓글 수: 3
Image Analyst
2014년 3월 23일
The FAQ shows you how to make circles.
You can use watershed to cut a blob into two parts.
I still don't understand your question or your reply.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!