Morphological operations can be used to remove
isolated pixels and holes in the images. Especially
morphological FILL operation is necessary, which is helpful
for removing holes of mask images. It can affect directly the
continuousness of moving regions.