public class PixelMatcherRgb extends PixelMatcherBase implements PixelMatcher
| Constructor and Description |
|---|
PixelMatcherRgb() |
PixelMatcherRgb(double minColorDistFactor,
double colorBlendFactor) |
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.image.WritableImage |
createEmptyMatchImage(javafx.scene.image.Image image0,
javafx.scene.image.Image image1)
Creates a new
WritableImage using image0's width and image1's height. |
javafx.scene.paint.Color |
createMatchColor(javafx.scene.paint.Color color0,
javafx.scene.paint.Color color1)
Creates a color that represents a match between the two images' pixels.
|
javafx.scene.paint.Color |
createNonMatchColor(javafx.scene.paint.Color color0,
javafx.scene.paint.Color color1)
Creates a color that represents a mismatch between the two images' pixels.
|
boolean |
matchColors(javafx.scene.paint.Color color0,
javafx.scene.paint.Color color1)
Returns true if
color0 is close enough to color1 as determined by a color
distance/factor. |
matchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatchpublic PixelMatcherRgb()
public PixelMatcherRgb(double minColorDistFactor,
double colorBlendFactor)
public boolean matchColors(javafx.scene.paint.Color color0,
javafx.scene.paint.Color color1)
ColorMatchercolor0 is close enough to color1 as determined by a color
distance/factor.matchColors in interface ColorMatcherpublic javafx.scene.image.WritableImage createEmptyMatchImage(javafx.scene.image.Image image0,
javafx.scene.image.Image image1)
PixelMatcherWritableImage using image0's width and image1's height.createEmptyMatchImage in interface PixelMatcherpublic javafx.scene.paint.Color createMatchColor(javafx.scene.paint.Color color0,
javafx.scene.paint.Color color1)
PixelMatchercreateMatchColor in interface PixelMatcherpublic javafx.scene.paint.Color createNonMatchColor(javafx.scene.paint.Color color0,
javafx.scene.paint.Color color1)
PixelMatchercreateNonMatchColor in interface PixelMatcher