SampleModel sm = srcRI.getSampleModel();
int bands = sm.getNumBands();
// System.out.println("Slope, Intercept: " + slope + ", " + intercept);
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);
}