(ImagePlus imp, String path)
| 99 | } |
| 100 | |
| 101 | void write16gs(ImagePlus imp, String path) throws Exception { |
| 102 | ShortProcessor sp = (ShortProcessor)imp.getProcessor(); |
| 103 | BufferedImage bi = sp.get16BitBufferedImage(); |
| 104 | File f = new File(path); |
| 105 | ImageIO.write(bi, "png", f); |
| 106 | } |
| 107 | } |
no test coverage detected