}
private static ImageLayout fblLayout(RenderedImage source) {
// SampleModel sm = new ComponentSampleModel(DataBuffer.TYPE_USHORT, source.getWidth(), source.getHeight(), 2, 2*source.getWidth(), new int[]{0, 2});
ColorModel cm = new ComponentColorModel(new BogusColorSpace(2),
false, false, Transparency.OPAQUE, DataBuffer.TYPE_USHORT);
SampleModel sm = cm.createCompatibleSampleModel(source.getWidth(), source.getHeight());
return new ImageLayout(source.getMinX(), source.getMinY(),
source.getWidth(), source.getHeight(),