1 | initial version |
your matrix
is of double
type, thus your Mat
needs to be CV_64F, not CV_32F (which would be 'float')
2 | No.2 Revision |
your matrix
is of double
type, thus your Mat
needs to be CV_64F, not CV_32F (which would be 'float')
also, be very careful when constructing a Mat like this, see here