public static class ColorImageComparator.ForegroundColorMap extends Object implements ColorImageComparator.ColorMap
foreground color to white, other - to black.| Constructor and Description |
|---|
ForegroundColorMap(int foreground)
Constructs a ColorImageComparator$ForegroundColorMap object.
|
public ForegroundColorMap(int foreground)
foreground - Foreground color.public int mapColor(int rgb)
ColorImageComparator.ColorMapmapColor in interface ColorImageComparator.ColorMaprgb - an original color.Copyright © 2018. All rights reserved.