Login  Register

Re: Selection_tool trouble

Posted by Wayne Rasband on Oct 09, 2007; 7:53pm
URL: http://imagej.273.s1.nabble.com/Selection-tool-trouble-tp3698241p3698242.html

In ImageJ 1.39f, due by the end of this week, the "Revert" command no
longer deletes the selection, making the "Restore Selection"
unnecessary.

-wayne

On Oct 9, 2007, at 11:43 AM, Girault France wrote:

> 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>
>
>