Login  Register

Colocalization test and Macro

Posted by Leroy Olivier on Jun 16, 2016; 2:18pm
URL: http://imagej.273.s1.nabble.com/Colocalization-test-and-Macro-tp5016660.html

Dear ImageJ list,

I am trying to call "Colocalization test" function from a Macro but I am not able to.

"Colocalization test" function is working fine, I get expected results when I use it manually (Analyze > Colocalization > Colocalization test).
But if the Macro recorder is open, in order to get the macro command line, when I run "colocalization test" function, I get an error message from the recorder :

Duplicate keyword :
Command "Colocalization Test"
Keyword "Channel"
Value: <name of my 2nd channel image>
Add an underscore to the corresponding label in the dialog to make the first word unique.

At the end, I still get a command line in the recorder :

run("Colocalization Test", "channel=red.tif channel=green.tif roi=None randomization=[Costes approximation (smoothed noise)] pixel=0.040 channel=520 na=1.40 iterations=75 psf=10");

But this command does not run the "Colocalization Test" function, it seems nothing happen.
If anyone knows how to call this function from a macro, this would be very helpful.
With Best regards,

Olivier

******************************************************
Olivier Leroy

Plateau d'imagerie cellulaire et tissulaire<http://ugbdd.curie.fr/fr/imagerie>
Unité de génétique et biologie du développement<http://ugbdd.curie.fr/fr>

Centre de Recherche de l'Institut Curie
* : + 33 (0)1 56 24 64 02
* : [hidden email]<mailto:[hidden email]>
******************************************************


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html