Login  Register

Re: "Open Next" not working

Posted by Jan Eglinger on Jul 29, 2014; 9:34am
URL: http://imagej.273.s1.nabble.com/Open-Next-not-working-tp5008920p5008927.html

Hi Richard,

On 28.07.2014, 11:49 PM, Richard Mansfield wrote:
> Hi, I am looking for help with an issue using the Fiji version of ImageJ.
> File --> Open Next does not open the next image in my directory. I am
> measuring florescence intensity in a series of images captured with Zeiss
> software (.czi). Am I missing something or is this a bug?  --Thanks, Richard
>

A similar question has recently been asked on stackoverflow.com:
http://stackoverflow.com/q/24975562/1919049
however without mentioning which file types were used.

'File > Open Next' seems to work only for file types known to core
ImageJ, not those which are opened by Bio-Formats or SCIFIO.

Interestingly, the *getFileType(path)* method of ij.io.Opener returns
type 12 (=txt) when provided with a path pointing to a .czi file. That's
clearly a bug. To make sure it doesn't get missed, you might also want
to report it via 'Help > Report a bug'.

Here's the Beanshell script I used to test the getFileType method:

   import ij.io.Opener;
   import ij.IJ;

   path = IJ.getFilePath("Choose file");
   opnr = new Opener();
   type = opnr.getFileType(path);
   IJ.log(type.toString() + ": " + Opener.types[type]);


Cheers,
Jan

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