The morphological filtering
function performs operations on spots in binary images,
and the filtering retains particles resistant to a specified iteration
of erosion by a 3×3 structuring element.We utilized this
morphological filtering function to screen noise or undesirable
spots using the iteration number as an operational parameter