How to make a 2-d binary shape a little more round?
이전 댓글 표시
Hi All,
I'm new to image processing, and hope you can help: I managed to generate a binary mask indicating the location of roundish shapes in an image. The problem is that sometimes the mask is not very round and I want make it a little rounder, i.e., smooth the irregularities a bit, but not loose the original shape. Can anyone suggest a way to do that?
Thanks, Rachel
채택된 답변
추가 답변 (1개)
Wolfgang Schwanghart
2011년 6월 1일
0 개 추천
You could also use a median filter to remove small objects and irregular boundaries. In a BW image, the median image would act like a majority filter.
카테고리
도움말 센터 및 File Exchange에서 Image Filtering and Enhancement에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!