Login  Register

Re: How to publish a plugin

Posted by Daniel Lélis Baggio on Sep 26, 2006; 7:02pm
URL: http://imagej.273.s1.nabble.com/How-to-publish-a-plugin-tp3701504p3701506.html

Hi, Gabriel!
Thanks for your feedback.

Hi,
>
> You can also use the new documentation site (or use both sites):
> http://imagejdocu.tudor.lu/


That's a great site. I'll put up a link there and send it to Wayne.

The plugin is really good, but I get stuck in some situations.

>
> I have some suggestions:
>
> 1. It would be better to pack it as a jar file, and keep the LiveWire_ or
> Live_Wire name (there are other Snakes plugins, so this would not
> interfere
> for those who have those also installed and also would make it easy to
> move
> to other folders. For instance I like keeping all the segmentation plugins
> in
> a Segmentation folder, because otherswise I never find them! :-) so the
> jar
> format allows you to do this.


I'll pack it up in a .jar file and put it in the next release. I really
didn't know ImageJ would open .jar files, sorry... newbie, hehhe.

2. I agree with Dscho that there is no need to keep the other files open.


Oh, those were only debug files that could  help me see how good would the
segmentation be and if I was not making mistakes in the code... really not
useful now, I'll cut them out.

3. You may want to have a look at the new function to disable the popup menu

>
> (when one right clicks the image) and use the right click to end the
> segmentation and link the starting point to the last current point (this
> will
> close the ROI.
> In a plugin, to disable the popup menu you can do:
>
> IJ.runMacro("setOption('DisablePopupMenu', true)");
>
> and "false" at the end to enable it back.
>
> Even better I would use only one click to lock the points and right-click
> to
> end.


That sounds... way better!

4. For some reason (maybe it is me, not knowing how to use it) there is a
> new
> button on the toolbar. Not sure why this is necessary. If I run the plugin
> twice I get 2 buttons and so on.
>
> 5. I cannot find a way to end the detection. How does one stop it?


Actually, one can end the detection selecting another tool. I mean, if you
are in the midle of the segmentation, you can just choose some other tool,
and the livewire will stop working.
If you  wanna go back to the livewire segmentation, it's just a matter of
selecting the Lw (livewire) button again. In the case you have multiple
segmentations working, there will be one button for each image, so that one
will be able to restore any of those segmentations. But maybe this is not
necessary. As you said, one could only right-click the image and the
selection would be over.

I am having some problem using ImageJ clipboard area. I'm not able to use
the "Copy to System" function. Everytime I make a selection, use the
function and try to paste it, I get nothing. It surely works inside the
program (the "Copy" function) but does not seem to work outside.
Here my configurations are, for Java:
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
for Operating System:
Ubuntu Dapper Drake.
Oh, and imageJ version is: 1.37g



I hope that you can implement some of these. I really like it and it seems
> very useful.
>
> Cheers,
>
> Gabriel


Thanks, Gabriel. As soon as I put them working, I e-mail the list the new
version.
Your support at ImageJ list has been really useful for me. Thank you all!
[]'s