introduction to template matching 3774181