MATLAB Answers

Creating Circular shapes in a binary image

14 views (last 30 days)
raviraja
raviraja on 22 Mar 2014
Commented: raviraja on 24 Mar 2014
I want to make the white shapes as circular is there any morphological operations available in matlab..?
thanks in advance

  0 Comments

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 22 Mar 2014
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 Comments

raviraja
raviraja on 23 Mar 2014
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.. :)
Image Analyst
Image Analyst on 23 Mar 2014
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.
raviraja
raviraja on 24 Mar 2014
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

Sign in to comment.

Sign in to answer this question.