Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

please use<uchar>

please use<uchar> (or simply cerr << descriptors_2;)

please use ORB descriptors are<uchar>uchar , not float, so you have to use:

 (or uchar value =<uchar>(y,x);
 cerr << (int) value << endl;

(if you omit casting to int, cerr will assume it's a letter, not a number)

also note, that can simply print out whole Mat's like:

cerr << descriptors_2;descriptors_2.row(3) << endl; // e.g. print 4th row