Template Matching in computer vision