c++ - opencv SIFT/SURF: output best match from one to many comparison -


im using matching many images sample opencv here's original version

im struggling understand code, i'm looking calculate , output image has most/best matches.

what thought use example

`if(querydescriptors.rows == traindescriptors.rows) { imshow(bestmatch, mat of trainimage); }`  

but i'm unsure how acquire specific image vector of mat's?

thank you


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -