The morphological operation will process the video signal coming from the output of the median filtering sub-block in such way that all erroneous blobs residing in the image are eliminated and all and only the correctly detected blob is maintained and classified as a real contact.