matchTemplate uses convolve when template size isn't small