# Development

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

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

**Page:** 54

---

## [Input option from command line](https://discourse.slicer.org/t/input-option-from-command-line/23991)

<div class="topic-metadata">

**Author:** [@bserrano](https://discourse.slicer.org/u/bserrano)\
**Replies:** 2\
**Last updated:** [June 21, 2022, 6:24pm UTC](https://discourse.slicer.org/t/input-option-from-command-line/23991 "2022-06-21T18:24:50Z")

</div>

Hi, I am working on a script and I need to ask the user some parameters. I am using the function input: def func(): option1 = input("Bla bla") option2 = input("Bla bla") option3 = input("Bla bla") The f…

---

## [Strange compiling error](https://discourse.slicer.org/t/strange-compiling-error/23760)

<div class="topic-metadata">

**Author:** [@whu](https://discourse.slicer.org/u/whu)\
**Replies:** 7\
**Last updated:** [June 21, 2022, 3:31pm UTC](https://discourse.slicer.org/t/strange-compiling-error/23760 "2022-06-21T15:31:30Z")

</div>

When I compiled the SlicerHeart again using CMake. I just want a Release version. The OPENSLL\_INCLUDE\_DIR was set to C:/Slicer/SlicerBuild/OpenSSL-install/Release/include But when compiling, there is error: 8\>CMake E…

---

## [Streaming data from a program to a Slicer extension](https://discourse.slicer.org/t/streaming-data-from-a-program-to-a-slicer-extension/23952)

<div class="topic-metadata">

**Author:** [@koeglfryderyk](https://discourse.slicer.org/u/koeglfryderyk)\
**Replies:** 4\
**Last updated:** [June 21, 2022, 3:27am UTC](https://discourse.slicer.org/t/streaming-data-from-a-program-to-a-slicer-extension/23952 "2022-06-21T03:27:32Z")

</div>

I have a Python program that detects hand coordinates in a video stream. I’m trying to send those coordinates continuously to my Slicer Python extension so I can display the hand in Slicer. I think I’m half-way there. …

---

## [FYI : small patch to build Slicer on Arch Linux](https://discourse.slicer.org/t/fyi-small-patch-to-build-slicer-on-arch-linux/23961)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 3\
**Last updated:** [June 20, 2022, 2:08pm UTC](https://discourse.slicer.org/t/fyi-small-patch-to-build-slicer-on-arch-linux/23961 "2022-06-20T14:08:51Z")

</div>

Building Slicer at 5ecfcc37a51 failed on Arch Linux, with QSignalSpy not found message. This patch is required for a successful build : $ git diff diff --git a/CMakeLists.txt b/CMakeLists.txt index 5158d8759..8aa04ccd8…

---

## [Compile Slicer in Ubuntu(20.04) fails](https://discourse.slicer.org/t/compile-slicer-in-ubuntu-20-04-fails/23940)

<div class="topic-metadata">

**Author:** [@SteveLiu](https://discourse.slicer.org/u/SteveLiu)\
**Replies:** 5\
**Last updated:** [June 19, 2022, 7:03pm UTC](https://discourse.slicer.org/t/compile-slicer-in-ubuntu-20-04-fails/23940 "2022-06-19T19:03:46Z")

</div>

Operating system: Ubuntu20.04 (VirtualBox) Slicer version: latest version Expected behavior: make the project Actual behavior: make the project failure git: git version 2.25.1 cmake: cmake version 3.16.3 I created …

---

## [Compile the latest fails](https://discourse.slicer.org/t/compile-the-latest-fails/23829)

<div class="topic-metadata">

**Author:** [@SteveLiu](https://discourse.slicer.org/u/SteveLiu)\
**Replies:** 11\
**Last updated:** [June 19, 2022, 9:19am UTC](https://discourse.slicer.org/t/compile-the-latest-fails/23829 "2022-06-19T09:19:51Z")

</div>

Operating system: windows10 Slicer version: latest version (5.0) Expected behavior: compile the “buildall” project Actual behavior:\* all the configuration according to " Windows — 3D Slicer documentation" git versio…

---

## [How to check execution time in 3D-Slicer](https://discourse.slicer.org/t/how-to-check-execution-time-in-3d-slicer/23866)

<div class="topic-metadata">

**Author:** [@platanus](https://discourse.slicer.org/u/platanus)\
**Replies:** 2\
**Last updated:** [June 17, 2022, 6:04am UTC](https://discourse.slicer.org/t/how-to-check-execution-time-in-3d-slicer/23866 "2022-06-17T06:04:14Z")

</div>

Hello. All members in 3D-Slicer. I have a question. I would like to check execution time that take while working segment in 3d-slicer. Do you know it?

---

## [Howto get a patientUID from DICOM database?](https://discourse.slicer.org/t/howto-get-a-patientuid-from-dicom-database/23886)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 10\
**Last updated:** [June 15, 2022, 3:20pm UTC](https://discourse.slicer.org/t/howto-get-a-patientuid-from-dicom-database/23886 "2022-06-15T15:20:22Z")

</div>

Well, I’ve got the patient’s name from Dicom database. but howto get a patientUID from DICOM database? volumeNode = Helper.getFirstNodeByClass("vtkMRMLScalarVolumeNode") # Get series instance UID from subject hierarchy …

---

## [New Extension Development Plan: self-supervised learning and liver segmentation](https://discourse.slicer.org/t/new-extension-development-plan-self-supervised-learning-and-liver-segmentation/23714)

<div class="topic-metadata">

**Author:** [@LingFeng](https://discourse.slicer.org/u/LingFeng)\
**Replies:** 6\
**Last updated:** [June 15, 2022, 7:21am UTC](https://discourse.slicer.org/t/new-extension-development-plan-self-supervised-learning-and-liver-segmentation/23714 "2022-06-15T07:21:27Z")

</div>

Hi everyone! I’m interested in developing a liver segmentation extension enabled by self-supervised learning (Vision Transformer as the backbone structure) for 3D slicer. I’m still fine-tuning the model and it is now abl…

---

## [openDialog does not load node into scene](https://discourse.slicer.org/t/opendialog-does-not-load-node-into-scene/23874)

<div class="topic-metadata">

**Author:** [@mholden8](https://discourse.slicer.org/u/mholden8)\
**Replies:** 2\
**Last updated:** [June 14, 2022, 9:15pm UTC](https://discourse.slicer.org/t/opendialog-does-not-load-node-into-scene/23874 "2022-06-14T21:15:59Z")

</div>

When using the openDialog function in the Slicer IO Manager, the selected node is not loaded into the scene. For example, when I run the code below (see Documentation/Nightly/Developers/IO - Slicer Wiki), nothing happen…

---

## [Build and package SlicerCAT on manylinux](https://discourse.slicer.org/t/build-and-package-slicercat-on-manylinux/23443)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 5\
**Last updated:** [June 14, 2022, 12:05am UTC](https://discourse.slicer.org/t/build-and-package-slicercat-on-manylinux/23443 "2022-06-14T00:05:18Z")

</div>

Hi, How can I build and package SlicerCAT (C++17) so it was available on many linux distributions? For now all Linux staff I do on Ubuntu 20.04

---

## [Converting SegmentationNode to Labelmap takes a long time through Python](https://discourse.slicer.org/t/converting-segmentationnode-to-labelmap-takes-a-long-time-through-python/23696)

<div class="topic-metadata">

**Author:** [@edwardwang1](https://discourse.slicer.org/u/edwardwang1)\
**Replies:** 8\
**Last updated:** [June 13, 2022, 9:26pm UTC](https://discourse.slicer.org/t/converting-segmentationnode-to-labelmap-takes-a-long-time-through-python/23696 "2022-06-13T21:26:56Z")

</div>

Hello, I am using Slicer to convert RT structs to binary label maps. I am able to do it via Python, but it takes much longer than using the Segmentations module and doing it by hand (under the representations section). …

---

## [Get Module Panel on Jupyter Notebook](https://discourse.slicer.org/t/get-module-panel-on-jupyter-notebook/23287)

<div class="topic-metadata">

**Author:** [@Tiago\_Guiomar](https://discourse.slicer.org/u/Tiago_Guiomar)\
**Replies:** 9\
**Last updated:** [June 13, 2022, 2:14pm UTC](https://discourse.slicer.org/t/get-module-panel-on-jupyter-notebook/23287 "2022-06-13T14:14:43Z")

</div>

I’m doing a small project using 3DSlicer and jupyter notebook and I needed some help with the GUI. I’m using some script I got and it ain’t work. I was wondering if there’s any way I get all the GUI on jupyter notebook s…

---

## [Show ECG curve plot](https://discourse.slicer.org/t/show-ecg-curve-plot/23291)

<div class="topic-metadata">

**Author:** [@connorh](https://discourse.slicer.org/u/connorh)\
**Replies:** 7\
**Last updated:** [June 13, 2022, 4:30am UTC](https://discourse.slicer.org/t/show-ecg-curve-plot/23291 "2022-06-13T04:30:39Z")

</div>

Hi Robin, it has been a while but was this ever solved? I am wondering the same thing. I have a 4D cardiac dataset and I also have ECG voltage tracings for a cardiac cycle. I would like to enable playback through my 4D…

---

## [Proxy issue in Extensions Manager](https://discourse.slicer.org/t/proxy-issue-in-extensions-manager/23467)

<div class="topic-metadata">

**Author:** [@simonoxen](https://discourse.slicer.org/u/simonoxen)\
**Replies:** 9\
**Last updated:** [June 12, 2022, 12:46pm UTC](https://discourse.slicer.org/t/proxy-issue-in-extensions-manager/23467 "2022-06-12T12:46:29Z")

</div>

Hi, when using work computer (MacOS, network with proxy) I’ve been having the issue that extensions cannot be downloaded from the Extensions Manager. Extensions show, but fails to retrieve metadata and to install them. …

---

## [Plastimatch from Python Interactor returns incorrect vector field](https://discourse.slicer.org/t/plastimatch-from-python-interactor-returns-incorrect-vector-field/23768)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.slicer.org/u/Luca)\
**Replies:** 2\
**Last updated:** [June 10, 2022, 4:12pm UTC](https://discourse.slicer.org/t/plastimatch-from-python-interactor-returns-incorrect-vector-field/23768 "2022-06-10T16:12:45Z")

</div>

Dear Community, I am working to a project about contrast-enhanced CT images registration using Slicer Pyhton Interactor to perform Plastimatch B-spline deformable registration. Following this link, I was able to write t…

---

## [SlicerCAT error with hdf5](https://discourse.slicer.org/t/slicercat-error-with-hdf5/23408)

<div class="topic-metadata">

**Author:** [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Replies:** 21\
**Last updated:** [June 7, 2022, 11:53pm UTC](https://discourse.slicer.org/t/slicercat-error-with-hdf5/23408 "2022-06-07T23:53:22Z")

</div>

Hello everyone I am having an issue with my custom app on linux that I am not sure if it is something related with my modifications or SlicerCAT in general. Can someone test the following on a custom app on linux with …

---

## [OpenSSL error when building with SlicerCAT bundled with SlicerJupyter on Windows](https://discourse.slicer.org/t/openssl-error-when-building-with-slicercat-bundled-with-slicerjupyter-on-windows/23801)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 0\
**Last updated:** [June 9, 2022, 7:47pm UTC](https://discourse.slicer.org/t/openssl-error-when-building-with-slicercat-bundled-with-slicerjupyter-on-windows/23801 "2022-06-09T19:47:20Z")

</div>

Hi, During xeus configure step I get the following error: -- Detecting CXX compile features -- Detecting CXX compile features - done -- xeus version: v2.3.1 -- xeus binary version: v7.1.1 -- XEUS\_DISABLE\_ARCH…

---

## [ValvePapillaryAnalysis not included in the Configuring Loadable module:](https://discourse.slicer.org/t/valvepapillaryanalysis-not-included-in-the-configuring-loadable-module/23742)

<div class="topic-metadata">

**Author:** [@whu](https://discourse.slicer.org/u/whu)\
**Replies:** 3\
**Last updated:** [June 9, 2022, 3:54pm UTC](https://discourse.slicer.org/t/valvepapillaryanalysis-not-included-in-the-configuring-loadable-module/23742 "2022-06-09T15:54:06Z")

</div>

Hello, the newly ValvePapillaryAnalysis in the directory as the TCAVValveSimulator and the others. But ValvePapillaryAnalysis in not in the Configuring Loadable module: – Configuring Scripted module: ValveView 7\>-- C…

---

## [Can I control the display of cross hairs in a single view?](https://discourse.slicer.org/t/can-i-control-the-display-of-cross-hairs-in-a-single-view/23702)

<div class="topic-metadata">

**Author:** [@janus\_zhu](https://discourse.slicer.org/u/janus_zhu)\
**Replies:** 5\
**Last updated:** [June 7, 2022, 4:34pm UTC](https://discourse.slicer.org/t/can-i-control-the-display-of-cross-hairs-in-a-single-view/23702 "2022-06-07T16:34:18Z")

</div>

How to display the crosshair in a single view through the steps shown in the figures below. Is there a corresponding interface through the program? Thanks,

---

## [Is there any way yo directly extract an image from vtkImageData to export it as a tiff/png image?](https://discourse.slicer.org/t/is-there-any-way-yo-directly-extract-an-image-from-vtkimagedata-to-export-it-as-a-tiff-png-image/23704)

<div class="topic-metadata">

**Author:** [@chz31](https://discourse.slicer.org/u/chz31)\
**Replies:** 7\
**Last updated:** [June 6, 2022, 6:40pm UTC](https://discourse.slicer.org/t/is-there-any-way-yo-directly-extract-an-image-from-vtkimagedata-to-export-it-as-a-tiff-png-image/23704 "2022-06-06T18:40:14Z")

</div>

Hi, I am testing loading a series of rgb images as a volume using the ImageStacksModule, cropped them with an ROI, and export them as a new series of rgb images in the format of tiff or png. An example image is here: …

---

## [Convert Dicom Files in multiplanar Xray](https://discourse.slicer.org/t/convert-dicom-files-in-multiplanar-xray/23731)

<div class="topic-metadata">

**Author:** [@Anton\_Rockenstein](https://discourse.slicer.org/u/Anton_Rockenstein)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 4:41pm UTC](https://discourse.slicer.org/t/convert-dicom-files-in-multiplanar-xray/23731 "2022-06-06T16:41:53Z")

</div>

Hi, I am planing to create a plugin and i am looking for a solution to convert a dicom file to a multiplanar 2d xray image. My approach would have been to convert the dicom file into a stack of 2d images and use volumeri…

---

## [Sharing a module](https://discourse.slicer.org/t/sharing-a-module/23733)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 1:00pm UTC](https://discourse.slicer.org/t/sharing-a-module/23733 "2022-06-06T13:00:20Z")

</div>

Hi, I’m trying to locally share a module that I have written (in python) to another PC I installed Slicer on. I was wondering is it possible to just copy the module folder to another computer and add the module folder a…

---

## [How to load volume from DICOM database in slicer by patient name by py script?](https://discourse.slicer.org/t/how-to-load-volume-from-dicom-database-in-slicer-by-patient-name-by-py-script/23709)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 0\
**Last updated:** [June 5, 2022, 12:56pm UTC](https://discourse.slicer.org/t/how-to-load-volume-from-dicom-database-in-slicer-by-patient-name-by-py-script/23709 "2022-06-05T12:56:44Z")

</div>

在我的DICOM database中, 有30多病人, 我想通过patient Name导入dcm,我该怎么做呢? 另外, 我还想对做过的病人在DICOM database中做个标记比如\[v\]/等, 能实现吗? In my DICOM database, there are more than 30 patients, I want to load dcm by patient Name, how can I do it? In…

---

## [Slicer build;maybe python problem](https://discourse.slicer.org/t/slicer-build-maybe-python-problem/23625)

<div class="topic-metadata">

**Author:** [@wanghao1](https://discourse.slicer.org/u/wanghao1)\
**Replies:** 1\
**Last updated:** [June 3, 2022, 9:38am UTC](https://discourse.slicer.org/t/slicer-build-maybe-python-problem/23625 "2022-06-03T09:38:26Z")

</div>

When I built slicer，I met the error like this： |错误|MSB8066|“D:\\D\\S4D\\CMakeFiles\\4bd50016b564dae0308373b1837531aa\\python-setuptools-configure.rule;D:\\D\\S4D\\CMakeFiles\\4bd50016b564dae0308373b1837531aa\\python-setuptools-bu…

---

## [Load MHA dataset](https://discourse.slicer.org/t/load-mha-dataset/23690)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.slicer.org/u/Jakub_Mitura)\
**Replies:** 0\
**Last updated:** [June 3, 2022, 7:19am UTC](https://discourse.slicer.org/t/load-mha-dataset/23690 "2022-06-03T07:19:47Z")

</div>

Hello I like the organization that slicer brings to the diceom dataset, and I would like to apply it to my MHA dataset programmatically. So What I would like to achieve (all programmatically - preferably python) : give…

---

## [TBB libs are not installed during Debug build](https://discourse.slicer.org/t/tbb-libs-are-not-installed-during-debug-build/21369)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 7\
**Last updated:** [June 2, 2022, 6:58pm UTC](https://discourse.slicer.org/t/tbb-libs-are-not-installed-during-debug-build/21369 "2022-06-02T18:58:00Z")

</div>

Hi, Currently Slicer 3D uses TBB 2019 u9 (the link to the Slicer TBB external pkg). If you tak a looke at TBB assets for Window/Linux/Mac then you will notice that it uses different naming convention for release and de…

---

## [How to change the masking setting of the segmenteditor by python?](https://discourse.slicer.org/t/how-to-change-the-masking-setting-of-the-segmenteditor-by-python/23380)

<div class="topic-metadata">

**Author:** [@Xing\_Lu](https://discourse.slicer.org/u/Xing_Lu)\
**Replies:** 2\
**Last updated:** [May 30, 2022, 11:46pm UTC](https://discourse.slicer.org/t/how-to-change-the-masking-setting-of-the-segmenteditor-by-python/23380 "2022-05-30T23:46:50Z")

</div>

trying to change this ‘Overwrite other segmentation’ option programmably. However, I tried the code: defaultSegmentEditorNode = slicer.vtkMRMLSegmentEditorNode() defaultSegmentEditorNode.SetOverwriteMode(slicer.vtkMR…

---

## [Version is different ? soure VS download](https://discourse.slicer.org/t/version-is-different-soure-vs-download/23638)

<div class="topic-metadata">

**Author:** [@janus\_zhu](https://discourse.slicer.org/u/janus_zhu)\
**Replies:** 1\
**Last updated:** [May 30, 2022, 5:06pm UTC](https://discourse.slicer.org/t/version-is-different-soure-vs-download/23638 "2022-05-30T17:06:07Z")

</div>

Version up to current time(2022-05-30) 1.Git soure is: set(Slicer\_REVISION “30876”) 2.Download url(https://download.slicer.org/) version is 30976 3.When make: \[...\] Configuring Slicer requires admin account \[OFF\] C…

---

## [Error report：The program crashed](https://discourse.slicer.org/t/error-report-the-program-crashed/23624)

<div class="topic-metadata">

**Author:** [@janus\_zhu](https://discourse.slicer.org/u/janus_zhu)\
**Replies:** 3\
**Last updated:** [May 30, 2022, 2:08am UTC](https://discourse.slicer.org/t/error-report-the-program-crashed/23624 "2022-05-30T02:08:13Z")

</div>

Operation process: Step 1: Import CT images, Step 2: Use the measuring tool to make 3-4 new measurements. Step 3: Open the crosshair(interaction), move, and the program is stuck. run envirement： windows10 , slice…

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

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