how to apply morphological operators to remove isolated pixels from conour
6 views (last 30 days)
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!