How can I compare two images in Java? -


i have 5 images default in program, , allow user choose image desktop. program determine image between 5 images closest 1 user image.

can me , take me start of idea?

you can try use feature extraction algorithm sift, surf etc. compare extracted features database. can select best matching image based on number of correct matches.

generally sift works fine 2d objects, picture of label or advertisement board. rotation on 2d plane or scale wont matter if using sift. surf supposed improvement of sift not have experience on it.

these algorithms said bit heavy. anyway if matching 5 images wont of problem.(or can calculate descriptors(features) of images before hand , store them. @ run time have descriptor of user image , compare it) still if trying match images of basic shapes squares , circles, using square detection or circle detection might efficient performance wise.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -