First time here? Check out the FAQ!

Ask Your Question
0

how to use SURF to compare two images from image database

asked Jan 9 '13

GCCen gravatar image

updated Jan 9 '13

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.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Jan 10 '13

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.

Preview: (hide)

Question Tools

Stats

Asked: Jan 9 '13

Seen: 2,002 times

Last updated: Jan 10 '13