# Development

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

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

**Page:** 70

---

## [Qt single shots freezes](https://discourse.slicer.org/t/qt-single-shots-freezes/19516)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 1\
**Last updated:** [September 5, 2021, 7:42pm UTC](https://discourse.slicer.org/t/qt-single-shots-freezes/19516 "2021-09-05T19:42:32Z")

</div>

I am running a while loop with some processing in a python-script which I load with mainWindow.To stop UI from freezing, I am using qt-singleshot. Even though the UI is still freezing.

---

## [Installing pyamg package](https://discourse.slicer.org/t/installing-pyamg-package/19511)

<div class="topic-metadata">

**Author:** [@shatz](https://discourse.slicer.org/u/shatz)\
**Replies:** 1\
**Last updated:** [September 4, 2021, 8:30pm UTC](https://discourse.slicer.org/t/installing-pyamg-package/19511 "2021-09-04T20:30:14Z")

</div>

When installing the pyamg package, I get the error RuntimeError: Unsupported compiler -- at least C++11 support is needed!. OS: linux Slicer Ver: 4.13.0 Any advice?

---

## [Skimage import error](https://discourse.slicer.org/t/skimage-import-error/19482)

<div class="topic-metadata">

**Author:** [@shatz](https://discourse.slicer.org/u/shatz)\
**Replies:** 2\
**Last updated:** [September 4, 2021, 7:40pm UTC](https://discourse.slicer.org/t/skimage-import-error/19482 "2021-09-04T19:40:19Z")

</div>

When importing the io module from skimage, I get this error: ImportError: /projects/msieve\_dev3/usr/shats/apps/Slicer-4.11.20210226-linux-amd64/lib/Python/lib/python3.6/site-packages/PIL/\_imaging.cpython-36m-x86\_64-linux…

---

## [Prevent a segment from changing when editing other segments](https://discourse.slicer.org/t/prevent-a-segment-from-changing-when-editing-other-segments/19433)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 4\
**Last updated:** [September 3, 2021, 5:42am UTC](https://discourse.slicer.org/t/prevent-a-segment-from-changing-when-editing-other-segments/19433 "2021-09-03T05:42:29Z")

</div>

Hi Andras, I am trying to do the following import segment to segmentationNode create a new segment copy the import segment to new segment grow the newsegment with margin When I do all this I do not retain the old i…

---

## [Independent zoom along different axes](https://discourse.slicer.org/t/independent-zoom-along-different-axes/19263)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 16\
**Last updated:** [September 3, 2021, 12:45am UTC](https://discourse.slicer.org/t/independent-zoom-along-different-axes/19263 "2021-09-03T00:45:51Z")

</div>

Hi, I’m working on Slicer CAT where I need to display different 3D data (the data represent the geological objects) in XYZ domain where X, Y axes - has the meaning of geographic coordinates (meters) and Z - is the depth…

---

## [Is there a way to get a list of all child segments of a segmentation programmatically?](https://discourse.slicer.org/t/is-there-a-way-to-get-a-list-of-all-child-segments-of-a-segmentation-programmatically/19344)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 7\
**Last updated:** [September 3, 2021, 12:00am UTC](https://discourse.slicer.org/t/is-there-a-way-to-get-a-list-of-all-child-segments-of-a-segmentation-programmatically/19344 "2021-09-03T00:00:18Z")

</div>

How can I get a list of all the segments in a segmentation. For example I have 10 segments in my segmentation. I want a list of these 10 segments so I can use them in my code later on. Is this possible? Is so, how?

---

## [Create Slicer with customized user interface](https://discourse.slicer.org/t/create-slicer-with-customized-user-interface/19485)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 1\
**Last updated:** [September 2, 2021, 3:27pm UTC](https://discourse.slicer.org/t/create-slicer-with-customized-user-interface/19485 "2021-09-02T15:27:13Z")

</div>

This is great, how Slicer Custom App allows to create a customized slicer app based on the needs. I was wondering how much is it adjustable, for example I want to show the user a few drop-downs with patient name, and by…

---

## [How to update cell data of dicom browser?](https://discourse.slicer.org/t/how-to-update-cell-data-of-dicom-browser/19477)

<div class="topic-metadata">

**Author:** [@wycstar](https://discourse.slicer.org/u/wycstar)\
**Replies:** 4\
**Last updated:** [September 2, 2021, 8:29am UTC](https://discourse.slicer.org/t/how-to-update-cell-data-of-dicom-browser/19477 "2021-09-02T08:29:16Z")

</div>

the cell data of dicom browser, for example, patients table, studies table and series table is from the tags of dicom,or the database, but i want to update it temporarily with python

---

## [Is it possible to create a standalone application with 3D slicer and run it without 3D Slicer launching?](https://discourse.slicer.org/t/is-it-possible-to-create-a-standalone-application-with-3d-slicer-and-run-it-without-3d-slicer-launching/5056)

<div class="topic-metadata">

**Author:** [@wpgao](https://discourse.slicer.org/u/wpgao)\
**Replies:** 11\
**Last updated:** [December 13, 2018, 5:55am UTC](https://discourse.slicer.org/t/is-it-possible-to-create-a-standalone-application-with-3d-slicer-and-run-it-without-3d-slicer-launching/5056 "2018-12-13T05:55:43Z")

</div>

Operating system: win 10 Slicer version: 4.8 Expected behavior: Actual behavior: Hi Guys, Is it possible to create a standalone application with 3D slicer and run it without 3D Slicer launching? I mean the applicati…

---

## [Launching Slicer with only Slicelet displayed on mac](https://discourse.slicer.org/t/launching-slicer-with-only-slicelet-displayed-on-mac/19472)

<div class="topic-metadata">

**Author:** [@hina-shah](https://discourse.slicer.org/u/hina-shah)\
**Replies:** 3\
**Last updated:** [September 2, 2021, 5:32am UTC](https://discourse.slicer.org/t/launching-slicer-with-only-slicelet-displayed-on-mac/19472 "2021-09-02T05:32:11Z")

</div>

Hi All, I’m trying to launch Slicer with just a single module on Mac. Would the steps here work with Mac as well? Has anybody tried this? I tried a few things, but couldn’t get it to work. My aim is to let my user clic…

---

## [Implementing a deep learning based image segmentation in Slicer3D](https://discourse.slicer.org/t/implementing-a-deep-learning-based-image-segmentation-in-slicer3d/19456)

<div class="topic-metadata">

**Author:** [@Aamir\_Khan](https://discourse.slicer.org/u/Aamir_Khan)\
**Replies:** 1\
**Last updated:** [September 1, 2021, 2:11pm UTC](https://discourse.slicer.org/t/implementing-a-deep-learning-based-image-segmentation-in-slicer3d/19456 "2021-09-01T14:11:14Z")

</div>

Hello, I am trying to develop a deep learning based image segmentation of pelvic bone region. During my search for open source training dataset I came across a paper which has already implemented a good strategy for doi…

---

## [Collision Detection Capabilities in 3D Slicer](https://discourse.slicer.org/t/collision-detection-capabilities-in-3d-slicer/14854)

<div class="topic-metadata">

**Author:** [@Hikmat](https://discourse.slicer.org/u/Hikmat)\
**Replies:** 21\
**Last updated:** [September 1, 2021, 11:02am UTC](https://discourse.slicer.org/t/collision-detection-capabilities-in-3d-slicer/14854 "2021-09-01T11:02:38Z")

</div>

Operating system: Windows 10 Slicer version: 4.11.2 Hi, I am working on a project that involves the incorporation of collision detection capabilities, to be applied to neurosurgical robotics applications. Currently, …

---

## [\`GetSelectionNode().GetActiveVolumeID()\` always returns None](https://discourse.slicer.org/t/getselectionnode-getactivevolumeid-always-returns-none/19394)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 3\
**Last updated:** [September 1, 2021, 5:05am UTC](https://discourse.slicer.org/t/getselectionnode-getactivevolumeid-always-returns-none/19394 "2021-09-01T05:05:50Z")

</div>

Hi, Probably I misunderstand what is selection node but here is the example: import numpy as np import math def some\_func(x, y, z): return 0.01\*x\*x + 0.01\*y\*y + 0.01\*z\*z a = np.fromfunction(some\_func,(128,128,128))…

---

## [Is there any way to programmatically change scissor operation in segment editor?](https://discourse.slicer.org/t/is-there-any-way-to-programmatically-change-scissor-operation-in-segment-editor/19360)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 5\
**Last updated:** [August 31, 2021, 8:30pm UTC](https://discourse.slicer.org/t/is-there-any-way-to-programmatically-change-scissor-operation-in-segment-editor/19360 "2021-08-31T20:30:08Z")

</div>

Is there any way to programmatically change the scissor operation in segment editor? As of right now the scissor operation removes everything in the enclosed area if it is selected in the segments list of the segment edi…

---

## [Convert between RAS and numpy array indices](https://discourse.slicer.org/t/convert-between-ras-and-numpy-array-indices/19408)

<div class="topic-metadata">

**Author:** [@M.Odaba](https://discourse.slicer.org/u/M.Odaba)\
**Replies:** 1\
**Last updated:** [August 31, 2021, 8:04pm UTC](https://discourse.slicer.org/t/convert-between-ras-and-numpy-array-indices/19408 "2021-08-31T20:04:39Z")

</div>

Hi Iassoan, Would you please explain how to convert the coordinates to world coordinate system (X, Y, Z)? Would you be able to provide the script that convert these coordinates (coordinates = np.where(labelArray==labelV…

---

## [How to programmatically use logical operator add function from segment editor?](https://discourse.slicer.org/t/how-to-programmatically-use-logical-operator-add-function-from-segment-editor/16581)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 4\
**Last updated:** [August 31, 2021, 7:31pm UTC](https://discourse.slicer.org/t/how-to-programmatically-use-logical-operator-add-function-from-segment-editor/16581 "2021-08-31T19:31:11Z")

</div>

Operating system:windows 10 Slicer version:4.11 I want to programmatically use the add operator in the logical operators segment editor effect. Is there any way to do this? I want to use the existing segments in the se…

---

## [How to reset or undo a specific step or def() by deleting the child folder created from it?](https://discourse.slicer.org/t/how-to-reset-or-undo-a-specific-step-or-def-by-deleting-the-child-folder-created-from-it/19424)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 1\
**Last updated:** [August 31, 2021, 6:40pm UTC](https://discourse.slicer.org/t/how-to-reset-or-undo-a-specific-step-or-def-by-deleting-the-child-folder-created-from-it/19424 "2021-08-31T18:40:25Z")

</div>

When designing a plug-in, the operator’s misoperation should be considered, so I want to add a reset method in the step. I want the step to run in a specific folder, so that the various Nodes generated by this step will…

---

## [A question about interaction mode of scatterplot](https://discourse.slicer.org/t/a-question-about-interaction-mode-of-scatterplot/19420)

<div class="topic-metadata">

**Author:** [@chz31](https://discourse.slicer.org/u/chz31)\
**Replies:** 2\
**Last updated:** [August 31, 2021, 6:24pm UTC](https://discourse.slicer.org/t/a-question-about-interaction-mode-of-scatterplot/19420 "2021-08-31T18:24:17Z")

</div>

Hi all, I am thinking about including a module for offering better interaction about visualizing shape.deformation in a Principal Component (PC) scatterplot. Currently, the SlicerMorph module has functions to visualize …

---

## [Crash when using vtkQWidgetWidget with Slicer built against VTK9](https://discourse.slicer.org/t/crash-when-using-vtkqwidgetwidget-with-slicer-built-against-vtk9/19325)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 5\
**Last updated:** [August 31, 2021, 3:43pm UTC](https://discourse.slicer.org/t/crash-when-using-vtkqwidgetwidget-with-slicer-built-against-vtk9/19325 "2021-08-31T15:43:38Z")

</div>

Hi all, Despite the expectations about all the fixes done in VTK since the version Slicer used to be stuck on, unfortunately it seems that vtkQWidgetWidget cannot be used with Slicer built against VTK9. First I tried t…

---

## [How to create a composite transform](https://discourse.slicer.org/t/how-to-create-a-composite-transform/19416)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 4\
**Last updated:** [August 31, 2021, 1:46pm UTC](https://discourse.slicer.org/t/how-to-create-a-composite-transform/19416 "2021-08-31T13:46:30Z")

</div>

Hi, In my scripted module, up until now I have been using transform concatenation by applying a parent transform to another and then to a model. However, I would like to merge both transforms in a more permanent way and…

---

## [Create new segment in Python script](https://discourse.slicer.org/t/create-new-segment-in-python-script/1082)

<div class="topic-metadata">

**Author:** [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Replies:** 4\
**Last updated:** [September 18, 2017, 7:23pm UTC](https://discourse.slicer.org/t/create-new-segment-in-python-script/1082 "2017-09-18T19:23:40Z")

</div>

I’m attempting to create and configure a segment within a new segmentation node via Python script. Here is what I’m attempting: segNode = slicer.vtkMRMLSegmentationNode() slicer.mrmlScene.AddNode(segNode) se…

---

## [Show/Hide slice views widget](https://discourse.slicer.org/t/show-hide-slice-views-widget/13433)

<div class="topic-metadata">

**Author:** [@sogo](https://discourse.slicer.org/u/sogo)\
**Replies:** 5\
**Last updated:** [August 31, 2021, 12:03am UTC](https://discourse.slicer.org/t/show-hide-slice-views-widget/13433 "2021-08-31T00:03:33Z")

</div>

Hi, This topic is from this discussion previously: Show/Hide Slice Views From this discussion, I found that it is possible to Show/Hide the (‘Red’ ‘Green’ ‘Yellow’) slice view widgets but it is not working for me. I’m…

---

## [Upgrade to Qt 5.15.2](https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366)

<div class="topic-metadata">

**Author:** [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Replies:** 3\
**Last updated:** [August 28, 2021, 1:38pm UTC](https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366 "2021-08-28T13:38:15Z")

</div>

Hello everyone, I would like to suggest the upgrade of the Qt version to Qt 5.15.2, as there is a minor bug that is bothering me profoundly. (ok a bit of exaggeration here, but it is annoying) Buttons with padding show …

---

## [How to create custom markup?](https://discourse.slicer.org/t/how-to-create-custom-markup/18305)

<div class="topic-metadata">

**Author:** [@smallvalthoss](https://discourse.slicer.org/u/smallvalthoss)\
**Replies:** 9\
**Last updated:** [August 28, 2021, 3:23am UTC](https://discourse.slicer.org/t/how-to-create-custom-markup/18305 "2021-08-28T03:23:09Z")

</div>

For creating a custom markup, how do you open visual studio in the loadable markup source code, but with intellisense and all that from the slicer-build?

---

## [When displaying for the first time, we want to set the orientation of the Anatomical plane](https://discourse.slicer.org/t/when-displaying-for-the-first-time-we-want-to-set-the-orientation-of-the-anatomical-plane/19369)

<div class="topic-metadata">

**Author:** [@11136](https://discourse.slicer.org/u/11136)\
**Replies:** 1\
**Last updated:** [August 26, 2021, 3:31pm UTC](https://discourse.slicer.org/t/when-displaying-for-the-first-time-we-want-to-set-the-orientation-of-the-anatomical-plane/19369 "2021-08-26T15:31:03Z")

</div>

Hello, thank you for reading my topic. In the sample project I made, I want the screen to be displayed when DICOM is first loaded like the 3D Slicer. 3D Slicer My sample project DICOM Laterality and Patient P…

---

## [How to plot points on a cartesian graph faster on 3D Slicer](https://discourse.slicer.org/t/how-to-plot-points-on-a-cartesian-graph-faster-on-3d-slicer/19266)

<div class="topic-metadata">

**Author:** [@armandanesh](https://discourse.slicer.org/u/armandanesh)\
**Replies:** 5\
**Last updated:** [August 26, 2021, 4:45am UTC](https://discourse.slicer.org/t/how-to-plot-points-on-a-cartesian-graph-faster-on-3d-slicer/19266 "2021-08-26T04:45:15Z")

</div>

Hello, As a part of my project, I need my graph on the interactive scene to update every 0.005 seconds. To do this, I used QTimer to recall the plot function every 0.005 seconds. To verify that it is, in fact, recalling…

---

## [Unable to access/import slicer's cli module from python script](https://discourse.slicer.org/t/unable-to-access-import-slicers-cli-module-from-python-script/1845)

<div class="topic-metadata">

**Author:** [@Milogav](https://discourse.slicer.org/u/Milogav)\
**Replies:** 3\
**Last updated:** [August 25, 2021, 11:11pm UTC](https://discourse.slicer.org/t/unable-to-access-import-slicers-cli-module-from-python-script/1845 "2021-08-25T23:11:20Z")

</div>

Operating system: Ubuntu 16.04.3 LTS Slicer version: 4.8.1 Hi everyone! I’m trying to create a scripted python module and I need to perform bias correction over an MRI volume as the first step in the processing pipeli…

---

## [How can I register a 3D view in segmentation?](https://discourse.slicer.org/t/how-can-i-register-a-3d-view-in-segmentation/19347)

<div class="topic-metadata">

**Author:** [@Antoine](https://discourse.slicer.org/u/Antoine)\
**Replies:** 11\
**Last updated:** [August 25, 2021, 8:20pm UTC](https://discourse.slicer.org/t/how-can-i-register-a-3d-view-in-segmentation/19347 "2021-08-25T20:20:17Z")

</div>

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

---

## [CMAKE\_CXX\_COMPILER is not a full path to an existing compiler tool when configure an extension](https://discourse.slicer.org/t/cmake-cxx-compiler-is-not-a-full-path-to-an-existing-compiler-tool-when-configure-an-extension/19355)

<div class="topic-metadata">

**Author:** [@upupming](https://discourse.slicer.org/u/upupming)\
**Replies:** 1\
**Last updated:** [August 25, 2021, 9:43am UTC](https://discourse.slicer.org/t/cmake-cxx-compiler-is-not-a-full-path-to-an-existing-compiler-tool-when-configure-an-extension/19355 "2021-08-25T09:43:43Z")

</div>

I am trying to build a C++ extension for 3D Slicer. I have tested SlicerIGT and SlicerFreeSurfer. I have followed the instruction here: Documentation/Nightly/Developers/FAQ/Extensions - Slicer Wiki On both SlicerIGT and…

---

## [Modify slicer source code. compile,](https://discourse.slicer.org/t/modify-slicer-source-code-compile/19330)

<div class="topic-metadata">

**Author:** [@xianger-qi](https://discourse.slicer.org/u/xianger-qi)\
**Replies:** 1\
**Last updated:** [August 24, 2021, 8:31pm UTC](https://discourse.slicer.org/t/modify-slicer-source-code-compile/19330 "2021-08-24T20:31:01Z")

</div>

There are a problem confusing me. I clone the slicer custom application template from GitHub - KitwareMedical/SlicerCustomAppTemplate: Template to be used as a starting point for creating a custom 3D Slicer application. …

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

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