|
Bugzilla – Bug 278 |
Cannot save montaged image as a TIFF |
Last modified: 2011-02-03 01:35:39 CST |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
Hi Yuriy, TrakEM2 relies mostly on its own right-click popup menu. To export the montaged tiles as a flat, large image, right-click and choose "Export - Make flat image". It will give the choice of 8-bit or RGB. If you want 16-bit ot 32-bit, you'll have to write a 5-line script to use the static method Patch. In jython: from java.awt import Color layer = Display.getFrontLayer() flat = Patch.makeFlatImage(ImagePlus.GRAY16, layer, layer.getParent.get2DBounds(), 1.0, layer.getDisplayables(Patch), Color.black) FileSaver(ImagePlus("flat", flat)).saveAsTiff("/path/to/file.tif") Have a look at: http://pacific.mpi-cbg.de/javadoc/ini/trakem2/display/Patch.html#makeFlatImage(int, ini.trakem2.display.Layer, java.awt.Rectangle, double, java.util.Collection, java.awt.Color)