# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=17

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

**Page:** 18

---

## [batch registration using Elastix](https://discourse.slicer.org/t/batch-registration-using-elastix/37527)

<div class="topic-metadata">

**Author:** [@mingtian126](https://discourse.slicer.org/u/mingtian126)\
**Replies:** 0\
**Last updated:** [July 23, 2024, 5:49pm UTC](https://discourse.slicer.org/t/batch-registration-using-elastix/37527 "2024-07-23T17:49:26Z")

</div>

Operating system: Slicer version: Expected behavior: Actual behavior:

---

## [Slicer can be built and runs well on Windows Subsystem for Linux (WSL2)](https://discourse.slicer.org/t/slicer-can-be-built-and-runs-well-on-windows-subsystem-for-linux-wsl2/16022)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 7\
**Last updated:** [July 22, 2024, 10:17pm UTC](https://discourse.slicer.org/t/slicer-can-be-built-and-runs-well-on-windows-subsystem-for-linux-wsl2/16022 "2024-07-22T22:17:19Z")

</div>

Some information for Windows developers who want to develop/test Slicer on Linux. On current Windows 10 versions, it is very easy to install Linux and run Linux GUI applications such as Slicer, by using Windows Subsystem…

---

## [Question about the algorithm of the extract centerline module (VMTK)](https://discourse.slicer.org/t/question-about-the-algorithm-of-the-extract-centerline-module-vmtk/37495)

<div class="topic-metadata">

**Author:** [@Seokjun\_Hwang](https://discourse.slicer.org/u/Seokjun_Hwang)\
**Replies:** 1\
**Last updated:** [July 22, 2024, 10:07pm UTC](https://discourse.slicer.org/t/question-about-the-algorithm-of-the-extract-centerline-module-vmtk/37495 "2024-07-22T22:07:19Z")

</div>

Using the extract centerline module, I have obtained the centerline of the aorta, as shown in the picture. My research team members are interested in understanding and want to explain how this module generates the cent…

---

## [Get the slice view under the mouse cursor](https://discourse.slicer.org/t/get-the-slice-view-under-the-mouse-cursor/37501)

<div class="topic-metadata">

**Author:** [@rohithck](https://discourse.slicer.org/u/rohithck)\
**Replies:** 1\
**Last updated:** [July 22, 2024, 9:12pm UTC](https://discourse.slicer.org/t/get-the-slice-view-under-the-mouse-cursor/37501 "2024-07-22T21:12:08Z")

</div>

Hello slicer developers, How to get the slice view (Red, Green or Yellow) under the mouse cursor in Python, like what shown in Data Probe module (Eg: Green in the image)? And also how to get the plane coordinates (or p…

---

## [Add my own segmentation model to 3D Slicer](https://discourse.slicer.org/t/add-my-own-segmentation-model-to-3d-slicer/37221)

<div class="topic-metadata">

**Author:** [@maniron](https://discourse.slicer.org/u/maniron)\
**Replies:** 5\
**Last updated:** [July 22, 2024, 9:08pm UTC](https://discourse.slicer.org/t/add-my-own-segmentation-model-to-3d-slicer/37221 "2024-07-22T21:08:37Z")

</div>

Previously we were trying to add a plugin in windows and install the required packages of our plugin using PythonSlicer.exe in windows. PythonSlicer.exe -m pip install --trusted-host=pytorch.org --trusted-host=download…

---

## [Python 3.11 Upgrade](https://discourse.slicer.org/t/python-3-11-upgrade/36235)

<div class="topic-metadata">

**Author:** [@lukepolson](https://discourse.slicer.org/u/lukepolson)\
**Replies:** 2\
**Last updated:** [July 19, 2024, 5:29pm UTC](https://discourse.slicer.org/t/python-3-11-upgrade/36235 "2024-07-19T17:29:58Z")

</div>

Hi all, We’re currently in the process of developing a tomographic reconstruction extension for 3D slicer (currently SPECT, we hope to build others for PET/CT soon as well). Our extension relies on PyTomography, which i…

---

## [Module icon improvements](https://discourse.slicer.org/t/module-icon-improvements/37454)

<div class="topic-metadata">

**Author:** [@wenples](https://discourse.slicer.org/u/wenples)\
**Replies:** 3\
**Last updated:** [July 18, 2024, 6:20pm UTC](https://discourse.slicer.org/t/module-icon-improvements/37454 "2024-07-18T18:20:09Z")

</div>

Hi all, I’m working on slice viewer and segment editor icon improvements – focusing on the SEGMENT EDITOR MODULE here, I’d like to get feedback about clarifying the meaning any of the editor’s icons. For any of the tool…

---

## [Getting a "Qt 5.15 was not found on your system" error](https://discourse.slicer.org/t/getting-a-qt-5-15-was-not-found-on-your-system-error/37377)

<div class="topic-metadata">

**Author:** [@tmondo](https://discourse.slicer.org/u/tmondo)\
**Replies:** 2\
**Last updated:** [July 18, 2024, 8:33am UTC](https://discourse.slicer.org/t/getting-a-qt-5-15-was-not-found-on-your-system-error/37377 "2024-07-18T08:33:32Z")

</div>

Hello, I’ve been trying to setup Slicer for local development, but I’m having trouble with Qt when going through the configuration step. I’m running MacOS, and on the build instructions page(macOS — 3D Slicer documenta…

---

## [Import slicer module in script cli module](https://discourse.slicer.org/t/import-slicer-module-in-script-cli-module/37438)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 0\
**Last updated:** [July 18, 2024, 2:43am UTC](https://discourse.slicer.org/t/import-slicer-module-in-script-cli-module/37438 "2024-07-18T02:43:39Z")

</div>

I create a script cli module and call this script as below： PythonQt::init(); PythonQtObjectPtr context = PythonQt::self()-\>getMainModule(); QString cmd = QString( "import os\\n" "import sys\\n" "CTASegExePat…

---

## [Creating Multiple Transform Handles for a ModelNode in Slicer 5.7](https://discourse.slicer.org/t/creating-multiple-transform-handles-for-a-modelnode-in-slicer-5-7/37421)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 0\
**Last updated:** [July 17, 2024, 8:40am UTC](https://discourse.slicer.org/t/creating-multiple-transform-handles-for-a-modelnode-in-slicer-5-7/37421 "2024-07-17T08:40:51Z")

</div>

Hello, Is it possible to create two Transform handles for one model? I have tried to make it work with the video using the code below, but only one handle works while the other does not function properly. Am I missing…

---

## [Adding Shadow function throws error](https://discourse.slicer.org/t/adding-shadow-function-throws-error/37410)

<div class="topic-metadata">

**Author:** [@Marleen\_Sinsel](https://discourse.slicer.org/u/Marleen_Sinsel)\
**Replies:** 1\
**Last updated:** [July 16, 2024, 8:52pm UTC](https://discourse.slicer.org/t/adding-shadow-function-throws-error/37410 "2024-07-16T20:52:13Z")

</div>

We have created an extension with Total Segmentator for Slicer (5.6.1), in which there is a function to draw the silhouette around objects and in another function a shadow should be added. We get the error below, which o…

---

## [Using Python multithreading in 3D Slicer](https://discourse.slicer.org/t/using-python-multithreading-in-3d-slicer/32299)

<div class="topic-metadata">

**Author:** [@Hunger-beat](https://discourse.slicer.org/u/Hunger-beat)\
**Replies:** 11\
**Last updated:** [July 15, 2024, 3:00pm UTC](https://discourse.slicer.org/t/using-python-multithreading-in-3d-slicer/32299 "2024-07-15T15:00:56Z")

</div>

Dear forum， I am using Python to write an extension module in 3D Slicer. I need sub threads to perform heavy calculations while also interacting with the UI for some data. I used Python’s threading for multithreading pr…

---

## [Lock a specific plane for rotating or translating only](https://discourse.slicer.org/t/lock-a-specific-plane-for-rotating-or-translating-only/37327)

<div class="topic-metadata">

**Author:** [@Miguel\_Nobre\_Menezes](https://discourse.slicer.org/u/Miguel_Nobre_Menezes)\
**Replies:** 1\
**Last updated:** [July 13, 2024, 8:21pm UTC](https://discourse.slicer.org/t/lock-a-specific-plane-for-rotating-or-translating-only/37327 "2024-07-13T20:21:35Z")

</div>

I’m currently building a module for CT analysis. I’ve managed to do quite a bit and am in the process of refining it. I already created planes, rotated and centered them, added custom measurements and plotted a way to ge…

---

## [Brain image registration for radiotherapy treatment planning](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102)

<div class="topic-metadata">

**Author:** [@Eman\_Showkatian](https://discourse.slicer.org/u/Eman_Showkatian)\
**Replies:** 8\
**Last updated:** [July 12, 2024, 3:44pm UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102 "2024-07-12T15:44:21Z")

</div>

Operating system: Windows 10 x64 Slicer version: 4.11.0 Hi slicer team, I exported one patient data from the radiotherapy treatment planning system and tried to register the CT images with corresponding MRI T1w of the…

---

## [2D Slice/3D View interactions for Plot and Table views](https://discourse.slicer.org/t/2d-slice-3d-view-interactions-for-plot-and-table-views/37317)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 1\
**Last updated:** [July 11, 2024, 2:15am UTC](https://discourse.slicer.org/t/2d-slice-3d-view-interactions-for-plot-and-table-views/37317 "2024-07-11T02:15:54Z")

</div>

Maximizing of views with a button in the view controller as well as right-click context menu and double-click actions were originally added in Slicer with the following commit: I have recently been doing more work usin…

---

## [Automatic Fiducial Registration](https://discourse.slicer.org/t/automatic-fiducial-registration/7099)

<div class="topic-metadata">

**Author:** [@redsoxfan4](https://discourse.slicer.org/u/redsoxfan4)\
**Replies:** 5\
**Last updated:** [July 10, 2024, 3:14pm UTC](https://discourse.slicer.org/t/automatic-fiducial-registration/7099 "2024-07-10T15:14:05Z")

</div>

Hi All. I would like to build an extension that will automatically pick up MR-visible spheres and place a fiducial in the center of them. Would anyone be able to point me in the write direction for starting this project?…

---

## [Create dimension lines for 3D model](https://discourse.slicer.org/t/create-dimension-lines-for-3d-model/37250)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 1\
**Last updated:** [July 8, 2024, 12:43pm UTC](https://discourse.slicer.org/t/create-dimension-lines-for-3d-model/37250 "2024-07-08T12:43:27Z")

</div>

Hi all, I would like to draw dimension lines on a model in the 3D view as shown in the following image. Is there any existing feature in Slicer that provides similar functionality, or would it need to be created from…

---

## [Dockable qtWidgets](https://discourse.slicer.org/t/dockable-qtwidgets/37223)

<div class="topic-metadata">

**Author:** [@JASON](https://discourse.slicer.org/u/JASON)\
**Replies:** 2\
**Last updated:** [July 8, 2024, 11:06am UTC](https://discourse.slicer.org/t/dockable-qtwidgets/37223 "2024-07-08T11:06:11Z")

</div>

Hello, Is it possible to allow floating qtWidget UI to dock into the 3D Slicer interface? I notice that every item in the Slicer interface can be dragged & dropped into panels around the viewport. Is it possible for m…

---

## [I want to branch extract(remove)](https://discourse.slicer.org/t/i-want-to-branch-extract-remove/37001)

<div class="topic-metadata">

**Author:** [@Seokjun\_Hwang](https://discourse.slicer.org/u/Seokjun_Hwang)\
**Replies:** 2\
**Last updated:** [July 8, 2024, 3:10am UTC](https://discourse.slicer.org/t/i-want-to-branch-extract-remove/37001 "2024-07-08T03:10:54Z")

</div>

I am using Python and would like to remove the short branches from the aorta in the image below. My goal is to obtain a clean, tubular representation of the aorta. The purpose is to eliminate noise in order to calculate …

---

## [Running Slicer from PyCharm/external](https://discourse.slicer.org/t/running-slicer-from-pycharm-external/37095)

<div class="topic-metadata">

**Author:** [@b\_srf](https://discourse.slicer.org/u/b_srf)\
**Replies:** 4\
**Last updated:** [July 4, 2024, 8:00pm UTC](https://discourse.slicer.org/t/running-slicer-from-pycharm-external/37095 "2024-07-04T20:00:08Z")

</div>

Hello! I want to run a python script for Slicer from PyCharm. I’m using the SegmentEditor module and PyRadiomics, and would like to automate the process for batch processing. I’m able to write a script that runs on Slic…

---

## [Configure c++ intellisense and cmake tools for vscode](https://discourse.slicer.org/t/configure-c-intellisense-and-cmake-tools-for-vscode/37198)

<div class="topic-metadata">

**Author:** [@kritc](https://discourse.slicer.org/u/kritc)\
**Replies:** 0\
**Last updated:** [July 4, 2024, 3:21pm UTC](https://discourse.slicer.org/t/configure-c-intellisense-and-cmake-tools-for-vscode/37198 "2024-07-04T15:21:25Z")

</div>

I’m currently developing C++ CLI modules in Visual Studio Code in mac-apple-silicon. How to configure c++ intellisense and cmake tools to work in vscode ? please advice. The extension workspace is outside slicer sour…

---

## [Hide node and refresh view](https://discourse.slicer.org/t/hide-node-and-refresh-view/37168)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 1\
**Last updated:** [July 4, 2024, 10:33am UTC](https://discourse.slicer.org/t/hide-node-and-refresh-view/37168 "2024-07-04T10:33:48Z")

</div>

Hi， I just loaded segment file nii.gz by API slicer.util.loadSegmentation, then i want to hide this node named “post\_result” auto vesselNode = vtkMRMLSegmentationNode::SafeDownCast( d-\>scene-\>GetFirstNodeByName("p…

---

## [Selecting input nodes in Slicer RT's Segment Comparison](https://discourse.slicer.org/t/selecting-input-nodes-in-slicer-rts-segment-comparison/37149)

<div class="topic-metadata">

**Author:** [@zehret](https://discourse.slicer.org/u/zehret)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 11:53am UTC](https://discourse.slicer.org/t/selecting-input-nodes-in-slicer-rts-segment-comparison/37149 "2024-07-03T11:53:49Z")

</div>

Hi, I am trying to use a python script to run the Slicer RT Segment Comparison module. I am able to load the module and create buttons to compute the Hausdorff Distance and DICE metrics. I am struggling to set the struc…

---

## [Trigger Click Event in Slice](https://discourse.slicer.org/t/trigger-click-event-in-slice/37167)

<div class="topic-metadata">

**Author:** [@Cagatay](https://discourse.slicer.org/u/Cagatay)\
**Replies:** 0\
**Last updated:** [July 3, 2024, 8:53am UTC](https://discourse.slicer.org/t/trigger-click-event-in-slice/37167 "2024-07-03T08:53:06Z")

</div>

I want to move forward 10 slice when ckicking paint to make painting operation easier. How can i trigger a function when paint is clicked on slice?

---

## [GeoSlicer open source release](https://discourse.slicer.org/t/geoslicer-open-source-release/37157)

<div class="topic-metadata">

**Author:** [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 7:48pm UTC](https://discourse.slicer.org/t/geoslicer-open-source-release/37157 "2024-07-02T19:48:22Z")

</div>

Hello everyone. As some of you may know, LTrace develops GeoSlicer in partnership with a major oil company in Brazil - PETROBRAS. The goal is to adapt 3D Slicer to analyze and process digital rock images. Last week we …

---

## [TBB DLL problem with new version of Visual Studio](https://discourse.slicer.org/t/tbb-dll-problem-with-new-version-of-visual-studio/36936)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 18\
**Last updated:** [July 2, 2024, 3:35pm UTC](https://discourse.slicer.org/t/tbb-dll-problem-with-new-version-of-visual-studio/36936 "2024-07-02T15:35:05Z")

</div>

Hi all, I recently encountered something really strange, and since I saw this problem on three different machines, I think it is caused by the latest versions of Visual Studio. If we build Slicer (in Debug or Release, …

---

## [How to use my own GUI](https://discourse.slicer.org/t/how-to-use-my-own-gui/36977)

<div class="topic-metadata">

**Author:** [@huwqchn](https://discourse.slicer.org/u/huwqchn)\
**Replies:** 4\
**Last updated:** [July 1, 2024, 6:53am UTC](https://discourse.slicer.org/t/how-to-use-my-own-gui/36977 "2024-07-01T06:53:54Z")

</div>

Hi, I’m a beginner, and I would like to ask how to develop my own GUI for Slicer.

---

## [Build extension that depends on other extensions](https://discourse.slicer.org/t/build-extension-that-depends-on-other-extensions/37089)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 6:36pm UTC](https://discourse.slicer.org/t/build-extension-that-depends-on-other-extensions/37089 "2024-06-28T18:36:13Z")

</div>

While the build documentation of Slicer is complete, I found it hard to build an extension that depends on other extensions and I had to come up on how to do it myself. So here is my code for that: I still don’t know t…

---

## [MONAI auto3dseg for pigs](https://discourse.slicer.org/t/monai-auto3dseg-for-pigs/37040)

<div class="topic-metadata">

**Author:** [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 9:40am UTC](https://discourse.slicer.org/t/monai-auto3dseg-for-pigs/37040 "2024-06-28T09:40:57Z")

</div>

Hello, First of all, it’s been one year that I’ve been using 3DSlicer and I want to thanks everyone for this amazing tool and for their help in this forum :smile: We are looking for a way to automatically segment the o…

---

## [Loading scriptedCLI (python cli) modules with the extension](https://discourse.slicer.org/t/loading-scriptedcli-python-cli-modules-with-the-extension/37072)

<div class="topic-metadata">

**Author:** [@MartinBGregorio](https://discourse.slicer.org/u/MartinBGregorio)\
**Replies:** 1\
**Last updated:** [June 27, 2024, 4:05pm UTC](https://discourse.slicer.org/t/loading-scriptedcli-python-cli-modules-with-the-extension/37072 "2024-06-27T16:05:59Z")

</div>

I am building a python extension that uses both scripted and scriptedcli modules. I am trying to streamline the installation process by simply dropping the extension folder inside the slicer window (equiv to using the ex…

[Previous page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=16)

[Next page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=18)
