156157158159160161162163164
RenderedImage srcRI = getSource().createRendering(rc); if(srcRI == null) return null; return new ComponentTransferRed(convertSourceCS(srcRI), getTransferFunctions(), rc.getRenderingHints()); }
134135136137138139140
TransferFunction [] tfs = new TransferFunction[bands]; TransferFunction tf = new LinearTransfer(slope, intercept); for (int i=0; i<tfs.length; i++) tfs[i] = tf; return new ComponentTransferRed(convertSourceCS(srcRI), tfs, null); }
157158159160161162163164165