> Dear all:
> after writing and executing a macro, I can get on the results windows 2
> lines consiting on: in first line I obtain coordinates X1 and Y1, and in the
> second line the coordinates X2 and Y2:
> Pls, how is possible to compute the distance between them?. I would like to
> know how I can write this specific command.
> Thank you evry much for all!!
> JFC
>
This should work:
> dx = X2 X1;
> dy = Y2 Y1;
> distance = sqrt(dx*dx + dy*dy);
Chris Coulon
The GAIA Group
Global Automated Image Analysis
http://gaiag.net[hidden email]
We welcome image analysis problems in all fields.
Christopher Coulon, Ph.D., Founder