# Development

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

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

**Page:** 14

---

## [Upscale cropped videostream](https://discourse.slicer.org/t/upscale-cropped-videostream/40054)

<div class="topic-metadata">

**Author:** [@J.vd.Zee](https://discourse.slicer.org/u/J.vd.Zee)\
**Replies:** 0\
**Last updated:** [November 6, 2024, 2:44pm UTC](https://discourse.slicer.org/t/upscale-cropped-videostream/40054 "2024-11-06T14:44:51Z")

</div>

Hi all, In the Plus Server Launcher, videos can be streamed to 3D Slicer. Moreover, within this configuration (i.e., .xml file, mmfVideo, Media Foundation) users can crop the incoming video stream by the ClipRectangle… …

---

## [Image calculator](https://discourse.slicer.org/t/image-calculator/40035)

<div class="topic-metadata">

**Author:** [@ashkanpakzad](https://discourse.slicer.org/u/ashkanpakzad)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 11:45pm UTC](https://discourse.slicer.org/t/image-calculator/40035 "2024-11-05T23:45:34Z")

</div>

Hi all, My first post, thanks for all the good work. I’m keen to get involved. I was wondering if anyone has developed in Slicer something like ImageJ/FIJI’s ‘image calculator’? Which would allow the user to manipu…

---

## [Control point modified event is not fired](https://discourse.slicer.org/t/control-point-modified-event-is-not-fired/39783)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 5\
**Last updated:** [November 5, 2024, 2:38pm UTC](https://discourse.slicer.org/t/control-point-modified-event-is-not-fired/39783 "2024-11-05T14:38:35Z")

</div>

Hi, I think I’ve found a bug: lineNode = slicer.mrmlScene.CreateNodeByClass("vtkMRMLMarkupsLineNode") slicer.mrmlScene.AddNode(lineNode) slicer.modules.markups.logic().AddNewDisplayNodeForMarkupsNode(lineNode) lineNode…

---

## [Volume rendering file shows up as changed in Save dialog directly after opening an mrml scene](https://discourse.slicer.org/t/volume-rendering-file-shows-up-as-changed-in-save-dialog-directly-after-opening-an-mrml-scene/39979)

<div class="topic-metadata">

**Author:** [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Replies:** 3\
**Last updated:** [November 4, 2024, 10:49pm UTC](https://discourse.slicer.org/t/volume-rendering-file-shows-up-as-changed-in-save-dialog-directly-after-opening-an-mrml-scene/39979 "2024-11-04T22:49:11Z")

</div>

Hello It seems to me like a bug that the \*.vp volume rendering file shows up as changed in Save dialog directly after opening an MRML scene? Find an example here: Upload Files | Free File Upload and Transfer Up To 10 G…

---

## [ Further Simplifying a Custom 3D Slicer Application: Removing Unneeded Modules and Adding Custom Modules](https://discourse.slicer.org/t/further-simplifying-a-custom-3d-slicer-application-removing-unneeded-modules-and-adding-custom-modules/40025)

<div class="topic-metadata">

**Author:** [@nih4t](https://discourse.slicer.org/u/nih4t)\
**Replies:** 0\
**Last updated:** [November 4, 2024, 10:48pm UTC](https://discourse.slicer.org/t/further-simplifying-a-custom-3d-slicer-application-removing-unneeded-modules-and-adding-custom-modules/40025 "2024-11-04T22:48:58Z")

</div>

Hello, I’ve successfully built a simplified version of 3D Slicer following this guide from Kitware (https://www.kitware.com/slicercat-creating-custom-applications-based-on-3d-slicer/). Hello, I’ve successfully built a…

---

## [For qMRMLNodeComboBox, how can I restrict Sequence nodes by type?](https://discourse.slicer.org/t/for-qmrmlnodecombobox-how-can-i-restrict-sequence-nodes-by-type/39959)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 3\
**Last updated:** [November 1, 2024, 8:18pm UTC](https://discourse.slicer.org/t/for-qmrmlnodecombobox-how-can-i-restrict-sequence-nodes-by-type/39959 "2024-11-01T20:18:41Z")

</div>

I am working on a module to process a 4D data set. It will need to take as inputs a sequence node of segmentations and a sequence node of tables. Also present in the scene will be (possibly multple) sequence nodes of i…

---

## [Markup control point coordinate values are not automatically updated when switching between World and Local](https://discourse.slicer.org/t/markup-control-point-coordinate-values-are-not-automatically-updated-when-switching-between-world-and-local/39982)

<div class="topic-metadata">

**Author:** [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Replies:** 1\
**Last updated:** [November 1, 2024, 3:02pm UTC](https://discourse.slicer.org/t/markup-control-point-coordinate-values-are-not-automatically-updated-when-switching-between-world-and-local/39982 "2024-11-01T15:02:57Z")

</div>

Hello When I switch between “World” and “Local” in the “Coordinates:” drop down list of the Control Points section of the Markups module, the coordinates are not automatically updated. As workaround one can use the “Pr…

---

## [Two markupsROI (Cropping module)](https://discourse.slicer.org/t/two-markupsroi-cropping-module/39956)

<div class="topic-metadata">

**Author:** [@Dawid\_Szczawinski](https://discourse.slicer.org/u/Dawid_Szczawinski)\
**Replies:** 2\
**Last updated:** [October 31, 2024, 4:24pm UTC](https://discourse.slicer.org/t/two-markupsroi-cropping-module/39956 "2024-10-31T16:24:46Z")

</div>

Hello everyone! I try to create my own extension to using nnunetv2 model. First step is cropping data, because segmentation full file is not necessary and I have too little ram. So I try to cropp Volume using ROI. Is…

---

## [How to elicit a ray and tangent to the ROI region (use a python script if possible)](https://discourse.slicer.org/t/how-to-elicit-a-ray-and-tangent-to-the-roi-region-use-a-python-script-if-possible/39954)

<div class="topic-metadata">

**Author:** [@hewanglan](https://discourse.slicer.org/u/hewanglan)\
**Replies:** 2\
**Last updated:** [October 31, 2024, 11:55am UTC](https://discourse.slicer.org/t/how-to-elicit-a-ray-and-tangent-to-the-roi-region-use-a-python-script-if-possible/39954 "2024-10-31T11:55:51Z")

</div>

Operating system:windows 64 bit Slicer version:5.7.0 Expected behavior: Actual behavior:

---

## [Create new study case or patient](https://discourse.slicer.org/t/create-new-study-case-or-patient/39922)

<div class="topic-metadata">

**Author:** [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Replies:** 3\
**Last updated:** [October 30, 2024, 9:41am UTC](https://discourse.slicer.org/t/create-new-study-case-or-patient/39922 "2024-10-30T09:41:37Z")

</div>

Hi to everyone, a very quick question: Does anyone how to put the name (for example P40\_val) to the patient symbol using python? It also works to me change the notebook icon name using python. Thanks!

---

## [Is there a way to change the view of the slicer](https://discourse.slicer.org/t/is-there-a-way-to-change-the-view-of-the-slicer/39907)

<div class="topic-metadata">

**Author:** [@maniron](https://discourse.slicer.org/u/maniron)\
**Replies:** 1\
**Last updated:** [October 29, 2024, 4:32pm UTC](https://discourse.slicer.org/t/is-there-a-way-to-change-the-view-of-the-slicer/39907 "2024-10-29T16:32:15Z")

</div>

I am trying to develop an application and the requirement is that I want to show two volumes side by side , kindly let me know is it possible. And incase its possible kindly provide an example for that

---

## [Error when changing segment name from Python](https://discourse.slicer.org/t/error-when-changing-segment-name-from-python/39831)

<div class="topic-metadata">

**Author:** [@idris\_deniz](https://discourse.slicer.org/u/idris_deniz)\
**Replies:** 1\
**Last updated:** [October 28, 2024, 9:19am UTC](https://discourse.slicer.org/t/error-when-changing-segment-name-from-python/39831 "2024-10-28T09:19:24Z")

</div>

Hello 3D Slicer community, I want to change (rename) segment names while using 3D Slicer. However, whenever I try to do this, I keep encountering errors or the segment names are not changing successfully. This has becom…

---

## [Guidance on Creating a Simplified Python-Based Version of 3D Slicer with Custom Modules](https://discourse.slicer.org/t/guidance-on-creating-a-simplified-python-based-version-of-3d-slicer-with-custom-modules/39853)

<div class="topic-metadata">

**Author:** [@nih4t](https://discourse.slicer.org/u/nih4t)\
**Replies:** 2\
**Last updated:** [October 25, 2024, 12:41pm UTC](https://discourse.slicer.org/t/guidance-on-creating-a-simplified-python-based-version-of-3d-slicer-with-custom-modules/39853 "2024-10-25T12:41:41Z")

</div>

Hello everyone, I’ve successfully built 3D Slicer on my computer, and now I am looking to create a highly simplified version of the application. My goal is to remove about 90% of the existing functionality and focus on …

---

## [ExtensionIndex Publish Waiting Time](https://discourse.slicer.org/t/extensionindex-publish-waiting-time/39829)

<div class="topic-metadata">

**Author:** [@rasakereh](https://discourse.slicer.org/u/rasakereh)\
**Replies:** 0\
**Last updated:** [October 24, 2024, 2:58am UTC](https://discourse.slicer.org/t/extensionindex-publish-waiting-time/39829 "2024-10-24T02:58:36Z")

</div>

Hi, thank you for the amazing software package. I was curious about the approx waiting time for a submitted plugin PR to ExtensionIndex to be considered and merged to the relevant branch?

---

## [How to observe save button event](https://discourse.slicer.org/t/how-to-observe-save-button-event/39498)

<div class="topic-metadata">

**Author:** [@Cavers\_Chen](https://discourse.slicer.org/u/Cavers_Chen)\
**Replies:** 3\
**Last updated:** [October 23, 2024, 7:22pm UTC](https://discourse.slicer.org/t/how-to-observe-save-button-event/39498 "2024-10-23T19:22:17Z")

</div>

Hi! I am writing a Python script and encountered a problem recently. I want to save a specific component’s data through MRMLTextnode. However, I need to update and write them into the MRMLTextnode before users open the …

---

## [Is it possible to implement segment editor in c++](https://discourse.slicer.org/t/is-it-possible-to-implement-segment-editor-in-c/39808)

<div class="topic-metadata">

**Author:** [@bryanChau](https://discourse.slicer.org/u/bryanChau)\
**Replies:** 2\
**Last updated:** [October 23, 2024, 5:33am UTC](https://discourse.slicer.org/t/is-it-possible-to-implement-segment-editor-in-c/39808 "2024-10-23T05:33:01Z")

</div>

I noticed that the segment editor module is under the python. I was wondering if I could integrated segment editor module into my c++ qt app. Cuz running AI inference under python is much slower when it compared c++

---

## [Fail to create OpenIGTLink server socket on the same port immediately after another server has just stopped](https://discourse.slicer.org/t/fail-to-create-openigtlink-server-socket-on-the-same-port-immediately-after-another-server-has-just-stopped/39778)

<div class="topic-metadata">

**Author:** [@Filippo\_Parronchi](https://discourse.slicer.org/u/Filippo_Parronchi)\
**Replies:** 1\
**Last updated:** [October 21, 2024, 8:16pm UTC](https://discourse.slicer.org/t/fail-to-create-openigtlink-server-socket-on-the-same-port-immediately-after-another-server-has-just-stopped/39778 "2024-10-21T20:16:48Z")

</div>

Hello! I am establishing a connection between 3Dslicer (installed on my server) and Unity to render my volumes on an AR headset using the Open IGTLink communication protocol. My Python script is executed on the server vi…

---

## [Does the slicer have the ability to generate multi 3D volumes within the 3D slicer and operate it under specific limitations?](https://discourse.slicer.org/t/does-the-slicer-have-the-ability-to-generate-multi-3d-volumes-within-the-3d-slicer-and-operate-it-under-specific-limitations/39756)

<div class="topic-metadata">

**Author:** [@Ming\_Lei](https://discourse.slicer.org/u/Ming_Lei)\
**Replies:** 1\
**Last updated:** [October 18, 2024, 6:23pm UTC](https://discourse.slicer.org/t/does-the-slicer-have-the-ability-to-generate-multi-3d-volumes-within-the-3d-slicer-and-operate-it-under-specific-limitations/39756 "2024-10-18T18:23:39Z")

</div>

I’m working on an extension that requests that numerous 3D volumes be loaded or created and then moved toward MRI and CT volumes according to particular regulations. Because I need to record the transformation results in…

---

## [Using Webserver DicomWeb interface with OHIF (CORS enabled)](https://discourse.slicer.org/t/using-webserver-dicomweb-interface-with-ohif-cors-enabled/39736)

<div class="topic-metadata">

**Author:** [@Kynetyk](https://discourse.slicer.org/u/Kynetyk)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 4:31pm UTC](https://discourse.slicer.org/t/using-webserver-dicomweb-interface-with-ohif-cors-enabled/39736 "2024-10-17T16:31:05Z")

</div>

Hello! I just found out the WebServer extension in Slicer and discovered that it provided a DicomWeb interface to the dicom database. I would like to use it with OHIF (3.8.3, running locally for now), without the need …

---

## [3D model on cellphone ](https://discourse.slicer.org/t/3d-model-on-cellphone/36642)

<div class="topic-metadata">

**Author:** [@BaptisteSVD](https://discourse.slicer.org/u/BaptisteSVD)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 7:53am UTC](https://discourse.slicer.org/t/3d-model-on-cellphone/36642 "2024-10-17T07:53:48Z")

</div>

Hi, Is there a way to visualize the 3D reconstruction from 3D slicer on a cellphone ? Thank you!

---

## [Centerline projection after registration](https://discourse.slicer.org/t/centerline-projection-after-registration/39740)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 5:18am UTC](https://discourse.slicer.org/t/centerline-projection-after-registration/39740 "2024-10-17T05:18:22Z")

</div>

I extract vessel centerline by vmtk with type vtkMRMLModelNode. Then i want get ijk coord for centerline projection after rigistration. line = \[\] #line projection centerlineNode = slicer.util.getNode('Centerlinemodel'…

---

## [Is a return statement missing in the parameter node wrapper?](https://discourse.slicer.org/t/is-a-return-statement-missing-in-the-parameter-node-wrapper/39724)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 3:51pm UTC](https://discourse.slicer.org/t/is-a-return-statement-missing-in-the-parameter-node-wrapper/39724 "2024-10-16T15:51:53Z")

</div>

In python modules created using the Extension wizard, \_parameterNodeGuiTag is always None on inspection. I’m wondering if this line should return a value. Thanks for developers’ opinion.

---

## [How to use ROKAE robot with Python 3.8 library in Slicer?](https://discourse.slicer.org/t/how-to-use-rokae-robot-with-python-3-8-library-in-slicer/39606)

<div class="topic-metadata">

**Author:** [@ningw-git](https://discourse.slicer.org/u/ningw-git)\
**Replies:** 3\
**Last updated:** [October 15, 2024, 11:40pm UTC](https://discourse.slicer.org/t/how-to-use-rokae-robot-with-python-3-8-library-in-slicer/39606 "2024-10-15T23:40:44Z")

</div>

Hello, does slicer have a version that uses python3.8? I’m using a ROKAE robot recently, and they provided a program and library file based on python3.8 (similar to: robot.cp38-win\_amd64.pyd). I want to use this robot in…

---

## [What happens encountering \`transitional vertebrae\` when segmenting the spine in \`TotalSegmentator\`?](https://discourse.slicer.org/t/what-happens-encountering-transitional-vertebrae-when-segmenting-the-spine-in-totalsegmentator/36824)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 5\
**Last updated:** [October 14, 2024, 12:35pm UTC](https://discourse.slicer.org/t/what-happens-encountering-transitional-vertebrae-when-segmenting-the-spine-in-totalsegmentator/36824 "2024-10-14T12:35:53Z")

</div>

What happens when encountering transitional vertebrae when segmenting the spine in TotalSegmentator? From vert519 How to handle this situation? Who has good advice?

---

## [Non-manifold of vtk delaunay](https://discourse.slicer.org/t/non-manifold-of-vtk-delaunay/39682)

<div class="topic-metadata">

**Author:** [@Sofia\_Gonzalez](https://discourse.slicer.org/u/Sofia_Gonzalez)\
**Replies:** 1\
**Last updated:** [October 14, 2024, 9:12am UTC](https://discourse.slicer.org/t/non-manifold-of-vtk-delaunay/39682 "2024-10-14T09:12:21Z")

</div>

Hello everyone, I’m trying to calculate the diameter of a carotid making planes perpendicular to the flow of the blood, and I want to make that planes and then calculate the diameter, and it works, but in some points it …

---

## [ProcessEvents crash when refresh UI](https://discourse.slicer.org/t/processevents-crash-when-refresh-ui/39652)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 3\
**Last updated:** [October 12, 2024, 8:41am UTC](https://discourse.slicer.org/t/processevents-crash-when-refresh-ui/39652 "2024-10-12T08:41:25Z")

</div>

I capture real time video in thread , process image in slot fuction and try to force update result node in threeDViewWidget by qSlicerApplication::application()-\>processEvents() slicer crash when run after several ti…

---

## [Lung CT Segmenter Mac pip error](https://discourse.slicer.org/t/lung-ct-segmenter-mac-pip-error/39483)

<div class="topic-metadata">

**Author:** [@alexjin](https://discourse.slicer.org/u/alexjin)\
**Replies:** 2\
**Last updated:** [October 11, 2024, 1:39pm UTC](https://discourse.slicer.org/t/lung-ct-segmenter-mac-pip-error/39483 "2024-10-11T13:39:04Z")

</div>

Hi, when I use the Lung CT Segmenter extension, I get the following error: Failed to compute results: Command '\['/Applications/Slicer.app/Contents/bin/../bin/PythonSlicer', '-m', 'pip', 'install', 'https://github.com/Jo…

---

## [Hiding segments with hot key](https://discourse.slicer.org/t/hiding-segments-with-hot-key/38040)

<div class="topic-metadata">

**Author:** [@gazeofthespark](https://discourse.slicer.org/u/gazeofthespark)\
**Replies:** 9\
**Last updated:** [October 10, 2024, 10:09pm UTC](https://discourse.slicer.org/t/hiding-segments-with-hot-key/38040 "2024-10-10T22:09:29Z")

</div>

I need to “hide” all of my segmentations so that I can see only the volume underneath. I would like to map this to a keyboard shortcut so that I can toggle it on and off swiftly. So far my attempts have not worked: def…

---

## [Unable to Send Volume via OpenIGTLink in Python Script](https://discourse.slicer.org/t/unable-to-send-volume-via-openigtlink-in-python-script/39632)

<div class="topic-metadata">

**Author:** [@Vincenzo\_Yuto\_Civale](https://discourse.slicer.org/u/Vincenzo_Yuto_Civale)\
**Replies:** 1\
**Last updated:** [October 10, 2024, 10:02pm UTC](https://discourse.slicer.org/t/unable-to-send-volume-via-openigtlink-in-python-script/39632 "2024-10-10T22:02:20Z")

</div>

I’m trying to send an outgoing volume with OpenIGTLink in a script Python. The volume node is successfully put in OutGoing of OpenIGTLinkIF Node, but the client doesn’t receive it. success = connectionNode.RegisterOutg…

---

## [vtkITKArchetypeImageSeriesScalarReader:: GetRasToIjkMatrix Same DicomFiles but Different result](https://discourse.slicer.org/t/vtkitkarchetypeimageseriesscalarreader-getrastoijkmatrix-same-dicomfiles-but-different-result/39441)

<div class="topic-metadata">

**Author:** [@Hanzhang\_DAI](https://discourse.slicer.org/u/Hanzhang_DAI)\
**Replies:** 4\
**Last updated:** [October 8, 2024, 5:07pm UTC](https://discourse.slicer.org/t/vtkitkarchetypeimageseriesscalarreader-getrastoijkmatrix-same-dicomfiles-but-different-result/39441 "2024-10-08T17:07:45Z")

</div>

My C++ Code ################# vtkSmartPointer volumeReader = vtkSmartPointer::New(); volumeReader-\>SetArchetype(sortedFiles-\>GetValue(0).c\_str()); for (int i = 0; i \< sortedFiles-\>GetNumberOfValues(); i++) { volum…

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

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