Re: numeric polygon selection tool?
Posted by
Wayne Rasband on
May 05, 2006; 2:44pm
URL: http://imagej.273.s1.nabble.com/numeric-polygon-selection-tool-tp3702909p3702912.html
> Hello Bo de Lange,
>
>> Run the Macro Recorder (Plugins:Macro:Record),
>> select the polygon tool, make one
>
> in the recorder window "setTool(2);" is shown in the
> first line but after I made the selection no "makePolygon(...)"
> is shown. But it works with the other tools like
>
> setTool(1);
> makeOval(...);
It sounds like you need to upgrade. Search the release notes at
<
http://rsb.info.nih.gov/ij/notes.html> for "makePolygon" and you will
see that this function was added in ImageJ 1.35b. You can upgrade to
ImageJ 1.37e by downloading the file "ij.jar" from
<
http://rsb.info.nih.gov/ij/upgrade/> and copying it into the ImageJ
folder.
> In the tool window the active pixel is also
> not shown with pixel coordinate but with inches.
> How can this be changed?
Open the Analyze>Set Scale dialog and set "Distance in Pixels" to 0.
-wayne