rms an erosion followed by a dilation. This helps to
remove small objects while preserving the shape and size of larger objects.</p></li>
<li><p><code>closing</code> performs a dilatation followed by an erosion. This helps to
fill small holes while preserving the shape and size of larger objects.</p></li>
<li><p><code>filter</code> performs median filtering in the binary image. Provide a positive
integer &gt; 1 to indicate the size of the median filtering. Higher values are
more efficient to remove noise in