# Development

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

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

**Page:** 25

---

## [Merging masks of nifti format and assigning conductivities to each](https://discourse.slicer.org/t/merging-masks-of-nifti-format-and-assigning-conductivities-to-each/34401)

<div class="topic-metadata">

**Author:** [@savvy73](https://discourse.slicer.org/u/savvy73)\
**Replies:** 3\
**Last updated:** [February 21, 2024, 3:17am UTC](https://discourse.slicer.org/t/merging-masks-of-nifti-format-and-assigning-conductivities-to-each/34401 "2024-02-21T03:17:44Z")

</div>

Hi, I have masks of different regions of brain in niftii format. I want to combine all the masks and assign conductivities to the same after which I need to mesh the output. I wanted to know if it can be done using 3D sl…

---

## [Tab changed event in customized tabbed view](https://discourse.slicer.org/t/tab-changed-event-in-customized-tabbed-view/34432)

<div class="topic-metadata">

**Author:** [@bzhu](https://discourse.slicer.org/u/bzhu)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 11:55pm UTC](https://discourse.slicer.org/t/tab-changed-event-in-customized-tabbed-view/34432 "2024-02-20T23:55:20Z")

</div>

With a customized tab view, I have several tabs in a layout. (See Customized tabbed view Within each tab, there are a group of views. I need to place some action code when the active tab is changed. Help to capture thi…

---

## [SlicerCAT as web service](https://discourse.slicer.org/t/slicercat-as-web-service/32976)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 7\
**Last updated:** [February 19, 2024, 12:24pm UTC](https://discourse.slicer.org/t/slicercat-as-web-service/32976 "2024-02-19T12:24:33Z")

</div>

Hi, I’m thinking about making a web service based on SlicerCAT. That means SlicerCAT should be run as a backend and the frontend should control what is rendered in SlicerCAT and all the VTK interaction (same as we do i…

---

## [Relation between μ and Zeff](https://discourse.slicer.org/t/relation-between-and-zeff/34382)

<div class="topic-metadata">

**Author:** [@styrene](https://discourse.slicer.org/u/styrene)\
**Replies:** 0\
**Last updated:** [February 18, 2024, 4:09am UTC](https://discourse.slicer.org/t/relation-between-and-zeff/34382 "2024-02-18T04:09:17Z")

</div>

Hey guys, recently I plan to write an extension for advanced post-processing of dual-energy CT, but I can’t construct a relation between the linear decay coefficient μ and the effective atomic number Zeff, do you have an…

---

## [Many extensions are not getting updates for Slicer Stable Release](https://discourse.slicer.org/t/many-extensions-are-not-getting-updates-for-slicer-stable-release/34343)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 6\
**Last updated:** [February 17, 2024, 8:45pm UTC](https://discourse.slicer.org/t/many-extensions-are-not-getting-updates-for-slicer-stable-release/34343 "2024-02-17T20:45:39Z")

</div>

Nightly build of many extensions for Slicer-5.6 have build errors on Windows and macOS. The errors started to show up a few weeks ago. For example, SlicerHeart extension failures: https://slicer.cdash.org/index.php?pro…

---

## [Slicer DCMTK needs an update](https://discourse.slicer.org/t/slicer-dcmtk-needs-an-update/34363)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 3\
**Last updated:** [February 16, 2024, 8:13pm UTC](https://discourse.slicer.org/t/slicer-dcmtk-needs-an-update/34363 "2024-02-16T20:13:48Z")

</div>

Slicer is using DCMTK version 3.6.6, which based on the tag in GitHub - commontk/DCMTK at patched-DCMTK-3.6.6\_20210115 is from October 2021! Current version of DCMTK is 3.6.8: git.dcmtk.org Git - dcmtk.git/summary. Mich…

---

## [Can I change the color of only certain parts of the mesh?](https://discourse.slicer.org/t/can-i-change-the-color-of-only-certain-parts-of-the-mesh/34337)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 3\
**Last updated:** [February 15, 2024, 10:40pm UTC](https://discourse.slicer.org/t/can-i-change-the-color-of-only-certain-parts-of-the-mesh/34337 "2024-02-15T22:40:57Z")

</div>

Operating system: window 10 Slicer version: 5.4 hi slicer users, Is it possible in slicer to select a specific area on the mesh (e.g. by dragging the mouse) and change the color of only that area? If it is possibl…

---

## [Create labelmap nrrd file from numpy array](https://discourse.slicer.org/t/create-labelmap-nrrd-file-from-numpy-array/34285)

<div class="topic-metadata">

**Author:** [@Elias\_Kim](https://discourse.slicer.org/u/Elias_Kim)\
**Replies:** 1\
**Last updated:** [February 13, 2024, 5:00pm UTC](https://discourse.slicer.org/t/create-labelmap-nrrd-file-from-numpy-array/34285 "2024-02-13T17:00:20Z")

</div>

Hi, I’m interested in converting a numpy array into a .nrrd file that functions as a label map in 3D slicer. This numpy array represents the output of a custom semantic segmentation model, containing 33 distinct classe…

---

## [Slicer crashes after installing and importing tensorflow on linux](https://discourse.slicer.org/t/slicer-crashes-after-installing-and-importing-tensorflow-on-linux/34259)

<div class="topic-metadata">

**Author:** [@CyprienB](https://discourse.slicer.org/u/CyprienB)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 6:29pm UTC](https://discourse.slicer.org/t/slicer-crashes-after-installing-and-importing-tensorflow-on-linux/34259 "2024-02-12T18:29:58Z")

</div>

Operating system: Fedora Linux 39 Slicer version: Slicer-5.6.1 Expected behavior: Import tensorflow from a python extension Actual behavior: Slicer crashes after installing tensorflow Hello, After installing Slicer-…

---

## [Slicer 5.6: unable to change interactor style](https://discourse.slicer.org/t/slicer-5-6-unable-to-change-interactor-style/34010)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 8\
**Last updated:** [February 12, 2024, 7:52am UTC](https://discourse.slicer.org/t/slicer-5-6-unable-to-change-interactor-style/34010 "2024-02-12T07:52:25Z")

</div>

Hi, In previous releases of Slicer (5.2 for example) it used to be possible to change interactor (from this post): lm = slicer.app.layoutManager() rw = lm.sliceWidget('Red').sliceView().renderWindow() style = vtk.vtkIn…

---

## [Need Help Turning X-Ray To 3D Scan](https://discourse.slicer.org/t/need-help-turning-x-ray-to-3d-scan/34249)

<div class="topic-metadata">

**Author:** [@BabyMama937](https://discourse.slicer.org/u/BabyMama937)\
**Replies:** 0\
**Last updated:** [February 11, 2024, 6:29pm UTC](https://discourse.slicer.org/t/need-help-turning-x-ray-to-3d-scan/34249 "2024-02-11T18:29:18Z")

</div>

Hi, how can convert X-Ray scans to 3D scans? Thank you!

---

## [Create dock widgets over Slicer views](https://discourse.slicer.org/t/create-dock-widgets-over-slicer-views/20584)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 16\
**Last updated:** [February 10, 2024, 6:56pm UTC](https://discourse.slicer.org/t/create-dock-widgets-over-slicer-views/20584 "2024-02-10T18:56:16Z")

</div>

Hi. I’m having problems implementing a floating (unmovable) widget container over the views like in these images: As you can see the floating widgets appear over the views (3D and slices) and I think they sh…

---

## [Request for Detailed Steps to Reproduce Issues: Loading Photos in Slicer 3D and more](https://discourse.slicer.org/t/request-for-detailed-steps-to-reproduce-issues-loading-photos-in-slicer-3d-and-more/34227)

<div class="topic-metadata">

**Author:** [@Aram\_Harutyunyan](https://discourse.slicer.org/u/Aram_Harutyunyan)\
**Replies:** 1\
**Last updated:** [February 9, 2024, 4:13pm UTC](https://discourse.slicer.org/t/request-for-detailed-steps-to-reproduce-issues-loading-photos-in-slicer-3d-and-more/34227 "2024-02-09T16:13:23Z")

</div>

I’m trying to contribute in this project but from the user’s point of view I could not recreate many issues and one of them for example is Fix initialization of MRML node selector linked to parameter node on scene load ·…

---

## [How to draw curve on model surface?](https://discourse.slicer.org/t/how-to-draw-curve-on-model-surface/34211)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 0\
**Last updated:** [February 8, 2024, 2:48pm UTC](https://discourse.slicer.org/t/how-to-draw-curve-on-model-surface/34211 "2024-02-08T14:48:42Z")

</div>

i have two markups point on a model surface , is it possible to draw a curve on the model surface to connect two markups point through python script? or is there any extensions can do this work?

---

## [Connecting 3D Slicer with XNAT](https://discourse.slicer.org/t/connecting-3d-slicer-with-xnat/34182)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 2\
**Last updated:** [February 8, 2024, 2:12am UTC](https://discourse.slicer.org/t/connecting-3d-slicer-with-xnat/34182 "2024-02-08T02:12:43Z")

</div>

Is there any plugin for connecting slicer with xnat? regards, Saima

---

## [Different approach for centerline extraction](https://discourse.slicer.org/t/different-approach-for-centerline-extraction/34036)

<div class="topic-metadata">

**Author:** [@nmg-earthling](https://discourse.slicer.org/u/nmg-earthling)\
**Replies:** 6\
**Last updated:** [February 7, 2024, 9:24pm UTC](https://discourse.slicer.org/t/different-approach-for-centerline-extraction/34036 "2024-02-07T21:24:24Z")

</div>

Hello Slicer Community, I have some scripts written for a client about 9 or 10 years ago for automated centerline extraction (and calculating metrics for those centerlines) that I developed with VMTK. The client recent…

---

## [How to convert between ITK transforms and Slicer transform nodes?](https://discourse.slicer.org/t/how-to-convert-between-itk-transforms-and-slicer-transform-nodes/34074)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.slicer.org/u/dzenanz)\
**Replies:** 8\
**Last updated:** [February 7, 2024, 4:06pm UTC](https://discourse.slicer.org/t/how-to-convert-between-itk-transforms-and-slicer-transform-nodes/34074 "2024-02-07T16:06:28Z")

</div>

I am creating a scripted module for ANTs registration (wip). It is invoking a wrapped itk::ANTSRegistration. For Slicer node ↔ ITKImage conversion, I am using previously added utility functions. But I am not aware of a c…

---

## [How to replace viewer layout with a png image](https://discourse.slicer.org/t/how-to-replace-viewer-layout-with-a-png-image/34120)

<div class="topic-metadata">

**Author:** [@tbone](https://discourse.slicer.org/u/tbone)\
**Replies:** 1\
**Last updated:** [February 7, 2024, 11:58am UTC](https://discourse.slicer.org/t/how-to-replace-viewer-layout-with-a-png-image/34120 "2024-02-07T11:58:42Z")

</div>

Hi everyone, I’m new to Slicer and this might be a simple question, but I’ve been trying to change the viewer layout from a Python script so that I can load a simple png image into it. For example, it could just replace …

---

## [Progress bar window's inside is transparent when displaying it](https://discourse.slicer.org/t/progress-bar-windows-inside-is-transparent-when-displaying-it/34107)

<div class="topic-metadata">

**Author:** [@Gabriel\_J](https://discourse.slicer.org/u/Gabriel_J)\
**Replies:** 1\
**Last updated:** [February 6, 2024, 7:51am UTC](https://discourse.slicer.org/t/progress-bar-windows-inside-is-transparent-when-displaying-it/34107 "2024-02-06T07:51:41Z")

</div>

Hello, I’m developing a Python plugin using the Extension Wizard template as the code basis, and I would like to add a loading bar. I’ve seen that it can be done like this: progress\_bar = slicer.util.createProgressDia…

---

## [How to access and manipulate segmentation node as a numpy array?](https://discourse.slicer.org/t/how-to-access-and-manipulate-segmentation-node-as-a-numpy-array/34110)

<div class="topic-metadata">

**Author:** [@tueboesen](https://discourse.slicer.org/u/tueboesen)\
**Replies:** 3\
**Last updated:** [February 5, 2024, 9:01am UTC](https://discourse.slicer.org/t/how-to-access-and-manipulate-segmentation-node-as-a-numpy-array/34110 "2024-02-05T09:01:28Z")

</div>

I have a segmentation node, which is a object of type \<MRMLCorePython.vtkMRMLSegmentationNode(0xcf8dfe0) at 0x7f89a3712a00\> So if I understand this correctly then that means it can have any number of binary segmentation…

---

## [Slicer build error on Windows on the dashboard](https://discourse.slicer.org/t/slicer-build-error-on-windows-on-the-dashboard/33967)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 17\
**Last updated:** [February 2, 2024, 7:19am UTC](https://discourse.slicer.org/t/slicer-build-error-on-windows-on-the-dashboard/33967 "2024-02-02T07:19:29Z")

</div>

Since January 21, Slicer build on Windows has been failing (4 out of 5 cases) - see dashbaord with this error: LINK : fatal error LNK1104: cannot open file 'D:\\D\\P\\S-0-build\\DCMTK-build\\bin\\Release\\ofstd.dll' \[D:\\D\\P\\S-…

---

## [Add custom interaction with sliceview](https://discourse.slicer.org/t/add-custom-interaction-with-sliceview/34061)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 4:20pm UTC](https://discourse.slicer.org/t/add-custom-interaction-with-sliceview/34061 "2024-02-01T16:20:21Z")

</div>

Hi, There are two ways to zoom slice view: hold right mouse btn adn drag hold ctrl key and use wheel I’m going to implement the interaction that changes FOV independently by vertical and horizontal dimensions when us…

---

## [Loading rgb iamge and .ply file](https://discourse.slicer.org/t/loading-rgb-iamge-and-ply-file/34090)

<div class="topic-metadata">

**Author:** [@Priya\_5](https://discourse.slicer.org/u/Priya_5)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 12:03pm UTC](https://discourse.slicer.org/t/loading-rgb-iamge-and-ply-file/34090 "2024-02-01T12:03:58Z")

</div>

I am very new to 3D Slicer, and I would appreciate it if someone could help clarify my understanding regarding the following query: I have a .dcm file that contains an RGB 2D image and metadata for all modules such as p…

---

## [Converting segmentation to numpy array and back does not conserve layer ordering](https://discourse.slicer.org/t/converting-segmentation-to-numpy-array-and-back-does-not-conserve-layer-ordering/34079)

<div class="topic-metadata">

**Author:** [@tueboesen](https://discourse.slicer.org/u/tueboesen)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 10:03am UTC](https://discourse.slicer.org/t/converting-segmentation-to-numpy-array-and-back-does-not-conserve-layer-ordering/34079 "2024-02-01T10:03:58Z")

</div>

I have the following function in my custom built segment editor module, built upon the standard extension script. The problem is that the segments I manually put in gets moved to a different layer when I run this code, a…

---

## [An extension for Statistical shape analysis](https://discourse.slicer.org/t/an-extension-for-statistical-shape-analysis/23217)

<div class="topic-metadata">

**Author:** [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 1:21am UTC](https://discourse.slicer.org/t/an-extension-for-statistical-shape-analysis/23217 "2024-02-01T01:21:17Z")

</div>

Dear All, I’m proposing to add an extension that performs the Statistical shape analysis using the 3D Poisson equations. The repository is at: The paper is: Gao Y, Bouix S. Statistical Shape Analysis using 3D Poisso…

---

## [How to load nifti file from web browser link?](https://discourse.slicer.org/t/how-to-load-nifti-file-from-web-browser-link/18664)

<div class="topic-metadata">

**Author:** [@ASH](https://discourse.slicer.org/u/ASH)\
**Replies:** 53\
**Last updated:** [January 31, 2024, 7:27am UTC](https://discourse.slicer.org/t/how-to-load-nifti-file-from-web-browser-link/18664 "2024-01-31T07:27:17Z")

</div>

Hi there, I have a nifti file (xxx.nii.gz) and can open it in 3D slicer with drag and drop the file to the app. I watched the video (Using 3D Slicer with cloud DICOMweb databases - YouTube) and found a DICOM can be ope…

---

## [Custom module icons in SlicerCustomAppTemplateApp missing](https://discourse.slicer.org/t/custom-module-icons-in-slicercustomapptemplateapp-missing/34037)

<div class="topic-metadata">

**Author:** [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 9:25pm UTC](https://discourse.slicer.org/t/custom-module-icons-in-slicercustomapptemplateapp-missing/34037 "2024-01-30T21:25:03Z")

</div>

I´ve build a SlicerCustomAppTemplateApp with a custom module in Win11. In Resouces/Icon folder there are many other icons. I set Slicer\_EXTENSION\_SOURCE\_DIRS ${SlicerCustomAppTemplate\_SOURCE\_DIR}/Modules/Scripted/My…

---

## [How to get the segmentation data?](https://discourse.slicer.org/t/how-to-get-the-segmentation-data/34049)

<div class="topic-metadata">

**Author:** [@tueboesen](https://discourse.slicer.org/u/tueboesen)\
**Replies:** 1\
**Last updated:** [January 30, 2024, 3:47pm UTC](https://discourse.slicer.org/t/how-to-get-the-segmentation-data/34049 "2024-01-30T15:47:28Z")

</div>

I am still learning my way around slicer 3D. I have learned that I can get the data volume in numpy format as: data\_vol = getNode(‘Data’) data\_vol\_np = slicer.utils.arrayFromVolume(data\_vol) Now I would like to be ab…

---

## [Make 3D view quality independent of corresponding 2D slice](https://discourse.slicer.org/t/make-3d-view-quality-independent-of-corresponding-2d-slice/34029)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 7:54am UTC](https://discourse.slicer.org/t/make-3d-view-quality-independent-of-corresponding-2d-slice/34029 "2024-01-30T07:54:36Z")

</div>

Hi, I’ve always been wondering is it possible to make 3D visualization quality independent of how many pixels are actually shown of the corresponding slice in the slice view? See the picture for example. If slice is f…

---

## [Unable to build SlicerCustomAppTemplate in Windows](https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005)

<div class="topic-metadata">

**Author:** [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Replies:** 2\
**Last updated:** [January 28, 2024, 12:06pm UTC](https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005 "2024-01-28T12:06:08Z")

</div>

I´m trying to build my first Custom Slicer App using SlicerCustomAppTemplate project but I can´t even to build the basic one. Windows 11. VS 2022. Cmake 3.28.1 My steps: Create D:\\D2 forder and run cookiecutter gh:Ki…

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

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