# Development

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

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

**Page:** 43

---

## [How to hide all control points of a curve](https://discourse.slicer.org/t/how-to-hide-all-control-points-of-a-curve/27295)

<div class="topic-metadata">

**Author:** [@wrc](https://discourse.slicer.org/u/wrc)\
**Replies:** 2\
**Last updated:** [January 17, 2023, 3:29pm UTC](https://discourse.slicer.org/t/how-to-hide-all-control-points-of-a-curve/27295 "2023-01-17T15:29:36Z")

</div>

Hello, I want to hide all control points and only show the curve. How to achieve that by the API from vtkMRMLMarkupsDisplayNode?

---

## [Different segmentation export function produce different results](https://discourse.slicer.org/t/different-segmentation-export-function-produce-different-results/27279)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 4\
**Last updated:** [January 17, 2023, 2:46pm UTC](https://discourse.slicer.org/t/different-segmentation-export-function-produce-different-results/27279 "2023-01-17T14:46:01Z")

</div>

Hi, I have a segmentation node that I want to save on disk. In order to save it with saveNode, I need to convert it to a labelmap, but the way I convert it makes the result different: here is how the segmentation looks…

---

## [Add a user warning prompt when NIfTI imported as a segment is not a binary mask](https://discourse.slicer.org/t/add-a-user-warning-prompt-when-nifti-imported-as-a-segment-is-not-a-binary-mask/27298)

<div class="topic-metadata">

**Author:** [@mikbuch](https://discourse.slicer.org/u/mikbuch)\
**Replies:** 0\
**Last updated:** [January 17, 2023, 1:34pm UTC](https://discourse.slicer.org/t/add-a-user-warning-prompt-when-nifti-imported-as-a-segment-is-not-a-binary-mask/27298 "2023-01-17T13:34:38Z")

</div>

Hi, I struggled a bit with importing NIfTI images as a segment (“Segmentation”) to the Slicer. It took ma a while to realize that the image I was trying to import was not a binary mask (0s and 1s), but a probability map…

---

## [How to rotate the 3d camera around a center ruler or 3dvector](https://discourse.slicer.org/t/how-to-rotate-the-3d-camera-around-a-center-ruler-or-3dvector/27262)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 1\
**Last updated:** [January 17, 2023, 1:39am UTC](https://discourse.slicer.org/t/how-to-rotate-the-3d-camera-around-a-center-ruler-or-3dvector/27262 "2023-01-17T01:39:00Z")

</div>

the basic camera action is Yaw,Azimuth,Elevation,is it possible to rotate camera around like vector line \[2,1,3\]?

---

## [AttributeError: 'vtkSlicerMarkupsModuleMRMLPython.vtkMRMLMarkupsROI' object has no attribute 'SetAndObserveObjectToNodeMatrix'](https://discourse.slicer.org/t/attributeerror-vtkslicermarkupsmodulemrmlpython-vtkmrmlmarkupsroi-object-has-no-attribute-setandobserveobjecttonodematrix/27280)

<div class="topic-metadata">

**Author:** [@spodamon](https://discourse.slicer.org/u/spodamon)\
**Replies:** 3\
**Last updated:** [January 16, 2023, 10:28pm UTC](https://discourse.slicer.org/t/attributeerror-vtkslicermarkupsmodulemrmlpython-vtkmrmlmarkupsroi-object-has-no-attribute-setandobserveobjecttonodematrix/27280 "2023-01-16T22:28:41Z")

</div>

I was trying to create a bounding box as shown in the documentation Script repository — 3D Slicer documentation. But I keep running into the error AttributeError: ‘vtkSlicerMarkupsModuleMRMLPython.vtkMRMLMarkupsROI’ obj…

---

## [SlicerRt RT Structure ClosedSurface MPR visualization](https://discourse.slicer.org/t/slicerrt-rt-structure-closedsurface-mpr-visualization/27258)

<div class="topic-metadata">

**Author:** [@sani1486](https://discourse.slicer.org/u/sani1486)\
**Replies:** 1\
**Last updated:** [January 16, 2023, 11:09am UTC](https://discourse.slicer.org/t/slicerrt-rt-structure-closedsurface-mpr-visualization/27258 "2023-01-16T11:09:22Z")

</div>

Hello, I am trying to visualize RT structure data as a Closed Contour representation in my own application in a Three 2D view, and i checked SlicerRT implementation on it, So basically i copied the vtkPlanarContourTo…

---

## [Improve TotalSegmentator pre-segmentation speed](https://discourse.slicer.org/t/improve-totalsegmentator-pre-segmentation-speed/27238)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 6\
**Last updated:** [January 16, 2023, 10:59am UTC](https://discourse.slicer.org/t/improve-totalsegmentator-pre-segmentation-speed/27238 "2023-01-16T10:59:49Z")

</div>

Interesting to see that Jakob has implemented a “roi\_subset” option in the latest version of the TotalSegmentator program, which allows for generating only the organs/structures that you would want to see or save. Teste…

---

## [How to access Node in Scene?](https://discourse.slicer.org/t/how-to-access-node-in-scene/27197)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 6\
**Last updated:** [January 16, 2023, 7:18am UTC](https://discourse.slicer.org/t/how-to-access-node-in-scene/27197 "2023-01-16T07:18:01Z")

</div>

Operating system: window 11 Slicer version: 4.13.0 Hi , Slicer users I’m implementing an extension that draws a depthmap in slicer through a python module. Depthmap is almost done, but there is a problem in consideri…

---

## [Run Export To Files in the Segmentations Module from a script](https://discourse.slicer.org/t/run-export-to-files-in-the-segmentations-module-from-a-script/27235)

<div class="topic-metadata">

**Author:** [@Alistair\_McCutcheon](https://discourse.slicer.org/u/Alistair_McCutcheon)\
**Replies:** 2\
**Last updated:** [January 14, 2023, 4:27pm UTC](https://discourse.slicer.org/t/run-export-to-files-in-the-segmentations-module-from-a-script/27235 "2023-01-14T16:27:35Z")

</div>

I’d like to run the Export To Files functionality in the Segmentations Module from a slicer module I am developing. When running this, I need to be able to pass in the destination folder and the file format (nii.gz). Do…

---

## [CMF extension not available in Mac preview build](https://discourse.slicer.org/t/cmf-extension-not-available-in-mac-preview-build/27019)

<div class="topic-metadata">

**Author:** [@PaoloZaffino](https://discourse.slicer.org/u/PaoloZaffino)\
**Replies:** 2\
**Last updated:** [January 14, 2023, 3:24pm UTC](https://discourse.slicer.org/t/cmf-extension-not-available-in-mac-preview-build/27019 "2023-01-14T15:24:23Z")

</div>

Hi all, I just noted that, on Mac, the CMF extension is not available in the preview build. Here the CDash page: https://slicer.cdash.org/viewTest.php?onlyfailed&buildid=2902908 Best, Paolo

---

## [On Ubuntu 22.04, it is not possible to install extensions using either stable or preview build](https://discourse.slicer.org/t/on-ubuntu-22-04-it-is-not-possible-to-install-extensions-using-either-stable-or-preview-build/23819)

<div class="topic-metadata">

**Author:** [@Michel\_Atieh](https://discourse.slicer.org/u/Michel_Atieh)\
**Replies:** 9\
**Last updated:** [January 14, 2023, 2:54am UTC](https://discourse.slicer.org/t/on-ubuntu-22-04-it-is-not-possible-to-install-extensions-using-either-stable-or-preview-build/23819 "2023-01-14T02:54:30Z")

</div>

Problem report for Slicer 5.0.2 linux-amd64: \[please describe expected and actual behavior\] Hello, I just installed 3D Slicer and am getting the following error. The main issue that I’m having is that I can’t download a…

---

## [How to divide the view area area of 3d slicer](https://discourse.slicer.org/t/how-to-divide-the-view-area-area-of-3d-slicer/27154)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 10\
**Last updated:** [January 13, 2023, 8:30pm UTC](https://discourse.slicer.org/t/how-to-divide-the-view-area-area-of-3d-slicer/27154 "2023-01-13T20:30:07Z")

</div>

Operating system: windows 11 Slicer version: slicer 4.13.0 I am developing a python extension version of a function that takes a depth map for markups points. I want to print this depthmap image in a small size in the…

---

## [Point data error when visualize the difference between two volumetric meshes](https://discourse.slicer.org/t/point-data-error-when-visualize-the-difference-between-two-volumetric-meshes/26972)

<div class="topic-metadata">

**Author:** [@suranga](https://discourse.slicer.org/u/suranga)\
**Replies:** 8\
**Last updated:** [January 13, 2023, 3:11pm UTC](https://discourse.slicer.org/t/point-data-error-when-visualize-the-difference-between-two-volumetric-meshes/26972 "2023-01-13T15:11:52Z")

</div>

Hi, I have two volumetric liver meshes in vtk unstructured grid format (ground-truth and predicted versions) and I’d like to plot the error, i.e., the difference between the ground-truth and predicted liver meshes, on t…

---

## [How to set private extension?](https://discourse.slicer.org/t/how-to-set-private-extension/27221)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 2\
**Last updated:** [January 13, 2023, 6:55am UTC](https://discourse.slicer.org/t/how-to-set-private-extension/27221 "2023-01-13T06:55:10Z")

</div>

Operating system: Window 11 Slicer version: 4.13.0 Previously, I copied and pasted the code into the Python Interactor every time I ran the code to make sure the Python module worked properly within the 3D slicer. This…

---

## [Is it possible to change the name and the icon of the \[Package\] command output?](https://discourse.slicer.org/t/is-it-possible-to-change-the-name-and-the-icon-of-the-package-command-output/27220)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 3\
**Last updated:** [January 13, 2023, 3:01am UTC](https://discourse.slicer.org/t/is-it-possible-to-change-the-name-and-the-icon-of-the-package-command-output/27220 "2023-01-13T03:01:22Z")

</div>

my boss want to change the Slicer.exe icon and name to the company product name these directory is generate from Slicer \[Package\] Command is the action legal ? i don’t known how to Implement this demand

---

## [Extension image size / aspect ratio](https://discourse.slicer.org/t/extension-image-size-aspect-ratio/27206)

<div class="topic-metadata">

**Author:** [@RafaelPalomar](https://discourse.slicer.org/u/RafaelPalomar)\
**Replies:** 2\
**Last updated:** [January 12, 2023, 11:51pm UTC](https://discourse.slicer.org/t/extension-image-size-aspect-ratio/27206 "2023-01-12T23:51:15Z")

</div>

The image for the SlicerLiver extension in the extension manager looks blurry; it is probably too small. Is there any specific size or aspect ratio that should be respected?

---

## [Getting Voxel Values](https://discourse.slicer.org/t/getting-voxel-values/18290)

<div class="topic-metadata">

**Author:** [@toyama](https://discourse.slicer.org/u/toyama)\
**Replies:** 11\
**Last updated:** [July 14, 2021, 3:58am UTC](https://discourse.slicer.org/t/getting-voxel-values/18290 "2021-07-14T03:58:53Z")

</div>

We would like to get the values of all the voxels in a segment. However, the segment statics only gives me the maximum and minimum values for each contour. Is there any way to get the values of the voxels statistically…

---

## [Problem with sequentiality when using loops](https://discourse.slicer.org/t/problem-with-sequentiality-when-using-loops/27127)

<div class="topic-metadata">

**Author:** [@laurabc](https://discourse.slicer.org/u/laurabc)\
**Replies:** 3\
**Last updated:** [January 11, 2023, 8:25am UTC](https://discourse.slicer.org/t/problem-with-sequentiality-when-using-loops/27127 "2023-01-11T08:25:29Z")

</div>

Dear community, I am working in a python script to load 4D images and then repeat the same operations in each time volume. Therefore, my script includes first the loading instructions and then a for loop. I am having tr…

---

## [vtkMRMLCameraNode's coordinate system](https://discourse.slicer.org/t/vtkmrmlcameranodes-coordinate-system/27160)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 1\
**Last updated:** [January 10, 2023, 6:30pm UTC](https://discourse.slicer.org/t/vtkmrmlcameranodes-coordinate-system/27160 "2023-01-10T18:30:23Z")

</div>

Operating system: window 11 Slicer version: 4.13.0 Hi, everyone I want to calculate the z-buffer of an object based on the camera position. As far as I know, the z buffer is calculated based on the camera coordinate …

---

## [How to access an already rendered object?](https://discourse.slicer.org/t/how-to-access-an-already-rendered-object/27098)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 0\
**Last updated:** [January 7, 2023, 3:02pm UTC](https://discourse.slicer.org/t/how-to-access-an-already-rendered-object/27098 "2023-01-07T15:02:34Z")

</div>

Operating system: window 11 Slicer version: 4.13.0 Hi, all Which function should be referenced to access the object in the image rendered on the 3D sclier? I’m planning a Python extension module, and I want to know t…

---

## [How to measure the boundary CT value of a circular section?](https://discourse.slicer.org/t/how-to-measure-the-boundary-ct-value-of-a-circular-section/27104)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 4\
**Last updated:** [January 8, 2023, 4:17am UTC](https://discourse.slicer.org/t/how-to-measure-the-boundary-ct-value-of-a-circular-section/27104 "2023-01-08T04:17:41Z")

</div>

Chinese如图👇: 我想测量在椎弓根内的圆柱体某个截面的边界(骨和圆柱的接触界面)的CT值, 怎么做呢? As shown in figure :point\_down:: I want to measure the CT value of the boundary (the contact interface between the bone and the cylinder) of a certain section of th…

---

## [how to get imagefolder with t1, t1ce, t2 and flair in 3d slicer extended cli python module](https://discourse.slicer.org/t/how-to-get-imagefolder-with-t1-t1ce-t2-and-flair-in-3d-slicer-extended-cli-python-module/27095)

<div class="topic-metadata">

**Author:** [@scotwilli](https://discourse.slicer.org/u/scotwilli)\
**Replies:** 1\
**Last updated:** [January 7, 2023, 3:52pm UTC](https://discourse.slicer.org/t/how-to-get-imagefolder-with-t1-t1ce-t2-and-flair-in-3d-slicer-extended-cli-python-module/27095 "2023-01-07T15:52:11Z")

</div>

Im trying to create a 3d slicer cli python module which can select a patient folder with .nii files of t1, t1c2, t2 and flair. I have a pytorch inference script which takes all four modalities (t1, t1ce, t2, flair) combi…

---

## [Svn.na-mic.org, svn.slicer.org and viewvc.slicer.org servers shutdown and archived on GitHub](https://discourse.slicer.org/t/svn-na-mic-org-svn-slicer-org-and-viewvc-slicer-org-servers-shutdown-and-archived-on-github/27088)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 1\
**Last updated:** [January 7, 2023, 3:50pm UTC](https://discourse.slicer.org/t/svn-na-mic-org-svn-slicer-org-and-viewvc-slicer-org-servers-shutdown-and-archived-on-github/27088 "2023-01-07T15:50:45Z")

</div>

After being hosted by @kitware for more than 15 years, the following services have been shutdown, associated content archived on GitHub and relevant redirects set up. Description Historical URL Description svn.n…

---

## [ctk::vtkImageDataToQImage generates weird results](https://discourse.slicer.org/t/ctk-vtkimagedatatoqimage-generates-weird-results/25881)

<div class="topic-metadata">

**Author:** [@nnzzll](https://discourse.slicer.org/u/nnzzll)\
**Replies:** 2\
**Last updated:** [January 7, 2023, 12:41am UTC](https://discourse.slicer.org/t/ctk-vtkimagedatatoqimage-generates-weird-results/25881 "2023-01-07T00:41:32Z")

</div>

I’m trying to convert vtkImageData to a QImage and display it. Image below is the original image data displayed in sliceWidget. And this is what I got by using ctk::vtkImageDataToQImage It confused me since in m…

---

## [How can I get camera position information?](https://discourse.slicer.org/t/how-can-i-get-camera-position-information/27067)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 2\
**Last updated:** [January 6, 2023, 4:28pm UTC](https://discourse.slicer.org/t/how-can-i-get-camera-position-information/27067 "2023-01-06T16:28:14Z")

</div>

Operating system: window 11 Slicer version: 4.13.0 Hi , everyone I would like to know about camera coordinates, viewup vector, and focal point information based on the first time I ran 3d slicer. so, I used follow co…

---

## [Error when creating path in Endoscopy module](https://discourse.slicer.org/t/error-when-creating-path-in-endoscopy-module/23303)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 6\
**Last updated:** [January 6, 2023, 1:09pm UTC](https://discourse.slicer.org/t/error-when-creating-path-in-endoscopy-module/23303 "2023-01-06T13:09:02Z")

</div>

This is with Slicer preview 5.1.0-2022-05-04 on Windows 10. This is very likely pilot error as I have not used the Endoscopy module in (literally) years. I’ve created a point list of input fiducials, selected a new mode…

---

## [RAS Coordinate System & World Coordinate system](https://discourse.slicer.org/t/ras-coordinate-system-world-coordinate-system/27069)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 5\
**Last updated:** [January 6, 2023, 6:08am UTC](https://discourse.slicer.org/t/ras-coordinate-system-world-coordinate-system/27069 "2023-01-06T06:08:32Z")

</div>

Operating system: window 11 Slicer version: 4.13.0 Hi, everyone I tried to mark a point on the 3d slicer through the markups tool and load the position data. Here is the code I used. node\_mark = slicer.util.getNode(…

---

## [How to access image properties imported into 3D slicer](https://discourse.slicer.org/t/how-to-access-image-properties-imported-into-3d-slicer/27074)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 0\
**Last updated:** [January 6, 2023, 5:16am UTC](https://discourse.slicer.org/t/how-to-access-image-properties-imported-into-3d-slicer/27074 "2023-01-06T05:16:26Z")

</div>

Operating system: window 11 Slicer version: 4.13.0 Hi all , Actually This’s my final question for first project. If you import mesh data (.ply file) into 3d slicer, it will be rendered within RAS coordinates. I want…

---

## [How can I interact with the slicer internal implementation functions?](https://discourse.slicer.org/t/how-can-i-interact-with-the-slicer-internal-implementation-functions/27055)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 1\
**Last updated:** [January 5, 2023, 10:11pm UTC](https://discourse.slicer.org/t/how-can-i-interact-with-the-slicer-internal-implementation-functions/27055 "2023-01-05T22:11:21Z")

</div>

Hi, I am a newbie in 3D image processing. What I’d like to do is: I want to extend the Python module file I made to 3D slicer. However, this module needs to interact with several functions inside the 3D slicer. List …

---

## [How can I interact with the slicer internal implementation functions?](https://discourse.slicer.org/t/how-can-i-interact-with-the-slicer-internal-implementation-functions/27056)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 1\
**Last updated:** [January 5, 2023, 2:06pm UTC](https://discourse.slicer.org/t/how-can-i-interact-with-the-slicer-internal-implementation-functions/27056 "2023-01-05T14:06:49Z")

</div>

Operating system: window 11 Slicer version: slicer 4.13.0 Expected behavior: python module extention Actual behavior: Hi, I am a newbie in 3D image processing. What I’d like to do is: I want to extend the Python mo…

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

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