PlanarImage monochrome = JAI.create("BandCombine", pb, null);
RenderingHints layoutHints = new RenderingHints(JAI.KEY_IMAGE_LAYOUT, Functions.getImageLayout(labImage));
// layoutHints.add(JAIContext.noCacheHint);
pb = new ParameterBlock();
pb.addSource(monochrome);
pb.addSource(abImage);
PlanarImage maskImage = JAI.create("BandMerge", pb, layoutHints);
colorSelectionMask = new RGBColorSelectionMaskOpImage(maskImage, getColorSelection(), null);