[ImageJ-devel] plugin development for ImageJ2 or ImageJ1?

Polder, Gerrit gerrit.polder at wur.nl
Thu Jan 8 07:16:20 CST 2015


Dear Wayne,

I’m a little bit confused reading ImageJ2 is still in beta.

Im not a fulltime ImageJ user, but once and a while customers ask me to develop imaging software in ImageJ. Mainly I'm using Matlab and Halcon.
I’m spending about 4-8 weeks a year on ImageJ. My previous project was about a year ago.
Currently I need to update some features on one of my plugins, so given the fact that ImageJ2 reached the 2.0.0 stage in june last year, and also since it is the default ImageJ version in Fiji, as I already said I thought it would be worthwhile to convert it to the current ImageJ platform, in order to make it future proof.

So from your message I conclude that although my customer uses Fiji, I better stick to ImageJ1, in order not to provide him with a buggy plugin.

On the last two conferences I’v seen a lot of nice ImageJ2 and ImgLib features, and promises about availability.
Is there information available about ImageJ’s roadmap?

As you suggested I will send this message also to Imagej-devel, sorry for cross-posting.

best regards,
Gerrit.

On 8 Jan 2015, at 05:50, Rasband, Wayne (NIH/NIMH) [E] <rasbandw at mail.nih.gov> wrote:

> Dear Gerrit,
> 
>> On Jan 7, 2015, at 2:54 PM, Polder, Gerrit <gerrit.polder at wur.nl> wrote:
>> 
>> Dear Wayne,
>> 
>> thanks for the prompt reply, my question was indeed not clear stated.
>> Yes this is a ImageJ1 plugin, but since I need to add some functionality to it I thought it would be worthwhile to convert it to the current ImageJ platform, in order to make it future proof.
>> As ImageJ2 now is the production release I decided to give it a try.
> 
> ImageJ2 is not the production release. It is beta software. The two options in Fiji’s Edit>Option>ImageJ2 dialog (ImageJ2 data structures and SCIFIO) are disabled by default because they are buggy.
> 
>> Is it true that questions related to the development of user plugins should be addressed to imagej-devel?
> 
> Question related to development of ImageJ2 plugins, imglib2 and SCIFIO should be addressed to imagej-devel.
> 
>> I’m also curious about other plugin developers, how many still develop in ImageJ1, and how many switched already to ImageJ2?
> 
> Most developers are still writing ImageJ plugins.
> 
>> By the way I already found part of the problem. The Image I tested my plugin tryout on was an old ImageJ image, instead of a new dataset ‘image’. After enabling the SCIFIO library I could input an image in my plugin.
>> But still I think need more documentation and examples, kind of ‘guide for switchers’.
> 
> You should bring these issues up on the imagej-devel mailing list.
> 
> Best regards,
> 
> -wayne
> 
> 
>> On 7 jan. 2015, at 17:26, Rasband, Wayne (NIH/NIMH) [E] <rasbandw at mail.nih.gov<mailto:rasbandw at mail.nih.gov>> wrote:
>> 
>> Dear Polder,
>> 
>> Your plugin is not an ImageJ2 plugin. It is an ImageJ plugin that you can easily compile and run it using the Plugins>Compile and Run command. Questions about ImageJ2 and mavin should be sent to the image-dev mailing list.
>> 
>> http://imagej.net/mailman/listinfo/imagej-devel
>> 
>> Best regards,
>> 
>> -wayne
>> 
>> 
>> 
>> On Jan 7, 2015, at 10:40 AM, Polder, Gerrit <gerrit.polder at wur.nl<mailto:gerrit.polder at wur.nl>> wrote:
>> 
>> I succeeded in making a maven project, but I’m still struggling in finding demo code and the api for writing a simple plugin.
>> For instance how to code a pluginfiler in imagej2?
>> 
>> public class Get_blue_region implements PlugInFilter {
>> ImagePlus imp;
>> boolean DEBUG = false;
>> 
>> public int setup(String arg, ImagePlus imp) {
>>     this.imp = imp;
>>     if (arg.equals("about")) {
>>         showAbout();
>>         return DONE;
>>     }
>>     return DOES_RGB;
>> }
>> 
>> public void run(ImageProcessor ip) {
>>     ImagePlus calim = new ImagePlus("Blue Part", ip);
>>     …………….
>> }
>> }
>> 
>> sorry if this is a silly question, but I got stuck in all wikis and github repositories.
>> 
>> Gerrit.
>> 
>> 
>> On 20 Dec 2014, at 19:11, Polder, Gerrit <gerrit.polder at wur.nl<mailto:gerrit.polder at wur.nl><mailto:gerrit.polder at wur.nl>> wrote:
>> 
>> thanks Mark, this is exactly where I was looking for.
>> 
>> Gerrit.
>> 
>> On 20 dec. 2014, at 06:00, IMAGEJ automatic digest system <LISTSERV at LIST.NIH.GOV<mailto:LISTSERV at LIST.NIH.GOV><mailto:LISTSERV at LIST.NIH.GOV>> wrote:
>> 
>> Hi Gerrit,
>> 
>> Now I like to switch to IJ2, I’m wondering whether there is an IJ2 example
>> project available.
>> 
>> The ImageJ-tutorials <https://github.com/imagej/imagej-tutorials> project
>> is the intended starting point for developers. There is also an accompanying
>> entry <http://imagej.net/Writing_ImageJ2_plugins> in the Development
>> <http://imagej.net/Development> section of the ImageJ wiki.
>> 
>> Thanks for the interest in ImageJ2 - let us know if you have any questions
>> or run into problems!
>> 
>> Best,
>> Mark
>> 
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>> 
> 




More information about the ImageJ-devel mailing list