Creating Circular shapes in a binary image

I want to make the white shapes as circular is there any morphological operations available in matlab..?
thanks in advance

回答(1 个)

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 个评论

by finding centroid using regionprops we can place a circle at each point,,, but i want to make those small white dots to circular shape (ie., adjusting it's shape to circular like using some erosion and dilation processes ) Is there any way to cut large blob into two small blobs... ?
Thanks in advance.. :)
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.
Sorry for my English..
The blobs in the image are random in shape (some are round & some are triangular and some are polygons), i want to make every shape in that image as round (circular) & Cut the Large area shapes into two halfs..
Thanks for the replay

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Image Processing Toolbox 的更多信息

提问:

2014-3-22

评论:

2014-3-24

Community Treasure Hunt

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

Start Hunting!

Translated by