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)
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)