// same as SubsampleBinaryToGray, and change byteLoop to protected in superclass?
// extends that and save this? using prote
private void byteLoop(Raster source, WritableRaster dest, Rectangle destRect) {
PixelAccessor pa = new PixelAccessor(source.getSampleModel(), null);
PackedImageData pid =
pa.getPackedPixels(source, source.getBounds(), false, false);
byte[] sourceData = pid.data;
int sourceDBOffset = pid.offset;
int dx = destRect.x; int dy = destRect.y;
int dwi = destRect.width; int dhi = destRect.height;