Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Mat H2(3,3, CV_64F); mean you have a matrix of double. Then you must use H2.at<double>(g,g1) (and not float)

click to hide/show revision 2
No.2 Revision

Mat H2(3,3, CV_64F); mean you have a matrix of double. Then you must use H2.at<double>(g,g1) (and not float)

If you want a matrix of float you must use Mat H2(3,3, CV_32F)