First time here? Check out the FAQ!
answered 2014-05-26 08:13:33 -0600
Thank you berak! The problem was due to the different type of the matrix result (float) and minVal and maxVal in matchTemplate, which are double.