public class ImagesComparator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImagesComparator.Params
The comparison parameters.
|
static class |
ImagesComparator.Result
The comparison result.
|
| Constructor and Description |
|---|
ImagesComparator() |
ImagesComparator(ImagesComparator.Params params) |
| Modifier and Type | Method and Description |
|---|---|
ImagesComparator.Result |
compareImages(BufferedImage biA,
BufferedImage biB)
Compare two images.
|
ImagesComparator.Result |
compareImages(BufferedImage biA,
File fileB)
Compare two images.
|
ImagesComparator.Result |
compareImages(BufferedImage biA,
URL fileB)
Compare two images.
|
ImagesComparator.Result |
compareImages(File fileA,
File fileB)
Compare two images.
|
ImagesComparator.Result |
compareImages(URL fileA,
URL fileB)
Compare two images.
|
ImagesComparator.Params |
getParams()
Return the comparison parameters.
|
public ImagesComparator()
public ImagesComparator(ImagesComparator.Params params)
public ImagesComparator.Params getParams()
public ImagesComparator.Result compareImages(File fileA, File fileB)
fileA - the first imagefileB - the second imagepublic ImagesComparator.Result compareImages(URL fileA, URL fileB)
fileA - the first imagefileB - the second imagepublic ImagesComparator.Result compareImages(BufferedImage biA, URL fileB)
biA - the first imagefileB - the second imagepublic ImagesComparator.Result compareImages(BufferedImage biA, File fileB)
biA - the first imagefileB - the second imagepublic ImagesComparator.Result compareImages(BufferedImage biA, BufferedImage biB)
biA - the first imagebiB - the second image