Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

your matrix is of doubletype, thus your Matneeds to be CV_64F, not CV_32F (which would be 'float')

your matrix is of doubletype, thus your Matneeds to be CV_64F, not CV_32F (which would be 'float')

also, be very careful when constructing a Mat like this, see here