Image Comparison with Java (Part II)

As described in the first part a more competitive algorithm for image comparison is based on a description of the picture. Here is the ultimate goal describing an image:

  • Dimensions of the image
  • Hue of the image (Mean of the histogram)
  • Tags for the picture (extracted from the context)
  • List of shapes in the image

Where as a shape is:

  • Form
  • Hue of the shape

It is conceivable trivial to process an image to display these characteristics, but it is not trivial to find a description of the shapes that is easily comparable.
The following describes an algorithm to find the contours in a binary image. The basic idea for the algorithm is described in the article on Morphological Image Processing. „Image Comparison with Java (Part II)“ weiterlesen

Image Comparison with Java (Part I)

It was several years ago, when I had the idea for image comparison. Then the chosen language had been C# because the features of DirectX. As it happens with such ideas they got put aside. Today I revisited the idea and made some discoveries:

  • I changed form Windows to Linux, so a .Net based language may not be optimal
  • DirectX is not portible as is OpenGL
  • Java provides now functionality for image processing
  • With the upcoming version 7 of the JDK, Java gets excellent OpenGL support

Therefore I would like to outline the ideas a bit further.
„Image Comparison with Java (Part I)“ weiterlesen