# Does 3D slicer have any tools with a function similar to AMIRA's "magic wand"?

**URL:** <https://discourse.slicer.org/t/does-3d-slicer-have-any-tools-with-a-function-similar-to-amiras-magic-wand/3008>\
**Category:** Feature requests\
**Tags:** segmentation\
**Created:** [May 29, 2018, 3:48pm UTC](https://discourse.slicer.org/t/does-3d-slicer-have-any-tools-with-a-function-similar-to-amiras-magic-wand/3008 "2018-05-29T15:48:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naia](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Naia](https://discourse.slicer.org/u/Naia)\
**Post date:** [May 29, 2018, 3:48pm UTC](https://discourse.slicer.org/t/does-3d-slicer-have-any-tools-with-a-function-similar-to-amiras-magic-wand/3008/1 "2018-05-29T15:48:23Z")

</div>

I’m looking for a 3D Slicer tool that will segment a bone isolated from others from a single click, taking into account the threshold chosen by the user. This logic of this tool would be to select all the pixels that are in contact with the spot where the cick was made (in sequence), within the chosen threshold.  
This is how AMIRA’s “Magic Wand” works.  
**Does 3D slicer have any tools with a function similar to AMIRA’s “Magic Wand”?**

The properties of the computer I’m using for segmentating are as follows:

gpu - Nvidia Quadro P4000  
256 GB RAM  
Processor: Xeon E5-2643 v4 – 3,4 GHz (6 cores)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 29, 2018, 5:07pm UTC](https://discourse.slicer.org/t/does-3d-slicer-have-any-tools-with-a-function-similar-to-amiras-magic-wand/3008/2 "2018-05-29T17:07:01Z")

</div>

Yes, and also hopefully you find there are also much better tools.

I think the closest to the Magic Wand effect is “Flood filling” effect, provided by SegmentEditorExtraEffects extension.

I would also recommend to try “Grow from seeds” effect as explained here: [Bone segmentation to create 3D-printable STL](https://discourse.slicer.org/t/bone-segmentation-to-create-3d-printable-stl/960/2). You may also try to use Watershed effect, which takes some more time to compute but provides smooth surfaces.

I would also recommend to check out segmentation tutorials here: [https://www.slicer.org/wiki/Documentation/Nightly/Training#Slicer4\_Image\_Segmentation](https://www.slicer.org/wiki/Documentation/Nightly/Training#Slicer4_Image_Segmentation)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [May 30, 2018, 4:55pm UTC](https://discourse.slicer.org/t/does-3d-slicer-have-any-tools-with-a-function-similar-to-amiras-magic-wand/3008/3 "2018-05-30T16:55:32Z")

</div>

It has been a while I used Amira but, isn’t the “level trace” + intensity range is a closer approximation of the magic wand?

---

<div class="post-metadata">

**Author:** ![Melodicpinpon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/melodicpinpon/32/3254_2.png) [@Melodicpinpon](https://discourse.slicer.org/u/Melodicpinpon)\
**Post date:** [January 31, 2020, 1:59pm UTC](https://discourse.slicer.org/t/does-3d-slicer-have-any-tools-with-a-function-similar-to-amiras-magic-wand/3008/4 "2020-01-31T13:59:54Z")

</div>

This one works only on one slice, isn’t it?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 31, 2020, 2:18pm UTC](https://discourse.slicer.org/t/does-3d-slicer-have-any-tools-with-a-function-similar-to-amiras-magic-wand/3008/5 "2020-01-31T14:18:41Z")

</div>

The recently added [Local threshold](https://discourse.slicer.org/t/new-segment-editor-effect-local-threshold/9233) effect is an attempt to make magic-wand-like function in 3D. It cannot provide real-time feedback of the region in 3D (computation may take a couple of seconds) but you get live preview of the considered intensity range and it you get w few parameters to control which regions get connected.
