matchTemplate threshold and corr were not parameterizable