C D E G H I M P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- com.github.romankh3.image.comparison - package com.github.romankh3.image.comparison
- com.github.romankh3.image.comparison.exception - package com.github.romankh3.image.comparison.exception
- com.github.romankh3.image.comparison.model - package com.github.romankh3.image.comparison.model
- compareImages() - Method in class com.github.romankh3.image.comparison.ImageComparison
-
Draw rectangles which cover the regions of the difference pixels.
- contains(Point) - Method in class com.github.romankh3.image.comparison.model.ExcludedAreas
- createDefault() - Static method in class com.github.romankh3.image.comparison.model.Rectangle
-
Create default
Rectangle
object. - createMask() - Method in class com.github.romankh3.image.comparison.ImageComparison
-
Returns the list of rectangles that would be drawn as a diff image.
- createZero() - Static method in class com.github.romankh3.image.comparison.model.Rectangle
-
Create instance with zero points.
D
- defaultMatchResult(BufferedImage, BufferedImage) - Static method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
-
Create default instance of the
ImageComparisonResult
withImageComparisonState.MATCH
. - defaultMisMatchResult(BufferedImage, BufferedImage, float) - Static method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
-
Create default instance of the
ImageComparisonResult
withImageComparisonState.MISMATCH
. - defaultSizeMisMatchResult(BufferedImage, BufferedImage, float) - Static method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
-
Create default instance of the
ImageComparisonResult
withImageComparisonState.SIZE_MISMATCH
.
E
- equals(Object) - Method in class com.github.romankh3.image.comparison.model.Rectangle
- ExcludedAreas - Class in com.github.romankh3.image.comparison.model
-
The area that will be excluded, masked, in the image.
- ExcludedAreas() - Constructor for class com.github.romankh3.image.comparison.model.ExcludedAreas
-
Create empty instance of the
ExcludedAreas
. - ExcludedAreas(List<Rectangle>) - Constructor for class com.github.romankh3.image.comparison.model.ExcludedAreas
-
Create instance of the
ExcludedAreas
with providedRectangle
areas.
G
- getActual() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getActual() - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- getAllowingPercentOfDifferentPixels() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getDestination() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getDifferencePercent() - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- getDifferencePercent(BufferedImage, BufferedImage) - Static method in class com.github.romankh3.image.comparison.ImageComparisonUtil
-
Return the difference in percent between two buffered images.
- getExcluded() - Method in class com.github.romankh3.image.comparison.model.ExcludedAreas
- getExpected() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getExpected() - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- getHeight() - Method in class com.github.romankh3.image.comparison.model.Rectangle
-
Count the height of the
Rectangle
. - getImageComparisonState() - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- getMaximalRectangleCount() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getMaxPoint() - Method in class com.github.romankh3.image.comparison.model.Rectangle
- getMinimalRectangleSize() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getMinPoint() - Method in class com.github.romankh3.image.comparison.model.Rectangle
- getPercentOpacityDifferenceRectangles() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getPercentOpacityExcludedRectangles() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getPixelToleranceLevel() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getRectangleLineWidth() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getRectangles() - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- getResult() - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- getThreshold() - Method in class com.github.romankh3.image.comparison.ImageComparison
- getWidth() - Method in class com.github.romankh3.image.comparison.model.Rectangle
-
Count the width of the
Rectangle
.
H
- hashCode() - Method in class com.github.romankh3.image.comparison.model.Rectangle
I
- ImageComparison - Class in com.github.romankh3.image.comparison
-
Main class for comparison images.
- ImageComparison(BufferedImage, BufferedImage) - Constructor for class com.github.romankh3.image.comparison.ImageComparison
-
Create a new instance of
ImageComparison
that can compare the given images. - ImageComparison(BufferedImage, BufferedImage, File) - Constructor for class com.github.romankh3.image.comparison.ImageComparison
-
Create a new instance of
ImageComparison
that can compare the given images. - ImageComparison(String, String) - Constructor for class com.github.romankh3.image.comparison.ImageComparison
-
Create a new instance of
ImageComparison
that can compare the given images. - ImageComparisonException - Exception in com.github.romankh3.image.comparison.exception
-
A
RuntimeException
that is thrown in case of an image comparison failures. - ImageComparisonException(String) - Constructor for exception com.github.romankh3.image.comparison.exception.ImageComparisonException
-
Constructs a new
ImageComparisonException
with the specified detail message. - ImageComparisonException(String, Throwable) - Constructor for exception com.github.romankh3.image.comparison.exception.ImageComparisonException
-
Constructs a new
ImageComparisonException
with the specified detail message and cause. - ImageComparisonResult - Class in com.github.romankh3.image.comparison.model
-
Data transfer objects which contains all the needed data for result of the comparison.
- ImageComparisonResult() - Constructor for class com.github.romankh3.image.comparison.model.ImageComparisonResult
- ImageComparisonState - Enum in com.github.romankh3.image.comparison.model
-
Enum for telling the result of the Comparison.
- ImageComparisonUtil - Class in com.github.romankh3.image.comparison
-
Tools for the
ImageComparison
object. - ImageComparisonUtil() - Constructor for class com.github.romankh3.image.comparison.ImageComparisonUtil
- ImageNotFoundException - Exception in com.github.romankh3.image.comparison.exception
-
RuntimeException
that is thrown in case of an image getting failures. - ImageNotFoundException(String) - Constructor for exception com.github.romankh3.image.comparison.exception.ImageNotFoundException
-
Constructs a new
ImageNotFoundException
with the specified detail message. - isDrawExcludedRectangles() - Method in class com.github.romankh3.image.comparison.ImageComparison
- isFillDifferenceRectangles() - Method in class com.github.romankh3.image.comparison.ImageComparison
- isFillExcludedRectangles() - Method in class com.github.romankh3.image.comparison.ImageComparison
- isOverlapping(Rectangle) - Method in class com.github.romankh3.image.comparison.model.Rectangle
-
Check is that rectangle overlapp this.
M
- makeZeroRectangle() - Method in class com.github.romankh3.image.comparison.model.Rectangle
-
Make zero rectagle.
- MATCH - com.github.romankh3.image.comparison.model.ImageComparisonState
-
Result state of the images, where images are equal, e.g.
- merge(Rectangle) - Method in class com.github.romankh3.image.comparison.model.Rectangle
-
Create new
Rectangle
via merging this and that. - MISMATCH - com.github.romankh3.image.comparison.model.ImageComparisonState
-
Result state of the comparison, where mismatch of the images.
P
- pixelDiff(int, int) - Static method in class com.github.romankh3.image.comparison.ImageComparisonUtil
-
Compare two pixels
R
- readImageFromResources(String) - Static method in class com.github.romankh3.image.comparison.ImageComparisonUtil
-
Read image from the provided path.
- Rectangle - Class in com.github.romankh3.image.comparison.model
-
Object contained data for a rectangle.
- Rectangle(int, int, int, int) - Constructor for class com.github.romankh3.image.comparison.model.Rectangle
-
Create instance of the
Rectangle
based on the provided coordinates. - Rectangle(Rectangle) - Constructor for class com.github.romankh3.image.comparison.model.Rectangle
-
Create clone object based on the provided
Rectangle
. - resize(BufferedImage, int, int) - Static method in class com.github.romankh3.image.comparison.ImageComparisonUtil
-
Resize image to new dimensions and return new image.
S
- saveImage(File, BufferedImage) - Static method in class com.github.romankh3.image.comparison.ImageComparisonUtil
-
Save image to the provided path.
- setActual(BufferedImage) - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- setAllowingPercentOfDifferentPixels(double) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setDefaultValues() - Method in class com.github.romankh3.image.comparison.model.Rectangle
-
Set default values for rectangle.
- setDestination(File) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setDifferenceRectangleFilling(boolean, double) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setDrawExcludedRectangles(boolean) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setExcludedAreas(List<Rectangle>) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setExcludedRectangleFilling(boolean, double) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setExpected(BufferedImage) - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- setImageComparisonState(ImageComparisonState) - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- setMaximalRectangleCount(Integer) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setMaxPoint(Point) - Method in class com.github.romankh3.image.comparison.model.Rectangle
- setMinimalRectangleSize(Integer) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setMinPoint(Point) - Method in class com.github.romankh3.image.comparison.model.Rectangle
- setPixelToleranceLevel(double) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setRectangleLineWidth(int) - Method in class com.github.romankh3.image.comparison.ImageComparison
- setRectangles(List<Rectangle>) - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- setResult(BufferedImage) - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
- setThreshold(int) - Method in class com.github.romankh3.image.comparison.ImageComparison
- size() - Method in class com.github.romankh3.image.comparison.model.Rectangle
-
Size of the
Rectangle
, counted as width x height. - SIZE_MISMATCH - com.github.romankh3.image.comparison.model.ImageComparisonState
-
Result state of the comparison, where mismatch of the image sizes.
T
- toBufferedImage(Image) - Static method in class com.github.romankh3.image.comparison.ImageComparisonUtil
-
Convert image to buffered image.
V
- valueOf(String) - Static method in enum com.github.romankh3.image.comparison.model.ImageComparisonState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.romankh3.image.comparison.model.ImageComparisonState
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- writeResultTo(File) - Method in class com.github.romankh3.image.comparison.model.ImageComparisonResult
-
Save the image to the provided
File
object.
All Classes All Packages