This content has been marked as final. Show 4 replies
why dont you convert the images to 2D arrays and then compare them?
What if we have different sizes(resolutions)?
What is the best way to scale them?
You want to compare these two image to find what ? In other word in case program find something what event you want to happen ?
Also you can collect full information from this link : http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/JAITOC.fm.html
If the images are of different resolutions and you have to scale one of them, chances are that you won't have a pixel-for-pixel match even if the pictures were of exactly the same thing. You should check to see whether pixels are similar up to a certain threshold instead.