bugs in batch mode
Posted by
Kim Sanghyun on
URL: http://imagej.273.s1.nabble.com/bugs-in-batch-mode-tp3682997.html
Dear list,
I have two strange phenomena in Batch mode which didn't happen in non Batch mode during my macro running.
At first, roiManager("count") didn't give a right number after run("Analyze Particles...", ..). I guess that it counts the number of particles including the rejected particles by the size limitation I set. In the present time I resolved this problem by using "nResults" instead of using "roiManager("count")".
Second one is...
to find the pixel position of the maximum intensity which is any white place in my binary image, I used this
run("Find Maxima...", "noise=0 output=List exclude");
a=getResult("X", 0);
b=getResult("Y", 0);
In batch mode, error comes as no result in the table for "getResult". I don't know what is the real problem yet, because in non batch mode it works well.
Is there anybody who has the same problem and resolved it??
Thanks,
Sanghyun.
SangHyun Kim (Post-Doc.) Tel. 972-8-9343423
[hidden email]
@ Dep. of Materials and Interfaces, Weizmann Institute of Science, Rehovot 76100, Israel