Login  Register

Re: JACoP problem

Posted by Michael Schmid on Jun 20, 2007; 4:33pm
URL: http://imagej.273.s1.nabble.com/JACoP-problem-tp3699044p3699050.html

Hi Michael,

this looks like an error in the plugin.

replace
         gd.addChoice("Image A", imgTitleList,imgTitleList[0]);
         gd.addChoice("Image B", imgTitleList,imgTitleList[1]);
by
         gd.addChoice("Image_A", imgTitleList,imgTitleList[0]);
         gd.addChoice("Image_B", imgTitleList,imgTitleList[1]);

ImageJ uses only the first word of each label for recording
macros. With the current code it would record

run("JACoP", "image=[imagenameA] image=[imagenameB] Pearson's=true ...

and it would be unclear which "image" refers to "Image A" and
which to "Image B".

Michael
________________________________________________________________

On 20 Jun 2007, at 16:53, Michael Cammer wrote:

> We are having problems with the JACoP plugin and would appreciate  
> help.
>
> The plugin worked for a while and then began giving the following  
> error:
>
> Duplicate keyword:
> Command:  "JACoP"
> Keyword: "image"
> Value: green
> Add an underscore to the corresponding label
> in the dialog to make the first word unique.
>
> It then continues to run but always prints out the same r= value  
> for any given pair of images regardless of how we set the threshold.
>
> We're using 1.38u with Java 1.5.0_09.
>
> Thanks.
> ______________________________________________________________________
> ______
> Michael Cammer   Analytical Imaging Facility   Albert Einstein  
> Coll. of Med.
> URL:  http://www.aecom.yu.edu/aif/