title: Image comparison of HD and SD images using Java
body: <p>I have a database containing both the SD and HD version of same set of images. Problem is that their names are different from each other.</p>
  
  <p>For example an image of a flower in SD has a name <code>greatflower.png</code> and the same flower has HD version with the name <code>bestflower.png</code></p>
  
  <p>The challenge is to find a similarity between them. I have tried resizing the images to the same width and height and then pixel by pixel comparing them but the results are not accurate. I just want to have an answer in terms of yes or no after the algorithm is done performing comparison between a pair of images.</p>
  
  <p>My question is which library of java or algorithm will perform a perfect image similarity analysis between an HD and SD version of the image ? </p>
  
  <p>Thanking you all in anticipation :)</p>