Package org.geotools.image.test
Class ImageComparator
- Object
-
- ImageComparator
-
public class ImageComparator extends Object
Utility to compare two images and verify if the are equal to the human eye, or not. See theImageComparator.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 Modifier and Type Class Description static class
ImageComparator.Mode
-
Constructor Summary
Constructors Constructor Description ImageComparator(ImageComparator.Mode mode, RenderedImage image1, RenderedImage image2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMismatchCount()
double
getMismatchPercent()
-
-
-
Constructor Detail
-
ImageComparator
public ImageComparator(ImageComparator.Mode mode, RenderedImage image1, RenderedImage image2)
-
-