ZNCC-based Template Matching using Bounded Partial Correlation