Template matching based on a grayscale hit-or-miss transform | IEEE Journals & Magazine | IEEE Xplore