You can pass those boundaries into poly2mask and crate a binary image. Then pass that into activecontour to get smoothed boundaries. See attached demo. Or you could try a different filter such as a LOG or DOG filter.
smothing crooked boundary of cell images
2 次查看(过去 30 天)
显示 更早的评论
Hi
I am trying to segment images of some cells. The I have almost done it completely, but in my final image the boundaries of the cells are not smooth because of some blob of pixels connected to the boundary. I was not able to get rid of these blobs at an earlier stage without effecting the detection of the boundary of the cells as well.
Is there any way I can smooth out the boundaries? I have an idea about how it can be done, but dont know how to implement it. What I had in mind is to use the elliptical shape of the cells as a reference and remove the unwanted pixels. Also, some of the cells are split into two by a septum. Therefore, each elliptical cell is split into two halves of an ellipse.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!