RGBImageFilter.filterIndexColorModel
Class Overview | Class Members |
This Package |
All Packages
public IndexColorModel filterIndexColorModel( IndexColorModel icm )
Parameters
- icm
- the IndexColorModel object to be filtered
Returns
a new IndexColorModel representing the filtered colors
Description
Filters an IndexColorModel object by running each entry in its
color tables through the filterRGB function that RGBImageFilter
subclasses must provide. Uses coordinates of -1 to indicate that
a color table entry is being filtered rather than an actual
pixel value.