Ask Your Question

Revision history [back]

You have to use cvGet2d instead of cvGetReal2d in your source code. In addition,you can use the cvMinMaxLoc function instead of manual calculation.