Login  Register

Re: Open a big tiff file.

Posted by cri on Jan 13, 2015; 4:25pm
URL: http://imagej.273.s1.nabble.com/Open-a-big-tiff-file-tp5011136p5011204.html

Hi Wayne,

thanks for your reply.

Rasband, Wayne (NIH/NIMH) [E] wrote
You can open a tiff stack using

    img = IJ.openImage(path);

where ‘img' is an ImagePlus.
This opens the BigTiff image if I copy the created jar to the plugins folder of a full Fiji install. In this case I'm not able to debug my plugin with eclipse (using the methods described in the documentation).

When I use the method described in the documentation, IJ.openImage(path) return null for my images.

I also tried to compile imagej from source (so I could start it from the eclipse project, which would allow debugging), but I always get an "Plugin or class not found". (The same jar works in an full Fiji installation).

How would I debug a plugin which depends on other plugins?

Rasband, Wayne (NIH/NIMH) [E] wrote
Or open it as a virtual stack using

    img = IJ.openVirtual(path);

which requires a lot less memory since images are only loaded as needed. IJ.openVirtual() requires the latest ImageJ daily build (1.49o16).
This will help me a lot, once I've dealt with the other issues.

Thanks,
Christian