Re: particle analysis - angle determination
Posted by Michael Schmid on May 11, 2007; 11:40am
URL: http://imagej.273.s1.nabble.com/Fwd-particle-analysis-angle-determination-tp3699508p3699511.html
Hi Jarek,
> and what I receive is error message:
>
> "(...) ')' expected in line 3.
> <show>=Nothing display exclude record ");" (...)"
The mailer has wrapped the long line.
run("Analyze Particles...", "size=0-Infinity circularity=0.00-1.00
show=Nothing display exclude record");
should be in *one* line.
By the way, for Macros, you need no Java; the macro language has
some similarities to it, but you need not know anything about
object-oriented programming.
> The other thing what I was thinking of was how to prepare the macro
> which
> will read width and height of image, and split it in 3 ROIs(upper
> rectangle, middle one and bottom rectangle)
Split the image manually (rectangular selections, duplicate) and use
the Macro Recorder. This should do the job (if you have a fixed image
size, you need no modifications to the code generated).
Otherwise, I fear, you will have to kook a little bit at the
documentation and a few sample macros to learn the macro language -
it is easy.
Michael