필터 지우기
필터 지우기

how to apply morphological operators to remove isolated pixels from conour

조회 수: 2 (최근 30일)
thoraya
thoraya 2017년 2월 6일
답변: Image Analyst 2017년 2월 6일
Hello, I have a binary image in which the contour pixels are white and the remainder is black. The problem is in some cases, there are isolated pixels which have a single neighbor. I want to remove these pixels by using the mophological operators. Any help would be appreciated!
thanks

답변 (1개)

Image Analyst
Image Analyst 2017년 2월 6일
Try bwareaopen(), or bwareafilt().

Community Treasure Hunt

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

Start Hunting!

Translated by