ByteProcessor buf = (ByteProcessor) src.duplicate(); BufferedImage img = buf.getBufferedImage(); Graphics2D g = img.createGraphics();
buffer = (ByteProcessor) buffer.duplicate(); buffer.skeletonize();
src = ( ByteProcessor )ip.convertToByte( true ); final ByteProcessor dst = ( ByteProcessor )src.duplicate();
src = ( ByteProcessor )ip.convertToByte( true ); final ByteProcessor dst = ( ByteProcessor )src.duplicate();
saveHeadRuns((ByteProcessor) buffer.duplicate()); } else if (constants.keepCueSpots.isSet()) { BufferedImage img = buffer.getBufferedImage();