A fast template matching algorithm based on principal orientation difference. (25th May 2018)