# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?page=12

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

**Page:** 13

---

## [Help with Blood Vessel Segmentation Module for My Engineering Thesis](https://discourse.slicer.org/t/help-with-blood-vessel-segmentation-module-for-my-engineering-thesis/40388)

<div class="topic-metadata">

**Author:** [@igi133](https://discourse.slicer.org/u/igi133)\
**Replies:** 10\
**Last updated:** [November 29, 2024, 3:13pm UTC](https://discourse.slicer.org/t/help-with-blood-vessel-segmentation-module-for-my-engineering-thesis/40388 "2024-11-29T15:13:57Z")

</div>

Hello everyone, I am currently working on my engineering thesis and I am developing a module for 3D Slicer that aims to detect and segment blood vessels from CT scan images. This module will be part of my research proje…

---

## [Frameless Window Design with Secondary Monitor Flickering and Performance Degradation](https://discourse.slicer.org/t/frameless-window-design-with-secondary-monitor-flickering-and-performance-degradation/40436)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 0\
**Last updated:** [November 29, 2024, 9:03am UTC](https://discourse.slicer.org/t/frameless-window-design-with-secondary-monitor-flickering-and-performance-degradation/40436 "2024-11-29T09:03:28Z")

</div>

Hi all! I am currently working on implementing a frameless window design for my application and rebuilding the functionalities provided by the native frame. The primary reasons for this approach are: To ensure consist…

---

## [Slicer install/update script](https://discourse.slicer.org/t/slicer-install-update-script/40393)

<div class="topic-metadata">

**Author:** [@d-vogel](https://discourse.slicer.org/u/d-vogel)\
**Replies:** 0\
**Last updated:** [November 27, 2024, 6:32am UTC](https://discourse.slicer.org/t/slicer-install-update-script/40393 "2024-11-27T06:32:22Z")

</div>

Dear all, I am happy to share the small shell script I built for myself to install and update slicer (either stable or nightly) : slicer-update It is a simple command line tool that downloads the binary archive, checks…

---

## [Introduction of "tiers" for Slicer extensions](https://discourse.slicer.org/t/introduction-of-tiers-for-slicer-extensions/34870)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 14\
**Last updated:** [November 25, 2024, 9:57pm UTC](https://discourse.slicer.org/t/introduction-of-tiers-for-slicer-extensions/34870 "2024-11-25T21:57:43Z")

</div>

The definition of tiers was revisited during July 16th weekly meeting\[1\] and this post was updated accordingly. During our last Slicer developer hangout of March 13th 2024, we discussed the issue that review and approva…

---

## [Coordinate error when outputting VTK model](https://discourse.slicer.org/t/coordinate-error-when-outputting-vtk-model/40154)

<div class="topic-metadata">

**Author:** [@yoonjh119](https://discourse.slicer.org/u/yoonjh119)\
**Replies:** 2\
**Last updated:** [November 24, 2024, 11:40am UTC](https://discourse.slicer.org/t/coordinate-error-when-outputting-vtk-model/40154 "2024-11-24T11:40:50Z")

</div>

I am writing a code to read a nifiti file with python code, convert it to vtk format, and save it again. When I display the output result in a slicer, the location is different. Below is the output result (original in re…

---

## [Issue with DebuggingTools Module on 3D Slicer (v5.6.2 r32448) on Ubuntu 22.04](https://discourse.slicer.org/t/issue-with-debuggingtools-module-on-3d-slicer-v5-6-2-r32448-on-ubuntu-22-04/40339)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 1\
**Last updated:** [November 23, 2024, 11:44am UTC](https://discourse.slicer.org/t/issue-with-debuggingtools-module-on-3d-slicer-v5-6-2-r32448-on-ubuntu-22-04/40339 "2024-11-23T11:44:10Z")

</div>

Hello Dear Developers and Users, Excuse me for asking a question that might be obvious to many: I have installed the DebuggingTools module on 3DSlicer version 5.6.2 r32448 on Ubuntu 22.04 . I also installed PyCharm 20…

---

## [When running slicer.cli.run, an error occurs.](https://discourse.slicer.org/t/when-running-slicer-cli-run-an-error-occurs/40317)

<div class="topic-metadata">

**Author:** [@fallen\_leaves](https://discourse.slicer.org/u/fallen_leaves)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 10:17pm UTC](https://discourse.slicer.org/t/when-running-slicer-cli-run-an-error-occurs/40317 "2024-11-21T22:17:18Z")

</div>

When running slicer.cli.run, an error occurs. As shown below: The code is shown in the figure Could you please tell me how to solve this?

---

## [Hanging popup some times after loading DICOM files](https://discourse.slicer.org/t/hanging-popup-some-times-after-loading-dicom-files/6057)

<div class="topic-metadata">

**Author:** [@torquil](https://discourse.slicer.org/u/torquil)\
**Replies:** 8\
**Last updated:** [November 21, 2024, 6:07pm UTC](https://discourse.slicer.org/t/hanging-popup-some-times-after-loading-dicom-files/6057 "2024-11-21T18:07:39Z")

</div>

Sometimes after loading som DICOM files, the popup window showing the text “Processing…” doesn’t disappear unless I close it manually. I don’t know why it happens, and it doesn’t happen every time. Usually it just disppe…

---

## [Script cli module output volume fails](https://discourse.slicer.org/t/script-cli-module-output-volume-fails/40213)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 4\
**Last updated:** [November 21, 2024, 3:39am UTC](https://discourse.slicer.org/t/script-cli-module-output-volume-fails/40213 "2024-11-21T03:39:38Z")

</div>

i called i scriptd cli module and outputvolume is vtkMRMLVectorVolumeNode Here is code in ctacli.py file and fusion\_image is np array ImageType = itk.Image\[itk.F, 3\] itk\_image = itk.PyBuffer\[ImageType\].GetImageFromArra…

---

## [Smoothen NIFTI file](https://discourse.slicer.org/t/smoothen-nifti-file/40281)

<div class="topic-metadata">

**Author:** [@Amine\_MK](https://discourse.slicer.org/u/Amine_MK)\
**Replies:** 1\
**Last updated:** [November 20, 2024, 9:52pm UTC](https://discourse.slicer.org/t/smoothen-nifti-file/40281 "2024-11-20T21:52:22Z")

</div>

Hello I noticed that when we open a NIFTI file in Slicer, it automatically applies a transformation to the mesh and make it smooth. I would like to know if we can access this feature through Python code? And what is the…

---

## [Select specific control points from qSlicerSimpleMarkupsWidget](https://discourse.slicer.org/t/select-specific-control-points-from-qslicersimplemarkupswidget/40270)

<div class="topic-metadata">

**Author:** [@justomont](https://discourse.slicer.org/u/justomont)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 5:30pm UTC](https://discourse.slicer.org/t/select-specific-control-points-from-qslicersimplemarkupswidget/40270 "2024-11-19T17:30:48Z")

</div>

Hey there! I’m developing a scripted module and I want the user to be able to select and unselect specific markup control points from the module’s GUI, similarly to what can be done from the Markups module. For example,…

---

## [Mask Volume Logic](https://discourse.slicer.org/t/mask-volume-logic/40235)

<div class="topic-metadata">

**Author:** [@Filippo\_Parronchi](https://discourse.slicer.org/u/Filippo_Parronchi)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 9:31pm UTC](https://discourse.slicer.org/t/mask-volume-logic/40235 "2024-11-18T21:31:59Z")

</div>

Hi everyone, I’m using a 3D Slicer instance without GUI (headless representation) on my Apache2 server. In my Python script, I can’t use the widget representation, so I need to directly call the logic functions of the…

---

## [Extracting transformation matrix information from needle models overlaid on ultrasound images](https://discourse.slicer.org/t/extracting-transformation-matrix-information-from-needle-models-overlaid-on-ultrasound-images/40255)

<div class="topic-metadata">

**Author:** [@Sangrok](https://discourse.slicer.org/u/Sangrok)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 9:00pm UTC](https://discourse.slicer.org/t/extracting-transformation-matrix-information-from-needle-models-overlaid-on-ultrasound-images/40255 "2024-11-18T21:00:13Z")

</div>

Hello. Using 3D Slicer, I implemented the registration of ultrasound images and OTS data, overlaying a cyan-colored needle model on the ultrasound images. As shown in the figure below, I want to extract the needle tip p…

---

## [A corner-case issue with invoking CLI modules](https://discourse.slicer.org/t/a-corner-case-issue-with-invoking-cli-modules/40246)

<div class="topic-metadata">

**Author:** [@shai-ikko](https://discourse.slicer.org/u/shai-ikko)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 4:37pm UTC](https://discourse.slicer.org/t/a-corner-case-issue-with-invoking-cli-modules/40246 "2024-11-18T16:37:38Z")

</div>

Hi, TL;DR: There’s a little clash between Slicer CLI module invocation and Python’s argparse, in a corner case; there’s a non-obvious workaround; maybe there should be a fix. I’m developing some functionality in Slicer…

---

## [Use Class from Main Python Script in a python file in subfolder](https://discourse.slicer.org/t/use-class-from-main-python-script-in-a-python-file-in-subfolder/40074)

<div class="topic-metadata">

**Author:** [@maximeb](https://discourse.slicer.org/u/maximeb)\
**Replies:** 2\
**Last updated:** [November 18, 2024, 3:34pm UTC](https://discourse.slicer.org/t/use-class-from-main-python-script-in-a-python-file-in-subfolder/40074 "2024-11-18T15:34:14Z")

</div>

Hi, Our team is developing a Slicer module. We want to split our code into different python files (are in subfolders). It works to import variables and functions (for example) from modules to main, but when we try to i…

---

## ["Surface Smoothing" in Volume Rendering - Sparkling Artifacts on Rendered Images](https://discourse.slicer.org/t/surface-smoothing-in-volume-rendering-sparkling-artifacts-on-rendered-images/40238)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 4:07am UTC](https://discourse.slicer.org/t/surface-smoothing-in-volume-rendering-sparkling-artifacts-on-rendered-images/40238 "2024-11-18T04:07:25Z")

</div>

Hi all, I’ve been working with volume rendering, specifically using the “Surface Smoothing” feature. However, I noticed that enabling this feature introduces sparkling artifacts on the rendered images, as shown in the a…

---

## [SlicerRT build fails with new DCMTK](https://discourse.slicer.org/t/slicerrt-build-fails-with-new-dcmtk/40177)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 14\
**Last updated:** [November 16, 2024, 2:58pm UTC](https://discourse.slicer.org/t/slicerrt-build-fails-with-new-dcmtk/40177 "2024-11-16T14:58:05Z")

</div>

Just posting this quickly in case someone knows this off the top off their head. I noticed lately that DCMTK probably changed under Slicer. Unfortunately besides some inconveniences (like having to do a clean build of S…

---

## [Asynchronous design pattern](https://discourse.slicer.org/t/asynchronous-design-pattern/40159)

<div class="topic-metadata">

**Author:** [@JASON](https://discourse.slicer.org/u/JASON)\
**Replies:** 3\
**Last updated:** [November 15, 2024, 9:58pm UTC](https://discourse.slicer.org/t/asynchronous-design-pattern/40159 "2024-11-15T21:58:31Z")

</div>

Hello, I am developing UI for a few tasks in 3D Slicer that take a while to execute (remote database query, or some local compute task). What are some common design patterns for handling these tasks in an asynchronous m…

---

## [Automatically erase a part of a segmentation](https://discourse.slicer.org/t/automatically-erase-a-part-of-a-segmentation/40218)

<div class="topic-metadata">

**Author:** [@Fleur\_Gaudfernau](https://discourse.slicer.org/u/Fleur_Gaudfernau)\
**Replies:** 0\
**Last updated:** [November 15, 2024, 4:11pm UTC](https://discourse.slicer.org/t/automatically-erase-a-part-of-a-segmentation/40218 "2024-11-15T16:11:15Z")

</div>

Hello, I am fairly new to using python scripts in Slicer. I have rather simple brain segmentation (1 label) and I want to physically separate the brain hemispheres, i.e. remove the junction between the hemispheres and …

---

## [Creating a module for electron bolus](https://discourse.slicer.org/t/creating-a-module-for-electron-bolus/37766)

<div class="topic-metadata">

**Author:** [@sima](https://discourse.slicer.org/u/sima)\
**Replies:** 38\
**Last updated:** [November 15, 2024, 8:46am UTC](https://discourse.slicer.org/t/creating-a-module-for-electron-bolus/37766 "2024-11-15T08:46:53Z")

</div>

Hi professors I manually designed individual electron bolus using 3D slicer software for my thesis a year ago. Now I have written Python codes to have electron bolus in 3D slicer automatically. and I am eager to add th…

---

## [How to Disable Right-Click Context Menu in Toolbar Area?](https://discourse.slicer.org/t/how-to-disable-right-click-context-menu-in-toolbar-area/40197)

<div class="topic-metadata">

**Author:** [@nih4t](https://discourse.slicer.org/u/nih4t)\
**Replies:** 0\
**Last updated:** [November 14, 2024, 2:37pm UTC](https://discourse.slicer.org/t/how-to-disable-right-click-context-menu-in-toolbar-area/40197 "2024-11-14T14:37:06Z")

</div>

Hello, I am working on a custom 3D Slicer application and would like to disable the right-click functionality in the toolbar area, next to the data load button (see attached image for reference). Is there a way to compl…

---

## [There was an issue when running ./Slicer --launch /home/xxx/Qt5.14.2/Tools/QtCreator/bin/qtcreator on Ubuntu 18.04.](https://discourse.slicer.org/t/there-was-an-issue-when-running-slicer-launch-home-xxx-qt5-14-2-tools-qtcreator-bin-qtcreator-on-ubuntu-18-04/40173)

<div class="topic-metadata">

**Author:** [@tthh7](https://discourse.slicer.org/u/tthh7)\
**Replies:** 2\
**Last updated:** [November 14, 2024, 1:17am UTC](https://discourse.slicer.org/t/there-was-an-issue-when-running-slicer-launch-home-xxx-qt5-14-2-tools-qtcreator-bin-qtcreator-on-ubuntu-18-04/40173 "2024-11-14T01:17:39Z")

</div>

I successfully built Slicer version 5.7.0-2024-11-08 on Ubuntu 18.04 following the instructions in the Slicer documentation. However, when I try to debug using Qt, I run into an issue. I launched Qt Creator using the com…

---

## [Issue with Cursor RAS Position Retrieval in Slicer 5.7](https://discourse.slicer.org/t/issue-with-cursor-ras-position-retrieval-in-slicer-5-7/40064)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 3\
**Last updated:** [November 12, 2024, 7:33pm UTC](https://discourse.slicer.org/t/issue-with-cursor-ras-position-retrieval-in-slicer-5-7/40064 "2024-11-12T19:33:17Z")

</div>

Hi all, I’m trying to retrieve the cursor’s RAS position using the following code: ras = \[0, 0, 0\] crosshairNode.GetCursorPositionRAS(ras) In Slicer 5.6, when the cursor was positioned over the modelNode, it would ret…

---

## [Persistent favorites folder in Add Data GUI](https://discourse.slicer.org/t/persistent-favorites-folder-in-add-data-gui/21595)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.slicer.org/u/phcerdan)\
**Replies:** 14\
**Last updated:** [November 12, 2024, 3:24pm UTC](https://discourse.slicer.org/t/persistent-favorites-folder-in-add-data-gui/21595 "2024-11-12T15:24:27Z")

</div>

Dropping a folder to the list of favorites is great: But it would be even better if it persist after a restart, or at least that there is an option in general settings to set my favorites folders. Another related op…

---

## [Run python script in thread cause crash](https://discourse.slicer.org/t/run-python-script-in-thread-cause-crash/40139)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 0\
**Last updated:** [November 12, 2024, 1:42am UTC](https://discourse.slicer.org/t/run-python-script-in-thread-cause-crash/40139 "2024-11-12T01:42:22Z")

</div>

Hi I try to run heavy calculation by qtimer cmd = “pythonSlicerExecutablePath=os.path.dirname(sys.executable)+‘/PythonSlicer.exe’\\n” “commandLine = \[pythonSlicerExecutablePath, script, ‘%1’\]\\n” “proc=slicer.util.lau…

---

## [Unexpected interactions of ROI objects with code](https://discourse.slicer.org/t/unexpected-interactions-of-roi-objects-with-code/40053)

<div class="topic-metadata">

**Author:** [@shai-ikko](https://discourse.slicer.org/u/shai-ikko)\
**Replies:** 4\
**Last updated:** [November 11, 2024, 9:49am UTC](https://discourse.slicer.org/t/unexpected-interactions-of-roi-objects-with-code/40053 "2024-11-11T09:49:55Z")

</div>

This continues the topic Configure ROI to match volume through code but I think that post was not phrased very well, so let’s start again: I’m creating a ROI with code based on an example from the script repository: se…

---

## [Help submitting extension Breast DCE-MRI FTV](https://discourse.slicer.org/t/help-submitting-extension-breast-dce-mri-ftv/18955)

<div class="topic-metadata">

**Author:** [@rohan\_n](https://discourse.slicer.org/u/rohan_n)\
**Replies:** 21\
**Last updated:** [November 9, 2024, 4:38pm UTC](https://discourse.slicer.org/t/help-submitting-extension-breast-dce-mri-ftv/18955 "2024-11-09T16:38:47Z")

</div>

I just submitted pull request for my new extension to the master branch of Extensions Index. The attached image says that 1 of the 3 checks failed. Is this something I need to fix? If so, how? I submitted this pull …

---

## [How to Activate Slice View on Mouse Hover](https://discourse.slicer.org/t/how-to-activate-slice-view-on-mouse-hover/39937)

<div class="topic-metadata">

**Author:** [@huwqchn](https://discourse.slicer.org/u/huwqchn)\
**Replies:** 11\
**Last updated:** [November 1, 2024, 4:59pm UTC](https://discourse.slicer.org/t/how-to-activate-slice-view-on-mouse-hover/39937 "2024-11-01T16:59:28Z")

</div>

Hi everyone, I’ve set up multiple shortcuts for each view, but they only work if I click to activate the view first. I’d like to improve my workflow by activating views on mouse hover instead, so shortcuts are immediate…

---

## [Convertion from DICOM to Nifti for multiple dicom series](https://discourse.slicer.org/t/convertion-from-dicom-to-nifti-for-multiple-dicom-series/40067)

<div class="topic-metadata">

**Author:** [@fabiogatelli](https://discourse.slicer.org/u/fabiogatelli)\
**Replies:** 0\
**Last updated:** [November 7, 2024, 12:34pm UTC](https://discourse.slicer.org/t/convertion-from-dicom-to-nifti-for-multiple-dicom-series/40067 "2024-11-07T12:34:58Z")

</div>

Hi all, I’m trying to perform the DICOM to NIFTI conversion using 3DSlicer for multiple dicom series. I wonder if there is a way to exploit 3DSlicer converter to perform in a more automatic way this conversion. For examp…

---

## [How to disable the splash screen before launching the program](https://discourse.slicer.org/t/how-to-disable-the-splash-screen-before-launching-the-program/29928)

<div class="topic-metadata">

**Author:** [@nnzzll](https://discourse.slicer.org/u/nnzzll)\
**Replies:** 3\
**Last updated:** [November 7, 2024, 5:48am UTC](https://discourse.slicer.org/t/how-to-disable-the-splash-screen-before-launching-the-program/29928 "2024-11-07T05:48:30Z")

</div>

I am developing a custom app of Slicer and I need to setup the splash screen defined by user’s choice. I’ve read this post :change-the-splash-screen-of-slicer-upon-launch, noticed that there are two splash screen during…

[Previous page](https://discourse.slicer.org/c/dev/5.md?page=11)

[Next page](https://discourse.slicer.org/c/dev/5.md?page=13)
