contours

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

contours

Robert Kirmse
  Dear all,

I was searching the list but I didn't really see what I need
Is there a way to manipulate freehand lines in an image.

What I need to do is draw one freehandline,
do some distance calculations and then translate/rotate the freehandline
and repeat the measurement.

The question is:
Is there a way to extract the XY coordinates of a freehandline in a macro?
I think that would be the easiest approach, unless there is some more
elegant solution in handling freehandlines.


I would be glad if someone could point me in the right direction.

Thanks in advance
Regards

Robert
Reply | Threaded
Open this post in threaded view
|

Re: contours

Aryeh Weiss
On 12/3/10 1:19 AM, Robert Kirmse wrote:

> The question is:
> Is there a way to extract the XY coordinates of a freehandline in a macro?
> I think that would be the easiest approach, unless there is some more
> elegant solution in handling freehandlines.
>
>
> I would be glad if someone could point me in the right direction.
>

I think that the following line is what you need:

getSelectionCoordinates(xCoordinates, yCoordinates);

Best regards
--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051