Login  Register

Re: How to publish a plugin

Posted by Gabriel Landini on Sep 26, 2006; 11:49am
URL: http://imagej.273.s1.nabble.com/How-to-publish-a-plugin-tp3701504p3701505.html

On Tuesday 26 September 2006 07:41, Daniel Lelis Baggio wrote:
> I would like to publish a LiveWire Segmentation plugin, whose info is at:
> http://ivussnakes.sourceforge.net/

Hi,

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

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.

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

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.

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?

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

Cheers,

Gabriel