To identify possible infestation sites among small spots segmented
from the binary image, a morphological filtering
approach is employed, which can eliminate or maintain the
spots on the image according to their area size by the procedure
of erosion and dilation. The erosion procedure shrinks
the spots, so that a spot will be eliminated if it is smaller
than a certain size. The dilation procedure is then performed