189190191192193194195196197
RenderedImage srcRI = getSource().createRendering(rc); if(srcRI == null) return null; return new ComponentTransferRed(convertSourceCS(srcRI), getTransferFunctions(), rc.getRenderingHints()); }
167168169170171172173
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); }