RGBImageFilter.substituteColorModel

RGBImageFilter.substituteColorModel

Class Overview | Class Members | This Package | All Packages

Syntax
public void substituteColorModel( ColorModel oldcm, ColorModel newcm )
Parameters
oldcm
the ColorModel object to be replaced on the fly
newcm
the ColorModel object to replace oldcm on the fly
Description
Registers two ColorModel objects for substitution. If the oldcm is encountered during any of the setPixels methods, the newcm is substituted and the pixels passed through untouched (but with the new ColorModel object).