Package org.geotools.image.test
Class ImageComparator
Object
ImageComparator
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,
https://github.com/Huddle/Resemble.js- Author:
- Andrea Aime - GeoSolutions
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionImageComparator
(ImageComparator.Mode mode, RenderedImage image1, RenderedImage image2) -
Method Summary
-
Constructor Details
-
ImageComparator
-
-
Method Details
-
getMismatchPercent
public double getMismatchPercent() -
getMismatchCount
public long getMismatchCount()
-