Login  Register

TIF with Overlay

Posted by Phase GmbH on May 02, 2014; 10:48am
URL: http://imagej.273.s1.nabble.com/TIF-with-Overlay-tp5007549.html

Hi,

I am using the ij.jar library in a stand-alone Java  project.

I can save a 16 bit image having a overlay by method IJ.saveAs
successfully. When I reload the saved image file by method IJ.openImage
(followed by the show() method of ImagePlus) it is displayed properly
but the overlay is missing. The getOverlay method of the corresponding
ImagePlus is returning null.

However, when I open that specific file in the work space of ImageJ the
image is displayed including overlay. The ij.jar version is identical in
both cases.

How can I make visible the the overlay in my application?

Regards

Christian Kreutzfeldt

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html