This paper presents an improved template matching method that combines both spatial and orientation information in a simple and effective way. The spatial information is obtained through a generalized distance transform (GDT) that weights the distance transform more on the strong edge pixels and the orientation information is represented as an orientation map (OM) which is calculated from local gradient. We applied the proposed method to detect humans, cars, and maple leaves from images. The experimental results have shown that the proposed method outperforms the existing template matching methods and is robust against cluttered background.
Available at: http://works.bepress.com/wli/4/