Login  Register

Re: wish list item

Posted by Gabriel Landini on Jul 07, 2010; 10:36am
URL: http://imagej.273.s1.nabble.com/wish-list-item-tp3687705p3687709.html

On Wednesday 07 Jul 2010  11:26:56 Aryeh Weiss wrote:
> Gabriel's plugin can select anything in the results table, which is
> nice, but if you need a range (ie low_limit<parameter<high_limit) then
> you  are limited to two parameters (please correct me if I
> misunderstood).

Yes, 2 if you want 2 thresholds, 4 if you want one threshold per parameter.
You could add more if you wanted... you have the source. Originally I did not
put more because the dialog was getting ridiculously wrong. Maybe this can be
arranged better.

Also there is nothing stopping running the same plugin more than once, so you
can make more complex selections than "all AND" or "all OR".

> However, I am having trouble running it.
>
> I downloaded the Morphology set and it resides in
> $FIJI_HOME/plugins/Morphology,
> When I try to run it, I get:
>
> java.lang.NoClassDefFoundError: Morphology/Classify_Particles (wrong
> name: Classify_Particles)
> at java.lang.ClassLoader.defineClass1(Native Method)
>
> This usually means that the plugin expects to be in a different
> directory (but other plugins in the set run fine).

This problem is, I think, due to Fiji expecting every plugin to be in a jar
with a configuration file (unlike ImageJ, where you can have the java files
together with the class files).

I know that Johannes is aware of this, so it might get fixed sometime soon.

In the mean time, just move the *.java files out of the plugins/Morphology
folder and restart Fiji (it works fine here after doing this).

> I have not yet had a chance to check this, but are these plugins
> "macro-friendly"?

They should be if they show a dialog. Let me know if they do not.

Cheers
G.