Preprocessing raw binary images by means of contours | IEEE Conference Publication | IEEE Xplore