Login  Register

problem measuring angles.

Posted by AdamC on Sep 11, 2008; 6:31am
URL: http://imagej.273.s1.nabble.com/problem-measuring-angles-tp3695128.html

I'm trying to do a very simple measurement of an angle between two  
line segments.
If use the angle tool, draw a two part line and hit measure it gives  
me the angle fine.
If I use the macro recorder to record this I get these lines.

setTool(14);
makeLine(201,111,122,180,245,206);
run("Measure");

If I run this, then it returns: Angle= 0, Length = 231.
I'm I missing something?

(I'm doing this with 1.41k)

Thanks

Adam


Dr Adam Cliffe
Research Fellow
Rørth Lab
Cell Migration Group
Temasek Lifescience Laboratory
1 Research Link
National University of Singapore
Singapore 117604

tel: (65) 6872 8406
fax: (65) 6872 7007