Ask Your Question
0

how to use SURF to compare two images from image database

asked 2013-01-09 11:44:52 -0600

GCCen gravatar image

updated 2013-01-09 11:46:15 -0600

I am trying to use SURF algorithm to match two images. source image is taking by the camera and the template images are in the database. once the camera takes the image, SURF will match the source image with the image in the database.

I am not sure how to create the image database and link it to the SURF, so it automatically start matching once the image is taking by the camera.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-01-10 04:26:40 -0600

Szippy gravatar image

Depends in what invironment you are coding, I would recommend listeners, and strore the image in database in Mat format, meaning you read the jpg for example, get them Mat descriptors, and store them with the Mat to file function I think I have seen something smiilar, but you have to google it (save mat to file or smtng). And on the server I would recommend multiple threads to compare each file saved at the same time with the camera image. I would suggest the RobustMatcher shown here Robust Matcher it filters bad results, and gives you a good answer after the SURF is done, from 1600 matches it filters the 10-50 good ones out.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-09 11:44:52 -0600

Seen: 1,958 times

Last updated: Jan 10 '13