Slicer

From Alliance Doc
Jump to navigation Jump to search
This site replaces the former Compute Canada documentation site, and is now being managed by the Digital Research Alliance of Canada.

Ce site remplace l'ancien site de documentation de Calcul Canada et est maintenant géré par l'Alliance de recherche numérique du Canada.

Other languages:


3D Slicer is an open source software platform for medical image informatics, image processing, and three-dimensional visualization. Built over two decades through support from the National Institutes of Health and a worldwide developer community, Slicer brings free, powerful cross-platform processing tools to physicians, researchers, and the general public.

IMPORTANT: Never make intense use of Slicer on the login nodes! Submit jobs using the command line whenever possible and if you must visualize your data using the GUI, please do so on an interactive node. Using parallel rendering on the shared login nodes will result in the termination of your session.

Using the GUI

Using the Slicer GUI requires X11 forwarding, which you should make sure is enabled.

You can find information on how to connect with MobaXTerm and use X11 fowarding at Connecting with MobaXTerm.

Use an interactive node

Runtime is limited on the login nodes, so you should request an interactive job to have more time for exploring and visualizing your data. Additionally, by doing so, you will be able to use more cores for faster processing.

Request an interactive job, ie.

 [name@server ~]$ salloc --time=1:0:0 --ntasks=2 --x11 --account=def-someuser

This will connect you to a compute node. Note the --x11 argument.

You can then load Slicer and run it on the interactive node.

Question.png
[name@server ~]$ module load slicer
Question.png
[name@server ~]$ Slicer

Once you are done and have closed Slicer, don't forget to terminate the interactive job:

Question.png
[name@server ~]$ exit

Using the command line

If you have to perform the same task on a large number of images, or if you don't need to see the processed images as they are created, you should use the command line interface and batch processing. For examples see