HandleExtraFileTypes and IP_Demo

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

HandleExtraFileTypes and IP_Demo

Zeev Smilansky-2
hi
I’ve been using IP_demo based code to mark images. Now I introduced HandleExtraFileTypes to read additional types, but the IP_Demo interface doesn’t connect to the images opened through HandleExtraFileTypes .... any clue?
thanks
Zeev

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

Re: HandleExtraFileTypes and IP_Demo

Zeev Smilansky-2
Note – the movie (.mov taken from a canon camera) opens, but the line
ImagePlus imp = IJ.openImage(path);
returns imp = null
Zeev



From: Zeev Smilansky
Date: יום שלישי 25 דצמבר 2012 11:20
To: [hidden email]
Subject: HandleExtraFileTypes and IP_Demo

hi
I’ve been using IP_demo based code to mark images. Now I introduced HandleExtraFileTypes to read additional types, but the IP_Demo interface doesn’t connect to the images opened through HandleExtraFileTypes .... any clue?
thanks
Zeev

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

Re: HandleExtraFileTypes and IP_Demo

Rasband, Wayne (NIH/NIMH) [E]
On Dec 25, 2012, at 4:48 AM, Zeev Smilansky wrote:

> Note – the movie (.mov taken from a canon camera) opens, but the line
> ImagePlus imp = IJ.openImage(path);
> returns imp = null

For the IJ.openImage(path) method to work properly, a reader plugin must extend ImagePlus, it must set the image it opens to itself, it must not display a dialog box, and it must not display the image. The QuickTimeOpener plugin (File/Import/Using QuickTime command), which opens .mov files, extends ImagePlus but it does not set the stack it opens to itself, it displays a dialog and it displays the stack it opens. This plugin is probably not worth fixing since QuickTIme for Java, which it requires, is deprecated and it only works with 32-bit version of Java.

An example of a plugin that does work with the IJ.openImage(path) method is the IPLab_Reader plugin at

   http://imagej.gov/ij/plugins/iplab-reader.html

-wayne



> Zeev
>
>
>
> From: Zeev Smilansky
> Date: יום שלישי 25 דצמבר 2012 11:20
> To: [hidden email]
> Subject: HandleExtraFileTypes and IP_Demo
>
> hi
> I’ve been using IP_demo based code to mark images. Now I introduced HandleExtraFileTypes to read additional types, but the IP_Demo interface doesn’t connect to the images opened through HandleExtraFileTypes .... any clue?
> thanks
> Zeev
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html


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

Re: HandleExtraFileTypes and IP_Demo

Zeev Smilansky-2
Thanks Wayne
Zeev


From: Rasband, Wayne (NIH/NIMH) [E]
Date: יום רביעי 26 דצמבר 2012 02:08
To: [hidden email]
Subject: Re: HandleExtraFileTypes and IP_Demo

On Dec 25, 2012, at 4:48 AM, Zeev Smilansky wrote:

> Note – the movie (.mov taken from a canon camera) opens, but the line
> ImagePlus imp = IJ.openImage(path);
> returns imp = null

For the IJ.openImage(path) method to work properly, a reader plugin must extend ImagePlus, it must set the image it opens to itself, it must not display a dialog box, and it must not display the image. The QuickTimeOpener plugin (File/Import/Using QuickTime command), which opens .mov files, extends ImagePlus but it does not set the stack it opens to itself, it displays a dialog and it displays the stack it opens. This plugin is probably not worth fixing since QuickTIme for Java, which it requires, is deprecated and it only works with 32-bit version of Java.

An example of a plugin that does work with the IJ.openImage(path) method is the IPLab_Reader plugin at

   http://imagej.gov/ij/plugins/iplab-reader.html

-wayne



> Zeev
>
>
>
> From: Zeev Smilansky
> Date: יום שלישי 25 דצמבר 2012 11:20
> To: [hidden email]
> Subject: HandleExtraFileTypes and IP_Demo
>
> hi
> I’ve been using IP_demo based code to mark images. Now I introduced HandleExtraFileTypes to read additional types, but the IP_Demo interface doesn’t connect to the images opened through HandleExtraFileTypes .... any clue?
> thanks
> Zeev
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html


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

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