9899100101102103104105106107108
pb = new ParameterBlock(); pb.addSource(redMask); pb.add(blurKernel); redMask = JAI.create("LCSeparableConvolve", pb, null); return new RedMaskBlackener(back, redMask, null); // return Functions.fromByteToUShort(redMask, null); } else return back; }