polygon selection
Posted by
Girault France on
Dec 07, 2006; 6:36am
URL: http://imagej.273.s1.nabble.com/polygon-selection-tp3700848.html
Dear all,
I'm trying to make a selection around segmented particles (with a black background). When I make the normal selection, there is no problem and the selection follows the outline of the particle, but when I select it as a polygon, on many particles, I get a rectangle instead of the outline of the particle.
Does any body have an idea why? Is it possible to get this polygon selection properly?
Thanks,
France
This is what I'm doing:
setThreshold(1, 255);
run("Create Selection");
run("Enlarge...", "enlarge=0");
getSelectionCoordinates(selX, selY);
run("Select None");
makeSelection("polygon", selX, selY);
France Girault
Geological Institute
CAB E-62
ETH Zürich
Universitätstrasse 6
8092 Zürich
[hidden email]
Private phone : ++4178/726.99.20
Office phone : ++4144/632 84 16