HI there,
With reference to this topic (
https://groups.google.com/group/javacv/
browse_thread/thread/56c0b7a9b53262c8/b0aa7440442bf6e6?
hl=en&lnk=gst&q=how+to+compare#b0aa7440442bf6e6), I'm basically
trying to do exactly what the original poster was trying to do. I'm
working on a small image comparison project. Looking to use SURF to
compare two images together to see how similar they are in terms of %.
My knowledge of Java and SURF is not "extensive", so to speak, but
from my understanding, SURF does not return a similarity %, but
identifies keypoints in an image so obviously some work on quantifying
the end results would need to be done (perhaps the % can be based on
the number of geometrically valid feature points they have in common
as Samuel mentioned).
Here's the basic outline of my app:
1. User loads two images via a JFileChooser
- One source image
- One reference image
2. Both images displayed on JLabels
3. "Check Similarity" button becomes enabled and when the user clicks
it I would like SURF to be used to calculate the similarity between
the two images in terms of a percentage %, which is then displayed in
another JLabel 'Result'.
Again, my Java knowledge is limited but I'm quite eager to implement
this. However, I'm not exactly sure how to implement it. Right now I'm
stuck with having ObjectFinder.java and BaseChildSettings.java in my
<default package> (using NetBeans). And also I obviously have the JAR
files in my Libraries. I've tried searching but I really can't find an
example/clear-cut guide on how to use ObjectFinder. Forgive me if
there is indeed an example lying around somewhere.
I'd really appreciate some help on this. Much thanks in advance. If
you need any more information about how I want my program to be please
ask :)