Creating Circular shapes in a binary image
3 次查看(过去 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!