# \#module

**URL:** https://discourse.slicer.org/tag/module/144.md

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

---

## [nnInteractive module no longer segments properly](https://discourse.slicer.org/t/nninteractive-module-no-longer-segments-properly/45914)

<div class="topic-metadata">

**Author:** [@lukejprose](https://discourse.slicer.org/u/lukejprose)\
**Replies:** 11\
**Last updated:** [January 27, 2026, 3:33am UTC](https://discourse.slicer.org/t/nninteractive-module-no-longer-segments-properly/45914 "2026-01-27T03:33:09Z")

</div>

I have been using the nnInteractive module through MorphoCloud to segment CT scans of fish skulls, with a good bit of success. Now, however, the nnInteractive module no longer functions properly. The Configuration tab sa…

---

## [TotalSegmentator failed to compute – ModuleNotFoundError: No module named 'skimage.morphology'](https://discourse.slicer.org/t/totalsegmentator-failed-to-compute-modulenotfounderror-no-module-named-skimage-morphology/43577)

<div class="topic-metadata">

**Author:** [@Mael](https://discourse.slicer.org/u/Mael)\
**Replies:** 0\
**Last updated:** [July 2, 2025, 2:40pm UTC](https://discourse.slicer.org/t/totalsegmentator-failed-to-compute-modulenotfounderror-no-module-named-skimage-morphology/43577 "2025-07-02T14:40:14Z")

</div>

Hi everyone, I’m trying to use the TotalSegmentator extension in 3D Slicer, but I get an error when I try to compute the segmentation. The error message is: ModuleNotFoundError: No module named 'skimage.morphology' I…

---

## [Issue with Including Scripted Module in Custom Slicer-Based Application](https://discourse.slicer.org/t/issue-with-including-scripted-module-in-custom-slicer-based-application/43408)

<div class="topic-metadata">

**Author:** [@software](https://discourse.slicer.org/u/software)\
**Replies:** 6\
**Last updated:** [June 20, 2025, 7:49am UTC](https://discourse.slicer.org/t/issue-with-including-scripted-module-in-custom-slicer-based-application/43408 "2025-06-20T07:49:29Z")

</div>

Hi all, I’ve developed a custom Slicer-based application and included a custom scripted module called HemisphereVolumeCalculator In my top-level CMakeLists.txt, I’ve added it using: set(Slicer\_EXTENSION\_SOURCE\_DIRS …

---

## [Build Error: Custom Module Appears in App but Build Exits with Code 1 (Slicer.rule and .rule Files)](https://discourse.slicer.org/t/build-error-custom-module-appears-in-app-but-build-exits-with-code-1-slicer-rule-and-rule-files/43420)

<div class="topic-metadata">

**Author:** [@software](https://discourse.slicer.org/u/software)\
**Replies:** 0\
**Last updated:** [June 19, 2025, 1:50pm UTC](https://discourse.slicer.org/t/build-error-custom-module-appears-in-app-but-build-exits-with-code-1-slicer-rule-and-rule-files/43420 "2025-06-19T13:50:06Z")

</div>

After integrating the custom modules into my Slicer-based application, I’m now getting the following error during the build process: Custom build for ‘E:\\Safe\\build\\CMakeFiles\\467e983c5e5c61d75f97be2c5e12c91e\\Slicer-mkd…

---

## [Input segments in new module](https://discourse.slicer.org/t/input-segments-in-new-module/5064)

<div class="topic-metadata">

**Author:** [@ThomPote](https://discourse.slicer.org/u/ThomPote)\
**Replies:** 13\
**Last updated:** [September 19, 2024, 11:34am UTC](https://discourse.slicer.org/t/input-segments-in-new-module/5064 "2024-09-19T11:34:03Z")

</div>

Hi, I’m trying to create a new module. I can select differents nodes like Volume and Segmentation node as input. But how can I select my different segments in Segmentation as input before running the analyse with appl…

---

## [Building extension module for Spect Image Reconstruction](https://discourse.slicer.org/t/building-extension-module-for-spect-image-reconstruction/37993)

<div class="topic-metadata">

**Author:** [@obed](https://discourse.slicer.org/u/obed)\
**Replies:** 0\
**Last updated:** [August 21, 2024, 11:05pm UTC](https://discourse.slicer.org/t/building-extension-module-for-spect-image-reconstruction/37993 "2024-08-21T23:05:04Z")

</div>

Hi Team, We would like to notify the community that are building an extension module that interfaces with a SPECT reconstruction library, Pytomography (pytomography · PyPI). This is to provide a graphic user interface f…

---

## [Calling slicer module from a python file](https://discourse.slicer.org/t/calling-slicer-module-from-a-python-file/12720)

<div class="topic-metadata">

**Author:** [@Anand\_Mulay](https://discourse.slicer.org/u/Anand_Mulay)\
**Replies:** 7\
**Last updated:** [July 24, 2020, 9:36pm UTC](https://discourse.slicer.org/t/calling-slicer-module-from-a-python-file/12720 "2020-07-24T21:36:52Z")

</div>

i know we can call the slicer module with command line arguments or calling from a batch file, can i write a python file to call slicer with same same command?

---

## [How to include markup annotations in high-resolution screen capture](https://discourse.slicer.org/t/how-to-include-markup-annotations-in-high-resolution-screen-capture/35813)

<div class="topic-metadata">

**Author:** [@oothomas](https://discourse.slicer.org/u/oothomas)\
**Replies:** 24\
**Last updated:** [June 10, 2024, 9:46pm UTC](https://discourse.slicer.org/t/how-to-include-markup-annotations-in-high-resolution-screen-capture/35813 "2024-06-10T21:46:52Z")

</div>

Hello Slicer Community, I am currently developing an extension for high-resolution screen captures within Slicer. My goal is to programmatically capture images of a reconstructed scene that include markup annotations su…

---

## [CLI module output image segmentation](https://discourse.slicer.org/t/cli-module-output-image-segmentation/35797)

<div class="topic-metadata">

**Author:** [@Franciska](https://discourse.slicer.org/u/Franciska)\
**Replies:** 1\
**Last updated:** [April 29, 2024, 2:27pm UTC](https://discourse.slicer.org/t/cli-module-output-image-segmentation/35797 "2024-04-29T14:27:37Z")

</div>

Hi! I would like to create a custom module, just like the BlurImage example. I put mine under Segmentation modules. When using the module, under the IO parameters I can chose Output Volume as creating a new volume, or…

---

## [TI1 module for T1 map](https://discourse.slicer.org/t/ti1-module-for-t1-map/35756)

<div class="topic-metadata">

**Author:** [@abarat21](https://discourse.slicer.org/u/abarat21)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 5:56pm UTC](https://discourse.slicer.org/t/ti1-module-for-t1-map/35756 "2024-04-26T17:56:35Z")

</div>

I have a T1 map file that I have loaded into Slicer. I want to create a simple module that has a TI1 slider that the user slides to change the TI value of the T1 map using the equation 1 - 2 exp(-TI / Tone), and that ou…

---

## [Run custom module in virtual environment](https://discourse.slicer.org/t/run-custom-module-in-virtual-environment/35460)

<div class="topic-metadata">

**Author:** [@Franciska](https://discourse.slicer.org/u/Franciska)\
**Replies:** 0\
**Last updated:** [April 12, 2024, 3:05pm UTC](https://discourse.slicer.org/t/run-custom-module-in-virtual-environment/35460 "2024-04-12T15:05:25Z")

</div>

Hi! I would like to create a custom module, just like the BlurImage example. Is it possible to activate a venv in the python script? The venv would be placed in the module’s folder. Thanks!

---

## [Module for manual segmentation (MONAI Label-like)](https://discourse.slicer.org/t/module-for-manual-segmentation-monai-label-like/35420)

<div class="topic-metadata">

**Author:** [@nicola-dallosto](https://discourse.slicer.org/u/nicola-dallosto)\
**Replies:** 2\
**Last updated:** [April 11, 2024, 4:30pm UTC](https://discourse.slicer.org/t/module-for-manual-segmentation-monai-label-like/35420 "2024-04-11T16:30:33Z")

</div>

I need to create a module to segment nifti images. My idea was to recreate the settings panel of MONAI Label (see screenshot) because it consent to connect to a server and there is a button to save the annotation and a b…

---

## [Quick research: Is there a good idea to implement DTI-ALPS method as a Slicer Extension?](https://discourse.slicer.org/t/quick-research-is-there-a-good-idea-to-implement-dti-alps-method-as-a-slicer-extension/35027)

<div class="topic-metadata">

**Author:** [@acsenrafilho](https://discourse.slicer.org/u/acsenrafilho)\
**Replies:** 0\
**Last updated:** [March 22, 2024, 6:41pm UTC](https://discourse.slicer.org/t/quick-research-is-there-a-good-idea-to-implement-dti-alps-method-as-a-slicer-extension/35027 "2024-03-22T18:41:44Z")

</div>

Hello, Slicers! I am currently doing a postdoc in the MRI image processing area, including DTI image processing. I found the DTI-ALPS index in recent papers, and it looked very promising for several applications. In a …

---

## [Running a Module in Parallel](https://discourse.slicer.org/t/running-a-module-in-parallel/12641)

<div class="topic-metadata">

**Author:** [@vertebrae](https://discourse.slicer.org/u/vertebrae)\
**Replies:** 19\
**Last updated:** [March 14, 2024, 3:34am UTC](https://discourse.slicer.org/t/running-a-module-in-parallel/12641 "2024-03-14T03:34:11Z")

</div>

Hello, I am currently using a python scripted module to run my vertebra segmentation program. The program uses a for loop to segment multiple fiducial points. This process takes a long time to run and I thought that run…

---

## [Keyboard shortcut assigned to a push button](https://discourse.slicer.org/t/keyboard-shortcut-assigned-to-a-push-button/32650)

<div class="topic-metadata">

**Author:** [@laurentletg](https://discourse.slicer.org/u/laurentletg)\
**Replies:** 0\
**Last updated:** [November 7, 2023, 8:50pm UTC](https://discourse.slicer.org/t/keyboard-shortcut-assigned-to-a-push-button/32650 "2023-11-07T20:50:26Z")

</div>

Hello, I’ve seen examples of how to assign keyboard shortcuts in the forum and the script repository. I was wondering if there is a quick way to simply assign a keyboard shortcut to an existing push button (without nece…

---

## [Importing custom python module into scripted extension](https://discourse.slicer.org/t/importing-custom-python-module-into-scripted-extension/11673)

<div class="topic-metadata">

**Author:** [@talmazov](https://discourse.slicer.org/u/talmazov)\
**Replies:** 3\
**Last updated:** [July 10, 2023, 1:37am UTC](https://discourse.slicer.org/t/importing-custom-python-module-into-scripted-extension/11673 "2023-07-10T01:37:56Z")

</div>

Hey all, I have a custom python file asyncsocket.py that contains some code independent of 3d slicer. I am trying to import that module to use in a scripted widged by doing import asyncsocket howeveri get this Runtim…

---

## [How to duplicate a vtkMRMLScalarVolumeNode using Python?](https://discourse.slicer.org/t/how-to-duplicate-a-vtkmrmlscalarvolumenode-using-python/28758)

<div class="topic-metadata">

**Author:** [@sunshine](https://discourse.slicer.org/u/sunshine)\
**Replies:** 5\
**Last updated:** [April 6, 2023, 7:30pm UTC](https://discourse.slicer.org/t/how-to-duplicate-a-vtkmrmlscalarvolumenode-using-python/28758 "2023-04-06T19:30:21Z")

</div>

Hi everyone, I am trying to duplicate a vtkMRMLScalarVolumeNode: node\_CopyVolume = slicer.mrmlScene.AddNewNodeByClass('vtkMRMLScalarVolumeNode') What can I do to copy the volume data from node\_OriginVolume to the node…

---

## [How to make a 3D screen selection for Markup ControlPoints?](https://discourse.slicer.org/t/how-to-make-a-3d-screen-selection-for-markup-controlpoints/27575)

<div class="topic-metadata">

**Author:** [@sunshine](https://discourse.slicer.org/u/sunshine)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 11:51am UTC](https://discourse.slicer.org/t/how-to-make-a-3d-screen-selection-for-markup-controlpoints/27575 "2023-02-01T11:51:53Z")

</div>

Hello everyone, I am working on my Python Scripted extension, trying to implement a rectangle (drawn by mouse) selection on the screen (3D Widget / Window) to select all the ControlPoints covered by the rectangle. Coul…

---

## [Run Export To Files in the Segmentations Module from a script](https://discourse.slicer.org/t/run-export-to-files-in-the-segmentations-module-from-a-script/27235)

<div class="topic-metadata">

**Author:** [@Alistair\_McCutcheon](https://discourse.slicer.org/u/Alistair_McCutcheon)\
**Replies:** 2\
**Last updated:** [January 14, 2023, 4:27pm UTC](https://discourse.slicer.org/t/run-export-to-files-in-the-segmentations-module-from-a-script/27235 "2023-01-14T16:27:35Z")

</div>

I’d like to run the Export To Files functionality in the Segmentations Module from a slicer module I am developing. When running this, I need to be able to pass in the destination folder and the file format (nii.gz). Do…

---

## [Bug: \[5.2.1\] Data is loaded from database but doesn't appear under "Loaded data"](https://discourse.slicer.org/t/bug-5-2-1-data-is-loaded-from-database-but-doesnt-appear-under-loaded-data/27174)

<div class="topic-metadata">

**Author:** [@Gabriel\_WK](https://discourse.slicer.org/u/Gabriel_WK)\
**Replies:** 2\
**Last updated:** [January 12, 2023, 5:42pm UTC](https://discourse.slicer.org/t/bug-5-2-1-data-is-loaded-from-database-but-doesnt-appear-under-loaded-data/27174 "2023-01-12T17:42:13Z")

</div>

Problem report for Slicer 5.2.1 win-amd64: Expected behavior: Loaded data appear under “Loaded data” on the DICOM Module Actual behavior: Nothing appears under “Loaded data” Data still showing normally on the Da…

---

## [TypeError: 'NoneType' object is not callable](https://discourse.slicer.org/t/typeerror-nonetype-object-is-not-callable/27030)

<div class="topic-metadata">

**Author:** [@LuisaDantas](https://discourse.slicer.org/u/LuisaDantas)\
**Replies:** 12\
**Last updated:** [January 5, 2023, 2:14pm UTC](https://discourse.slicer.org/t/typeerror-nonetype-object-is-not-callable/27030 "2023-01-05T14:14:46Z")

</div>

Hey all, I’m developing a module to Slicer and I’m facing some issues. One of the functionalities is to place a control point and get its coordinates through a button that calls a method. I put a print on the beggining …

---

## [Error opening Extensions Manager and loading previous developed Modules](https://discourse.slicer.org/t/error-opening-extensions-manager-and-loading-previous-developed-modules/26871)

<div class="topic-metadata">

**Author:** [@LuisaDantas](https://discourse.slicer.org/u/LuisaDantas)\
**Replies:** 3\
**Last updated:** [December 21, 2022, 4:49pm UTC](https://discourse.slicer.org/t/error-opening-extensions-manager-and-loading-previous-developed-modules/26871 "2022-12-21T16:49:03Z")

</div>

Hey all, I’ve been using 3D Slicer for a while but I had to install it on a different machine and it’s giving some errors right after the installation. When I open Extensions Manager this error is printed: \[Qt\] An Ope…

---

## [Hide main window - Show only external view](https://discourse.slicer.org/t/hide-main-window-show-only-external-view/26525)

<div class="topic-metadata">

**Author:** [@lucas\_sd](https://discourse.slicer.org/u/lucas_sd)\
**Replies:** 3\
**Last updated:** [December 3, 2022, 5:19am UTC](https://discourse.slicer.org/t/hide-main-window-show-only-external-view/26525 "2022-12-03T05:19:16Z")

</div>

Hi everybody, Im running my module from the terminal using --no-main-window, and I wondering if its possible to show just an external view like that. The idea is run the module from the terminal with 3dS in the back, i…

---

## [Error creating a module](https://discourse.slicer.org/t/error-creating-a-module/25712)

<div class="topic-metadata">

**Author:** [@LuisaDantas](https://discourse.slicer.org/u/LuisaDantas)\
**Replies:** 15\
**Last updated:** [November 8, 2022, 2:48pm UTC](https://discourse.slicer.org/t/error-creating-a-module/25712 "2022-11-08T14:48:46Z")

</div>

Hey, I’m following PerkLab’s Slicer bootcamp tutorial on how to create a Module for 3D Slicer. But when I try to run the code to see the changes it returns this error: ModuleNotFoundError: No module named 'vtkmodules.v…

---

## [3rd Proxy works only in SequenceBrowser 1, but not in SeqBrowser 2. What happened with the Scene file?](https://discourse.slicer.org/t/3rd-proxy-works-only-in-sequencebrowser-1-but-not-in-seqbrowser-2-what-happened-with-the-scene-file/25404)

<div class="topic-metadata">

**Author:** [@sunshine](https://discourse.slicer.org/u/sunshine)\
**Replies:** 2\
**Last updated:** [November 7, 2022, 7:12pm UTC](https://discourse.slicer.org/t/3rd-proxy-works-only-in-sequencebrowser-1-but-not-in-seqbrowser-2-what-happened-with-the-scene-file/25404 "2022-11-07T19:12:51Z")

</div>

Hi everyone, I saved a scene file that contains two SequenceBrowser info, each SequenceBrowser has three Sequence nodes. Please find the folder of the Scene files here However, after I re-load this scene file, the thi…

---

## [How to remove NthDataNode from a vtkMRMLSequenceNode?](https://discourse.slicer.org/t/how-to-remove-nthdatanode-from-a-vtkmrmlsequencenode/26083)

<div class="topic-metadata">

**Author:** [@sunshine](https://discourse.slicer.org/u/sunshine)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 3:14pm UTC](https://discourse.slicer.org/t/how-to-remove-nthdatanode-from-a-vtkmrmlsequencenode/26083 "2022-11-06T15:14:13Z")

</div>

Hi everyone, I am working on the scripted module development, trying to edit the vtkMRMLSequenceNode. However, did not find any functions like RemoveNthDataNode(). How could I remove the NthDataNode? Thank you very m…

---

## [Are custom extensions private?](https://discourse.slicer.org/t/are-custom-extensions-private/25264)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.slicer.org/u/Luca)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 10:05am UTC](https://discourse.slicer.org/t/are-custom-extensions-private/25264 "2022-09-15T10:05:50Z")

</div>

Hello, I’m new to Slicer and would like to create and extension that contains some custome modules. When I created the extension through the extension wizard a CMakeLists.txt was automatically created. This file contains…

---

## [How to lock a Markups ControlPoint in 3D only, but allow drag in 2D?](https://discourse.slicer.org/t/how-to-lock-a-markups-controlpoint-in-3d-only-but-allow-drag-in-2d/25159)

<div class="topic-metadata">

**Author:** [@sunshine](https://discourse.slicer.org/u/sunshine)\
**Replies:** 3\
**Last updated:** [September 8, 2022, 4:31pm UTC](https://discourse.slicer.org/t/how-to-lock-a-markups-controlpoint-in-3d-only-but-allow-drag-in-2d/25159 "2022-09-08T16:31:49Z")

</div>

Hi everyone, I am trying to write my first extension module for annotation using module Markups. Here is my case: I would like to add an annotation to a slicer showing in the Red slice (red window), and allow dragging…

---

## [How to toggle slice display in 3D using python code?](https://discourse.slicer.org/t/how-to-toggle-slice-display-in-3d-using-python-code/25157)

<div class="topic-metadata">

**Author:** [@sunshine](https://discourse.slicer.org/u/sunshine)\
**Replies:** 2\
**Last updated:** [September 8, 2022, 2:56pm UTC](https://discourse.slicer.org/t/how-to-toggle-slice-display-in-3d-using-python-code/25157 "2022-09-08T14:56:44Z")

</div>

Hi everyone, I have a question about window control using python codes. What are the possible functions to call in order to to toggle slice display in 3D using python code? Thank you so much in advance!

---

## [How to add a calculated (instead of data input from OpenIGTLInk IO) proxy node in SequenceBrowser when recording an ultrasound sequences?](https://discourse.slicer.org/t/how-to-add-a-calculated-instead-of-data-input-from-openigtlink-io-proxy-node-in-sequencebrowser-when-recording-an-ultrasound-sequences/25133)

<div class="topic-metadata">

**Author:** [@sunshine](https://discourse.slicer.org/u/sunshine)\
**Replies:** 0\
**Last updated:** [September 7, 2022, 4:25am UTC](https://discourse.slicer.org/t/how-to-add-a-calculated-instead-of-data-input-from-openigtlink-io-proxy-node-in-sequencebrowser-when-recording-an-ultrasound-sequences/25133 "2022-09-07T04:25:22Z")

</div>

Hi everyone, I am trying to write my first extension module to do a real-time ultrasound annotation. I am now able to write a module for offline annotation with ultrasound sequences recorded as SequenceBrowsers in modu…

[Next page](https://discourse.slicer.org/tag/module/144.md?match_all_tags=true&page=1&tags%5B%5D=module)
