Class ImageComparator

  • public class ImageComparator
    extends Object
    Utility to compare two images and verify if the are equal to the human eye, or not. See the ImageComparator.Mode enumeration for comparison modes. The image comparison logic has been ported to Java from Resemble.js,
    Andrea Aime - GeoSolutions
    • Constructor Detail

      • ImageComparator

        public ImageComparator​(ImageComparator.Mode mode,
                               RenderedImage image1,
                               RenderedImage image2)
    • Method Detail

      • getMismatchPercent

        public double getMismatchPercent()
      • getMismatchCount

        public long getMismatchCount()