# How to use ITK-SNAP for visualization instead of ImageJ in simpleITK python

**URL:** <https://discourse.itk.org/t/how-to-use-itk-snap-for-visualization-instead-of-imagej-in-simpleitk-python/3290>\
**Category:** Uncategorized\
**Tags:** simpleitk\
**Created:** [July 16, 2020, 6:19am UTC](https://discourse.itk.org/t/how-to-use-itk-snap-for-visualization-instead-of-imagej-in-simpleitk-python/3290 "2020-07-16T06:19:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![unicorn](https://discourse.itk.org/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@unicorn](https://discourse.itk.org/u/unicorn)\
**Post date:** [July 16, 2020, 6:19am UTC](https://discourse.itk.org/t/how-to-use-itk-snap-for-visualization-instead-of-imagej-in-simpleitk-python/3290/1 "2020-07-16T06:19:14Z")

</div>

I have been using ImageJ for visualization. Is there any way to use ITK SNAP or 3D slicer for this purpose?

---

<div class="post-metadata">

**Author:** ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)\
**Post date:** [July 16, 2020, 1:18pm UTC](https://discourse.itk.org/t/how-to-use-itk-snap-for-visualization-instead-of-imagej-in-simpleitk-python/3290/2 "2020-07-16T13:18:36Z")

</div>

Hello @unicorn,

Yes, that is easily done. Please go over [this jupyter notebook](https://github.com/InsightSoftwareConsortium/SimpleITK-Notebooks/blob/master/Python/04_Image_Display.ipynb) which illustrates the various options for image display.

---

<div class="post-metadata">

**Author:** ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Post date:** [July 16, 2020, 1:19pm UTC](https://discourse.itk.org/t/how-to-use-itk-snap-for-visualization-instead-of-imagej-in-simpleitk-python/3290/3 "2020-07-16T13:19:08Z")

</div>

A similar things can be accomplished by using the [ImageViewer](https://simpleitk.org/doxygen/latest/html/classitk_1_1simple_1_1ImageViewer.html) as well.

---

<div class="post-metadata">

**Author:** ![dchen](https://discourse.itk.org/user_avatar/discourse.itk.org/dchen/32/34_2.png) [@dchen](https://discourse.itk.org/u/dchen)\
**Post date:** [July 16, 2020, 1:33pm UTC](https://discourse.itk.org/t/how-to-use-itk-snap-for-visualization-instead-of-imagej-in-simpleitk-python/3290/4 "2020-07-16T13:33:34Z")

</div>

Here’s how I set Slicer to be the viewing app for SimpleITK.Show:

```
export SITK_SHOW_COMMAND=/Applications/Slicer.app/Contents/MacOS/Slicer

```

Basically you set the SITK\_SHOW\_COMMAND environment variable to point to your viewing application. Show will then invoke the command with the image on the command line.

If you want to see exactly what Show is doing, you can set the debugOn parameter to True.
