Selection_tool trouble
Posted by
Girault France on
Oct 09, 2007; 4:43pm
URL: http://imagej.273.s1.nabble.com/Selection-tool-trouble-tp3698241.html
Dear all,
I've a little problem with the creation of selection:
I've an object with holes (having the background color) in it, when I create a selection the holes are selected as well as individual objects. I would like to keep only the circle itself.
I've tried:
setThreshold(2, 255);
run("Convert to Mask");
run("Fill Holes");
run("Create Selection");
run("Revert");
run("8-bit");
run("Restore Selection");
The circle is not restored properly, but another selection I've done on a previews image....
If I just run the measurement on the selection (holes and circle), only one of the hole is measured and the rest is removed. I'm interested in measuring the object as a whole, so what is in the circle, not each small hole.
Is there another way to go around this problem, did I do something wrong?
Any suggestion?
Thanks in advance,
France
France E. Girault
Geological Institute
CAB E-62
ETH Zürich
Universitätstrasse 6
8092 Zürich
Private phone: ++4178/726.99.20
Office phone: ++4144/632 84 16
Fax: +4144/632 10 80
[hidden email] <mailto:
[hidden email]>
http://www.geology.ethz.ch/people/PhDStudents/giraultf/index <
http://www.geology.ethz.ch/people/PhDStudents/giraultf/index>