# Development

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

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

**Page:** 15

---

## [3D Slicer and lungcaner](https://discourse.slicer.org/t/3d-slicer-and-lungcaner/38520)

<div class="topic-metadata">

**Author:** [@Chris3D](https://discourse.slicer.org/u/Chris3D)\
**Replies:** 1\
**Last updated:** [September 30, 2024, 1:54pm UTC](https://discourse.slicer.org/t/3d-slicer-and-lungcaner/38520 "2024-09-30T13:54:35Z")

</div>

Hello everyone, i am new to 3d Slicer and am very excited after i am digging deeper into it. And i have a question if there is already an extension for the following purpose: I have often the problem, when i get new C…

---

## [Ways to load nodes into Slicer scene WITHOUT displaying them immediately](https://discourse.slicer.org/t/ways-to-load-nodes-into-slicer-scene-without-displaying-them-immediately/1138)

<div class="topic-metadata">

**Author:** [@che85](https://discourse.slicer.org/u/che85)\
**Replies:** 15\
**Last updated:** [September 26, 2024, 3:36pm UTC](https://discourse.slicer.org/t/ways-to-load-nodes-into-slicer-scene-without-displaying-them-immediately/1138 "2024-09-26T15:36:48Z")

</div>

Hi Developers, I am wondering, if it’s possible to load nodes (volume, fiducial) into a Slicer scene without having them displayed immediately within the slice views. I am asking this, because I want to load a bunch of…

---

## [Ct scan data auto alignment  w.r.t cad data/image](https://discourse.slicer.org/t/ct-scan-data-auto-alignment-w-r-t-cad-data-image/38534)

<div class="topic-metadata">

**Author:** [@Midhun](https://discourse.slicer.org/u/Midhun)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 12:45pm UTC](https://discourse.slicer.org/t/ct-scan-data-auto-alignment-w-r-t-cad-data-image/38534 "2024-09-25T12:45:32Z")

</div>

Looking for ways to to auto align the CT scan data w.r.t cad image

---

## [Programatically save Overlapping Segments](https://discourse.slicer.org/t/programatically-save-overlapping-segments/38512)

<div class="topic-metadata">

**Author:** [@tito21](https://discourse.slicer.org/u/tito21)\
**Replies:** 6\
**Last updated:** [September 24, 2024, 3:55pm UTC](https://discourse.slicer.org/t/programatically-save-overlapping-segments/38512 "2024-09-24T15:55:14Z")

</div>

Hi, I am using Slicer as part of a workflow that includes segmentation of overlapping regions. The segmentation needs to be saved programmatically. When I save as a .nrrd file with slicer.modules.segmentations.logic…

---

## [Split large python script into smaller files](https://discourse.slicer.org/t/split-large-python-script-into-smaller-files/38516)

<div class="topic-metadata">

**Author:** [@maximeb](https://discourse.slicer.org/u/maximeb)\
**Replies:** 2\
**Last updated:** [September 24, 2024, 1:07pm UTC](https://discourse.slicer.org/t/split-large-python-script-into-smaller-files/38516 "2024-09-24T13:07:34Z")

</div>

Hi! Our team is developing a 3D Slicer module. However, we are unable to fragment the code that is used so our script has now more than 3 000 lines in one python script (and we would like to have for example 10 python …

---

## [Help with deep learning algorithms for a PhD project](https://discourse.slicer.org/t/help-with-deep-learning-algorithms-for-a-phd-project/38508)

<div class="topic-metadata">

**Author:** [@sandigeeup](https://discourse.slicer.org/u/sandigeeup)\
**Replies:** 0\
**Last updated:** [September 24, 2024, 9:02am UTC](https://discourse.slicer.org/t/help-with-deep-learning-algorithms-for-a-phd-project/38508 "2024-09-24T09:02:58Z")

</div>

Can anyone here recommend anyone who has good experience in a deep learning algorithms and could help guide me for my PhD project? Thanks in advance.

---

## [Slicer Density Lung Segmentation](https://discourse.slicer.org/t/slicer-density-lung-segmentation/22751)

<div class="topic-metadata">

**Author:** [@PaoloZaffino](https://discourse.slicer.org/u/PaoloZaffino)\
**Replies:** 3\
**Last updated:** [September 24, 2024, 12:28am UTC](https://discourse.slicer.org/t/slicer-density-lung-segmentation/22751 "2024-09-24T00:28:34Z")

</div>

Dear all, I would like to inform you that Slicer has a new extension: Slicer Density Lung Segmentation. In this extension, we provide a tool to classify lung tissue density on CT images. Its first use is for images of…

---

## [How to interact with 3D Slicer from an external Python environment?](https://discourse.slicer.org/t/how-to-interact-with-3d-slicer-from-an-external-python-environment/38454)

<div class="topic-metadata">

**Author:** [@wenlin\_x](https://discourse.slicer.org/u/wenlin_x)\
**Replies:** 8\
**Last updated:** [September 23, 2024, 4:58am UTC](https://discourse.slicer.org/t/how-to-interact-with-3d-slicer-from-an-external-python-environment/38454 "2024-09-23T04:58:56Z")

</div>

I have attempted to use the pyigtl and slicerio libraries, but neither was successful in displaying the three surfaces of the instrument tip in real-time within 3D Slicer. My requirement is to execute this externally, al…

---

## [Adding an icon to a ctkCheckablePushButton is difficult](https://discourse.slicer.org/t/adding-an-icon-to-a-ctkcheckablepushbutton-is-difficult/38468)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 1\
**Last updated:** [September 21, 2024, 9:52pm UTC](https://discourse.slicer.org/t/adding-an-icon-to-a-ctkcheckablepushbutton-is-difficult/38468 "2024-09-21T21:52:04Z")

</div>

Does someone know why I cannot get the right side icon to not render over the text? class CustomCheckablePushButton(ctk.ctkCheckablePushButton): def \_\_init\_\_(self, text="", parent=None): super().\_\_init\_\_(par…

---

## [Extension assistance - basic tools to start](https://discourse.slicer.org/t/extension-assistance-basic-tools-to-start/38442)

<div class="topic-metadata">

**Author:** [@Shirly\_Someck](https://discourse.slicer.org/u/Shirly_Someck)\
**Replies:** 2\
**Last updated:** [September 19, 2024, 5:47pm UTC](https://discourse.slicer.org/t/extension-assistance-basic-tools-to-start/38442 "2024-09-19T17:47:13Z")

</div>

I’ve started using 3D slicer, and managed to get a manual protocol for my project (probe view for DBS surgeries). It really is an amazing tool! Now I want to create an extension by using python, but am struggling greatl…

---

## [CLI script to screen capture 3D View](https://discourse.slicer.org/t/cli-script-to-screen-capture-3d-view/38401)

<div class="topic-metadata">

**Author:** [@Jithendra](https://discourse.slicer.org/u/Jithendra)\
**Replies:** 5\
**Last updated:** [September 19, 2024, 11:34am UTC](https://discourse.slicer.org/t/cli-script-to-screen-capture-3d-view/38401 "2024-09-19T11:34:29Z")

</div>

Could some one share the solution for creating 3d views of volume and segmentation using cli commands. I tried one example to execute the command line\_loopfolders\_volumerendering.py using /Applications/Slicer.app/Conte…

---

## [Input segments in new module](https://discourse.slicer.org/t/input-segments-in-new-module/5064)

<div class="topic-metadata">

**Author:** [@ThomPote](https://discourse.slicer.org/u/ThomPote)\
**Replies:** 13\
**Last updated:** [September 19, 2024, 11:34am UTC](https://discourse.slicer.org/t/input-segments-in-new-module/5064 "2024-09-19T11:34:03Z")

</div>

Hi, I’m trying to create a new module. I can select differents nodes like Volume and Segmentation node as input. But how can I select my different segments in Segmentation as input before running the analyse with appl…

---

## [When will the Totalsegmentor 2.4 plugin support 3D Slicer?](https://discourse.slicer.org/t/when-will-the-totalsegmentor-2-4-plugin-support-3d-slicer/38365)

<div class="topic-metadata">

**Author:** [@zhang\_ming](https://discourse.slicer.org/u/zhang_ming)\
**Replies:** 2\
**Last updated:** [September 18, 2024, 2:24am UTC](https://discourse.slicer.org/t/when-will-the-totalsegmentor-2-4-plugin-support-3d-slicer/38365 "2024-09-18T02:24:54Z")

</div>

I was looking for the update of 2.4 version totalsegmentor support slicer!!!

---

## [Slicer Crashing on importing antspynet (macOS M3)](https://discourse.slicer.org/t/slicer-crashing-on-importing-antspynet-macos-m3/38154)

<div class="topic-metadata">

**Author:** [@IVarha](https://discourse.slicer.org/u/IVarha)\
**Replies:** 3\
**Last updated:** [September 17, 2024, 3:59pm UTC](https://discourse.slicer.org/t/slicer-crashing-on-importing-antspynet-macos-m3/38154 "2024-09-17T15:59:09Z")

</div>

Hello I am creating a slicer extension and using antspynet in my development. Previously I used it on windows and it was working fine. I tried to install it in windows environment and it worked well. I tested imports on…

---

## [How to add segmentation to a specific frame in sequence browser](https://discourse.slicer.org/t/how-to-add-segmentation-to-a-specific-frame-in-sequence-browser/38201)

<div class="topic-metadata">

**Author:** [@maniron](https://discourse.slicer.org/u/maniron)\
**Replies:** 4\
**Last updated:** [September 17, 2024, 1:54pm UTC](https://discourse.slicer.org/t/how-to-add-segmentation-to-a-specific-frame-in-sequence-browser/38201 "2024-09-17T13:54:43Z")

</div>

Kindly help me out with adding my model segmentation output to a sequence browser to a specific frame . I have been trying to find a solution for along if any one have a solution let me know

---

## [Virtual straightening of the spine based on CT (or MRI) images](https://discourse.slicer.org/t/virtual-straightening-of-the-spine-based-on-ct-or-mri-images/38360)

<div class="topic-metadata">

**Author:** [@medmax](https://discourse.slicer.org/u/medmax)\
**Replies:** 4\
**Last updated:** [September 13, 2024, 4:02pm UTC](https://discourse.slicer.org/t/virtual-straightening-of-the-spine-based-on-ct-or-mri-images/38360 "2024-09-13T16:02:51Z")

</div>

New to this forum, but not to Slicer. Impressed by the diversity of applications I am looking for a software package capable of “redressing” the (CT) image of the spine in such a way that it follows a straight axis. I t…

---

## [Break ModelNode Rendering After Repeated Camera Reset and Zoom](https://discourse.slicer.org/t/break-modelnode-rendering-after-repeated-camera-reset-and-zoom/38321)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 6\
**Last updated:** [September 13, 2024, 4:23am UTC](https://discourse.slicer.org/t/break-modelnode-rendering-after-repeated-camera-reset-and-zoom/38321 "2024-09-13T04:23:51Z")

</div>

Hi all, As shown below, my code resets the camera and performs zoom operations. layoutManager = slicer.app.layoutManager() threeDWidget = layoutManager.threeDWidget("View1") threeDView = threeDWidget.threeDView() thre…

---

## [Thick slab reconstruction does not work with MicroCT](https://discourse.slicer.org/t/thick-slab-reconstruction-does-not-work-with-microct/38311)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 9:27pm UTC](https://discourse.slicer.org/t/thick-slab-reconstruction-does-not-work-with-microct/38311 "2024-09-11T21:27:54Z")

</div>

Hi all, I noticed when working with MicroCT data that the thick slab reconstruction is not really meant for this modality. The minimum thickness is set to 1mm, which makes it basically unusable for volumes with very sma…

---

## [Batch co-registration using BRAINSfit (script)](https://discourse.slicer.org/t/batch-co-registration-using-brainsfit-script/24285)

<div class="topic-metadata">

**Author:** [@dokay1](https://discourse.slicer.org/u/dokay1)\
**Replies:** 2\
**Last updated:** [September 9, 2024, 2:36pm UTC](https://discourse.slicer.org/t/batch-co-registration-using-brainsfit-script/24285 "2024-09-09T14:36:54Z")

</div>

For those looking for a script for Batch co-reg. You still have to add the string “FIXED” (case sensitive) to the name of the volume you want to use as the reference/fixed volume for co-registration. PoolOfVolumes = get…

---

## [Using Resample Scalar/Vector/DWI Volume in python](https://discourse.slicer.org/t/using-resample-scalar-vector-dwi-volume-in-python/38271)

<div class="topic-metadata">

**Author:** [@lord\_bubbacub](https://discourse.slicer.org/u/lord_bubbacub)\
**Replies:** 3\
**Last updated:** [September 8, 2024, 6:05pm UTC](https://discourse.slicer.org/t/using-resample-scalar-vector-dwi-volume-in-python/38271 "2024-09-08T18:05:23Z")

</div>

Resample Scalar/Vector/DWI Volume — 3D Slicer documentation Hi I’m trying to automate use of the resamplescalarvectordwivolume using python in the slicer console. My operation involves rescaling a ct based volume to matc…

---

## [How to add another module (Reformat) into a module that I have created?](https://discourse.slicer.org/t/how-to-add-another-module-reformat-into-a-module-that-i-have-created/38077)

<div class="topic-metadata">

**Author:** [@Saladi](https://discourse.slicer.org/u/Saladi)\
**Replies:** 3\
**Last updated:** [September 7, 2024, 7:30pm UTC](https://discourse.slicer.org/t/how-to-add-another-module-reformat-into-a-module-that-i-have-created/38077 "2024-09-07T19:30:55Z")

</div>

Hi community, I am trying to develop a new module from my research work, in that “Reformat” module is essential. I want to have some features (offset, rotation, etc) into my existing module. I am developing in Python bu…

---

## [How to add "ellipse" based measurement in 2D using Python?](https://discourse.slicer.org/t/how-to-add-ellipse-based-measurement-in-2d-using-python/38261)

<div class="topic-metadata">

**Author:** [@Saladi](https://discourse.slicer.org/u/Saladi)\
**Replies:** 2\
**Last updated:** [September 7, 2024, 11:30am UTC](https://discourse.slicer.org/t/how-to-add-ellipse-based-measurement-in-2d-using-python/38261 "2024-09-07T11:30:27Z")

</div>

Hello Community, We are trying to make some measurements on Ultrasound data using ellipse. I have tried using various extensions but I was able to find ellipsoid only. I need an 2D ellipse markup preferably in Python, a…

---

## [OpenCV extension build fails since June ITK upgrade](https://discourse.slicer.org/t/opencv-extension-build-fails-since-june-itk-upgrade/38158)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 5\
**Last updated:** [September 6, 2024, 11:59am UTC](https://discourse.slicer.org/t/opencv-extension-build-fails-since-june-itk-upgrade/38158 "2024-09-06T11:59:58Z")

</div>

Hi all, The OpenCV extension build fails on all three platform since June 4, most probably due to the ITK upgrade: ENH: Update ITK to 5.4.0 · Slicer/Slicer@acf3dd4 · GitHub This is the first failure on the dashboard: h…

---

## [Adding new segments from multiple numpy arrays](https://discourse.slicer.org/t/adding-new-segments-from-multiple-numpy-arrays/38257)

<div class="topic-metadata">

**Author:** [@roboted](https://discourse.slicer.org/u/roboted)\
**Replies:** 2\
**Last updated:** [September 6, 2024, 11:20am UTC](https://discourse.slicer.org/t/adding-new-segments-from-multiple-numpy-arrays/38257 "2024-09-06T11:20:42Z")

</div>

Hello, I am working on importing numpy arrays into a segmentation so that they are shown in the segment editor as new segments. What I have now after seeing some examples is: label\_map\_volume = slicer.mrmlScene.AddNew…

---

## [How to build NVidia NVAPI in slicer environment](https://discourse.slicer.org/t/how-to-build-nvidia-nvapi-in-slicer-environment/37771)

<div class="topic-metadata">

**Author:** [@alientex](https://discourse.slicer.org/u/alientex)\
**Replies:** 6\
**Last updated:** [September 5, 2024, 4:27am UTC](https://discourse.slicer.org/t/how-to-build-nvidia-nvapi-in-slicer-environment/37771 "2024-09-05T04:27:06Z")

</div>

Hello everyone, I want to add the nvapi SDK to the Slicer environment so that users can choose which GPU to use, similar to how we select a GPU in the NVIDIA Control Panel for a specific application. Can anybody guide …

---

## [Publication of updated segmentations tutorial](https://discourse.slicer.org/t/publication-of-updated-segmentations-tutorial/38074)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 5\
**Last updated:** [September 4, 2024, 3:03pm UTC](https://discourse.slicer.org/t/publication-of-updated-segmentations-tutorial/38074 "2024-09-04T15:03:31Z")

</div>

Hi all, After a long time we finally finished an updated version of the Segment Editor tutorial with @nagy.attila (see for example Project Description | NA-MIC Project Weeks). In the ReadTheDocs documentation the tutor…

---

## [Custom application build fails due to missing DESCRIPTION\_FILE after upgrade to 5.6.2](https://discourse.slicer.org/t/custom-application-build-fails-due-to-missing-description-file-after-upgrade-to-5-6-2/38173)

<div class="topic-metadata">

**Author:** [@darabi](https://discourse.slicer.org/u/darabi)\
**Replies:** 3\
**Last updated:** [September 4, 2024, 2:46pm UTC](https://discourse.slicer.org/t/custom-application-build-fails-due-to-missing-description-file-after-upgrade-to-5-6-2/38173 "2024-09-04T14:46:13Z")

</div>

Hello, I have a custom application which built and ran fine on 5.4.x. After upgrading the dependencies to 5.6.2 and the latest versions of the plugins which I use, the build fails with CMake Error at CMake/SlicerMacroB…

---

## [How to cut segment using closed curve](https://discourse.slicer.org/t/how-to-cut-segment-using-closed-curve/38211)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 1:57pm UTC](https://discourse.slicer.org/t/how-to-cut-segment-using-closed-curve/38211 "2024-09-04T13:57:44Z")

</div>

is it possible to preserve the segment area inside the closed curve , erase the outside part ?

---

## [Automated Detection of Aortic Sinus Points and Central Coordinate Calculation in Python](https://discourse.slicer.org/t/automated-detection-of-aortic-sinus-points-and-central-coordinate-calculation-in-python/38192)

<div class="topic-metadata">

**Author:** [@Seokjun\_Hwang](https://discourse.slicer.org/u/Seokjun_Hwang)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 6:52am UTC](https://discourse.slicer.org/t/automated-detection-of-aortic-sinus-points-and-central-coordinate-calculation-in-python/38192 "2024-09-04T06:52:01Z")

</div>

I would like to automatically detect the three protruding points of the aortic sinus, as shown in the picture, using Python. Could you suggest an algorithm or code that can achieve this? The final goal is to identify …

---

## [How to use a standalone python environment for data transfer with 3Dslicer](https://discourse.slicer.org/t/how-to-use-a-standalone-python-environment-for-data-transfer-with-3dslicer/38161)

<div class="topic-metadata">

**Author:** [@wenlin\_x](https://discourse.slicer.org/u/wenlin_x)\
**Replies:** 1\
**Last updated:** [September 2, 2024, 3:48pm UTC](https://discourse.slicer.org/t/how-to-use-a-standalone-python-environment-for-data-transfer-with-3dslicer/38161 "2024-09-02T15:48:32Z")

</div>

How to use a standalone python environment for data transfer with 3Dslicer

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

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