Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AKAZE descriptors are uchar Mat's, both Vec3b features = desc1.at<Vec3b>(2, 2); and descriptor.at<float>(0,0); are wrong.

the only correct way would be:

descriptor.at<uchar>(m,n); //  m in [0..descriptor.rows]  n in [0..60]

please try to avoid this kind of coding at all, just print out the whole Mat, like:

cout << descriptor << endl; //