¿Tamaño correcto de bits en descriptores enérgicos? opencv

I have a little problem of comprehension.

The standard type of a Brisk descriptor Mat value in opencv is an unsigned char value with a standard size of 8 bit. A complete descriptor of a KeyPoint has a size of 16 unsigned char values. 8bitx16 = 128bit although in papers you just find out that you have a 512 bit descriptor.

Can anybody help me out of that mismatch? I have not found out in the OpenCV documentation if the bitsize of the descriptors is scalable (yet?).

preguntado el 28 de mayo de 14 a las 12:05

1 Respuestas

Where did you find that 16 figure? It seems to be wrong.

Mat img = imread( "lena.png", cv::IMREAD_GRAYSCALE );

BRISK brisk;
vector<KeyPoint> kp;

Mat desc;
brisk.compute( img, kp, desc) ;
cerr << desc.rows << " " << desc.cols << " " << desc.type() << endl;

167 64 0

So, 167 BRISK descriptors a 64 bytes found (that's 512 bits per descriptor).

Respondido el 08 de junio de 14 a las 23:06

Thanks for answer. I have changed rows an cols. I have let me confusing by a documentary example. Thx again! - Ingeborg

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.