Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

what does the dimensions of the desriptors and MatOfDMatch indicate?

I just want to understand why the .match(descrip_1, descrip_2, matches) produces MatOfDMatch object whose width == 1 and its height == height of descrip_1? I created an example and as you see below in the result, both descrip_1 and descrip_2 has width of 64 columns?! and the matches has i columns as width and 354 rows as height?!

can you please explain why always the matches object has one columns and number of rows == descript_1's number of rows?

and as descript_1 and descript_2 has width of 64 column, what the width of descrip_1 or descript_2 contains?

Debug: MainClass -> descriptorMatcher: descrip_1.size: 64x354
Debug: MainClass -> descriptorMatcher: descrip_1.height().height: 354.0
Debug: MainClass -> descriptorMatcher: descrip_1.rows: 354
Debug: MainClass -> descriptorMatcher: descrip_2.size: 64x554
Debug: MainClass -> descriptorMatcher: descrip_2.height().height: 554.0
Debug: MainClass -> descriptorMatcher: descrip_2.rows: 554
Debug: MainClass -> descriptorMatcher: matches.size: 1x354
Debug: MainClass -> descriptorMatcher: matches.size().height: 354.0
Debug: MainClass -> descriptorMatcher: matches.rows: 354