Re: x y coords of anchor points on segmented line

Posted by Volker Baecker on
URL: http://imagej.273.s1.nabble.com/x-y-coords-of-anchor-points-on-segmented-line-tp5012312p5012319.html

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

In fact, I made it to complicated.

Roi.getCoordinates(xx, yy);
Array.print(xx);
Array.print(yy);

should work as well even with older versions of ImageJ.

Volker

Volker Baecker:

> Hello Tobias, yes you are right, you need at least version 1.49p.
> It is macro code, not a plugin so there is nothing to compile. You
> can just copy the code and paste it into ImageJ. It should be
> opened in a macro editor where you can run it from the menu
> Macros>Run Macro. Volker
>
> Tobias Baskin:
>> Volker, Thank you. I just tried it and got an error:
>> unrecognized roi function. I simply cut and pasted what you wrote
>> into a new macro and installed it (I didn't 'compile it). I am
>> running version 1. 49m. Sorry I am quite an ImageJ novice, maybe
>> there is something obvious to make the macro you wrote work?
>> Thanks again! Tobias
>
>> -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
>
>
> -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJVHSQPAAoJENcVU956o58NVGQH/24ceAFjRjVH+zLoSZwS4P2O
JNtO+aiUpFEB0DLsKy6xeYar28x85QcogaxyyjFrbLGtt3nGvBOzqMQaOerDYIYI
hlzrIKThnn94p2AXWyhNRoposjbXqcYllKGncNkwscLaNPjg9/NkjHSE87sGo41f
3Mmi300LEYclf9MY54sloHm4MAgOvydxy942JKcdRCPTuhaklxGA5LFWhQnSVhqA
kPzI85cwO2E8Kij8uIwIH6kdAmIunOlvBvv7Z3ejk0OMzyeg3WN6PnGOpZ/bgd2g
r/11CZ/3838Mqy/dkTtYFepwxowKOUtLtmsBES7cP05TYqJTq98Lc15zf4ZZSGg=
=KqKB
-----END PGP SIGNATURE-----

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html