pb.addSource(input);
pb.add(scale);
pb.add(scale);
// Because the mlib subsampleaverage has bug, use pure java version
SubsampleAverageCRIF factory = new SubsampleAverageCRIF();
PlanarImage zoomOp = (PlanarImage) factory.create(pb, qualityHints);
return zoomOp;
}