Login  Register

Re: Polygone and polyline tools in macro language

Posted by Rasband, Wayne (NIH/NIMH) [E] on Sep 04, 2011; 12:25am
URL: http://imagej.273.s1.nabble.com/Polygone-and-polyline-tools-in-macro-language-tp3683255p3683256.html

On Sep 2, 2011, at 5:59 AM, Christophe Leterrier wrote:

> Hi,
>
> Sorry to ask again but maybe my request was lost in the middle of summer:
> does someone have a macro tool implementation of the standard ImageJ tools ?
> I'm specifically looking for the polygon and polyline tools. I looked at the
> java source code for these tools but it is too far from macro language to be
> easily translated. The example macro tools at
> http://rsb.info.nih.gov/ij/macros/tools/ are useful, bot I found nothing
> close enough to the polygon/polyline tools... I need that to create new
> tools based on these default tools (for example, a polyline that would
> display the size of its different segments and the total size in the status
> bar during tracing).

There is a macro version of the polygon tool at

    http://imagej.nih.gov/ij/macros/tools/PolygonTool.txt

It requires the ImageJ 1.45n daily build.

-wayne