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개)

Image Analyst
Image Analyst 2014년 3월 22일

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.
raviraja
raviraja 2014년 3월 24일
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

댓글을 달려면 로그인하십시오.

질문:

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