Posted by
Wayne Rasband on
Jun 12, 2009; 3:16pm
URL: http://imagej.273.s1.nabble.com/magic-wand-tp3692147p3692155.html
> A heartfelt thanks to Michael for Versatile Wand - very nice! But it
> has me thinking which invariably leads to confusion!
>
> I want to make sure that I have things straight in my head regarding
> the functionality of (a) the built-in Wand functionality, (b) the
> built-in FloodFill, and (c) "Analyze particles..." . And then I have
> a question. First some statements...
>
> (1) Wand currently only performs 8-connected searches,
The built in wand tool in v1.43a will be based on Versatile Wand, so it
will have an option to perform 4-connected outlining.
> (2) FloodFill uses 4- or 8- connected which the user selects by
> double-clicking the bucket icon,
That is correct.
> (3) "Analyze particles..." (as Analyzer, or is it ParticleAnalyzer?
> or PolygonFiller?) uses FloodFill and Wand but flood filling is only
> 8-connected.
The particle analyzer is currently only 8-connected but it will be easy
to add a 4-connected option once the Wand class is updated to support
4-connected outlining.
> Playing with this test image
> (
http://www.tidewater.net/~pemaquid/test.tif) I think this last
> statement is always true, but I would like to get confirmation from
> others.
>
> My question is how can I make "Analyze particles..." optionally work
> in a 4-connected manner. Does it require a major reconfiguration or
> simple tinkering?
It will require simple tinkering, or perhaps only checking
"4-Connected" in a dialog, in ImageJ 1.43.
-wayne
>
> Thanks!
> Ben
>
>
>
> On Jun 4, 2009, at 12:17 PM, Michael Schmid wrote:
>
>> Hi Gabriel,
>>
>> sorry, the statement
>> import ij.gui.Wand;
>> was missing. Please insert it at the beginning.
>> I had my own Wand class in the plugins and did not notice.
>>
>> I had tried to upload a corrected version, but this had failed.
>>
>> Michael
>> ________________________________________________________________
>>
>> On 4 Jun 2009, at 12:52, Gabriel Landini wrote:
>>
>>> On Thursday 04 June 2009 11:48:26 Michael Schmid wrote:
>>>> an updated version of the magic wand that I posted to the list a
>>>> week
>>>> ago is now available as 'Versatile Wand' at
>>>>
http://imagejdocu.tudor.lu/doku.php?
>>>> id=plugin:segmentation:versatile_wand:start
>>>
>>> /home/gabriel/ImageJ/plugins/Segmentation/Versatile_Wand.java:333:
>>> cannot find
>>> symbol
>>> symbol : class Wand
>>> location: class Versatile_Wand
>>> Wand w = new Wand(maskIp);
>>> ^
>>> /home/gabriel/ImageJ/plugins/Segmentation/Versatile_Wand.java:333:
>>> cannot find
>>> symbol
>>> symbol : class Wand
>>> location: class Versatile_Wand
>>> Wand w = new Wand(maskIp);
>>> ^
>>> 2 errors
>>> 1 warning
>>>
>>>
>>> Cheers
>>> Gabriel
>
> Ben Tupper
>