how to apply morphological operators to remove isolated pixels from conour

5 Ansichten (letzte 30 Tage)
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

Antworten (1)

Image Analyst
Image Analyst am 6 Feb. 2017
Try bwareaopen(), or bwareafilt().

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by