public class PixelMatcherRgb extends PixelMatcherBase implements PixelMatcher
Constructor and Description |
---|
PixelMatcherRgb() |
PixelMatcherRgb(double minColorDistFactor,
double colorBlendFactor) |
Modifier and Type | Method and Description |
---|---|
WritableImage |
createEmptyMatchImage(Image image0,
Image image1)
|
Color |
createMatchColor(Color color0,
Color color1)
Creates a color that represents a match between the two images' pixels
|
Color |
createNonMatchColor(Color color0,
Color color1)
Creates a color that represents a mismatch between the two images' pixels
|
boolean |
matchColors(Color color0,
Color color1)
Returns true if
color0 is close enough to color1 as determined by a color distance/factor. |
match
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match
public PixelMatcherRgb()
public PixelMatcherRgb(double minColorDistFactor, double colorBlendFactor)
public boolean matchColors(Color color0, Color color1)
PixelMatcher
color0
is close enough to color1
as determined by a color distance/factor.matchColors
in interface PixelMatcher
public WritableImage createEmptyMatchImage(Image image0, Image image1)
PixelMatcher
createEmptyMatchImage
in interface PixelMatcher
public Color createMatchColor(Color color0, Color color1)
PixelMatcher
createMatchColor
in interface PixelMatcher
public Color createNonMatchColor(Color color0, Color color1)
PixelMatcher
createNonMatchColor
in interface PixelMatcher