longest axis of a particle
Posted by Richard Mort on Feb 12, 2009; 9:34am
URL: http://imagej.273.s1.nabble.com/ImageJ-Applet-and-JSF-tp3693735p3693737.html
Hi,
I'd like to determine the longest axis of a particle in Analyze
particles and draw a line along it. Analyze particles nicely converts my
field of cells into ellipses. So all I'd like to do is then convert each
ellipse into a line along its longest axis so I have a graphical
representation of each cell's orientation. It would be good to exclude
any ellipse that is pretty much circular. I can get as far as ellipses with:
{
run("Make Binary");
run("Minimum...", "radius=0.5");
run("BinaryFilterReconstruct ", "erosions=1 white");
run("Fill Holes");
run("Analyze Particles...", "size=0-Infinity circularity=0.00-1.00
show=Ellipses display clear include summarize record");
}
Is this possible? I'm sure someone must have tried this before?
--
Dr Richard Mort
MRC Human Genetics Unit
Western General Hospital
Crewe Road
Edinburgh
EH4 2XU, UK.
Phone: +44 (0)131 332 2471 x 3205
Fax: +44 (0)131 467 8456