Ask Your Question

compare image to images in database

asked 2012-08-21 01:11:06 -0500

mrgloom gravatar image

I have a lot of images and have precomputed histograms for them stored in db, how to fast find best k matches to input image?

edit retag flag offensive close merge delete


Hello, Which database are you using. I am working on similar project. Help me

dhaval257 gravatar imagedhaval257 ( 2013-03-04 22:30:31 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2012-08-21 13:29:22 -0500

Use the flann module. knnSearch function allows you to find k nearest matches. See docs:

edit flag offensive delete link more


not sure how to use this function and I must load all database record in memory? is it suitable not only for interest points matching? how it will compare my histogramms?

mrgloom gravatar imagemrgloom ( 2012-08-22 05:53:00 -0500 )edit

answered 2012-08-21 07:59:28 -0500

imran gravatar image
edit flag offensive delete link more


Yes,I already use this function to compare histograms, but maybe there is a better way than compute each-to-each difference for all records in database?

mrgloom gravatar imagemrgloom ( 2012-08-22 05:49:05 -0500 )edit

Question Tools


Asked: 2012-08-21 01:11:06 -0500

Seen: 1,708 times

Last updated: Aug 21 '12