"Open Next" not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"Open Next" not working

Richard Mansfield
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

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: "Open Next" not working

Jan Eglinger
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
Reply | Threaded
Open this post in threaded view
|

Re: "Open Next" not working

Mark Hiner-2
Hi all,

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

We most likely missed intercepting Open Next requests and rerouting them to
SCIFIO. I opened a ticket to track this issue:
https://github.com/imagej/imagej-legacy/issues/71

Thanks for the report, and advice,
- Mark


On Tue, Jul 29, 2014 at 4:34 AM, Jan Eglinger <[hidden email]>
wrote:

> 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
>

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