public class ColorMapFilter extends Filter
A ColorMapFilter is a Filter that uses a Map<Color,Color> to replace some RGB values with others in the filtered image. All pixels in the original image that share their RGB value with a key in the ColorMapFilter's Map will have their RGB value replaced with that of the key's value. The alpha values of the Colors in the Map are irrelevant to the ColorMapFilter's behavior, and the alpha values of the original image's pixels are left unchanged in the filtered image.
|Constructor and Description|
Constructs a ColorMapFilter that uses the specified Map.
|Modifier and Type||Method and Description|
Returns an unmodifiable view of the Map that this ColorMapFilter uses.