# Development

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

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

**Page:** 26

---

## [Add custom interaction with sliceview](https://discourse.slicer.org/t/add-custom-interaction-with-sliceview/34061)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 4:20pm UTC](https://discourse.slicer.org/t/add-custom-interaction-with-sliceview/34061 "2024-02-01T16:20:21Z")

</div>

Hi, There are two ways to zoom slice view: hold right mouse btn adn drag hold ctrl key and use wheel I’m going to implement the interaction that changes FOV independently by vertical and horizontal dimensions when us…

---

## [Loading rgb iamge and .ply file](https://discourse.slicer.org/t/loading-rgb-iamge-and-ply-file/34090)

<div class="topic-metadata">

**Author:** [@Priya\_5](https://discourse.slicer.org/u/Priya_5)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 12:03pm UTC](https://discourse.slicer.org/t/loading-rgb-iamge-and-ply-file/34090 "2024-02-01T12:03:58Z")

</div>

I am very new to 3D Slicer, and I would appreciate it if someone could help clarify my understanding regarding the following query: I have a .dcm file that contains an RGB 2D image and metadata for all modules such as p…

---

## [Converting segmentation to numpy array and back does not conserve layer ordering](https://discourse.slicer.org/t/converting-segmentation-to-numpy-array-and-back-does-not-conserve-layer-ordering/34079)

<div class="topic-metadata">

**Author:** [@tueboesen](https://discourse.slicer.org/u/tueboesen)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 10:03am UTC](https://discourse.slicer.org/t/converting-segmentation-to-numpy-array-and-back-does-not-conserve-layer-ordering/34079 "2024-02-01T10:03:58Z")

</div>

I have the following function in my custom built segment editor module, built upon the standard extension script. The problem is that the segments I manually put in gets moved to a different layer when I run this code, a…

---

## [An extension for Statistical shape analysis](https://discourse.slicer.org/t/an-extension-for-statistical-shape-analysis/23217)

<div class="topic-metadata">

**Author:** [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 1:21am UTC](https://discourse.slicer.org/t/an-extension-for-statistical-shape-analysis/23217 "2024-02-01T01:21:17Z")

</div>

Dear All, I’m proposing to add an extension that performs the Statistical shape analysis using the 3D Poisson equations. The repository is at: The paper is: Gao Y, Bouix S. Statistical Shape Analysis using 3D Poisso…

---

## [How to load nifti file from web browser link?](https://discourse.slicer.org/t/how-to-load-nifti-file-from-web-browser-link/18664)

<div class="topic-metadata">

**Author:** [@ASH](https://discourse.slicer.org/u/ASH)\
**Replies:** 53\
**Last updated:** [January 31, 2024, 7:27am UTC](https://discourse.slicer.org/t/how-to-load-nifti-file-from-web-browser-link/18664 "2024-01-31T07:27:17Z")

</div>

Hi there, I have a nifti file (xxx.nii.gz) and can open it in 3D slicer with drag and drop the file to the app. I watched the video (Using 3D Slicer with cloud DICOMweb databases - YouTube) and found a DICOM can be ope…

---

## [Custom module icons in SlicerCustomAppTemplateApp missing](https://discourse.slicer.org/t/custom-module-icons-in-slicercustomapptemplateapp-missing/34037)

<div class="topic-metadata">

**Author:** [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 9:25pm UTC](https://discourse.slicer.org/t/custom-module-icons-in-slicercustomapptemplateapp-missing/34037 "2024-01-30T21:25:03Z")

</div>

I´ve build a SlicerCustomAppTemplateApp with a custom module in Win11. In Resouces/Icon folder there are many other icons. I set Slicer\_EXTENSION\_SOURCE\_DIRS ${SlicerCustomAppTemplate\_SOURCE\_DIR}/Modules/Scripted/My…

---

## [How to get the segmentation data?](https://discourse.slicer.org/t/how-to-get-the-segmentation-data/34049)

<div class="topic-metadata">

**Author:** [@tueboesen](https://discourse.slicer.org/u/tueboesen)\
**Replies:** 1\
**Last updated:** [January 30, 2024, 3:47pm UTC](https://discourse.slicer.org/t/how-to-get-the-segmentation-data/34049 "2024-01-30T15:47:28Z")

</div>

I am still learning my way around slicer 3D. I have learned that I can get the data volume in numpy format as: data\_vol = getNode(‘Data’) data\_vol\_np = slicer.utils.arrayFromVolume(data\_vol) Now I would like to be ab…

---

## [Make 3D view quality independent of corresponding 2D slice](https://discourse.slicer.org/t/make-3d-view-quality-independent-of-corresponding-2d-slice/34029)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 7:54am UTC](https://discourse.slicer.org/t/make-3d-view-quality-independent-of-corresponding-2d-slice/34029 "2024-01-30T07:54:36Z")

</div>

Hi, I’ve always been wondering is it possible to make 3D visualization quality independent of how many pixels are actually shown of the corresponding slice in the slice view? See the picture for example. If slice is f…

---

## [Unable to build SlicerCustomAppTemplate in Windows](https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005)

<div class="topic-metadata">

**Author:** [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Replies:** 2\
**Last updated:** [January 28, 2024, 12:06pm UTC](https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005 "2024-01-28T12:06:08Z")

</div>

I´m trying to build my first Custom Slicer App using SlicerCustomAppTemplate project but I can´t even to build the basic one. Windows 11. VS 2022. Cmake 3.28.1 My steps: Create D:\\D2 forder and run cookiecutter gh:Ki…

---

## [Build loadable extension with my own shared library](https://discourse.slicer.org/t/build-loadable-extension-with-my-own-shared-library/33988)

<div class="topic-metadata">

**Author:** [@nnzzll](https://discourse.slicer.org/u/nnzzll)\
**Replies:** 0\
**Last updated:** [January 26, 2024, 9:36am UTC](https://discourse.slicer.org/t/build-loadable-extension-with-my-own-shared-library/33988 "2024-01-26T09:36:06Z")

</div>

I’m developing a loadable extension. As I know, a C++ loadable extension has three part: vtkSlicer${Module\_Name}ModuleLogic, qSlicer${MODULE\_NAME}ModuleWidgets, and the module itself. If I build moduleLogic or ModuleWi…

---

## [How to handle the new parameter node wrapper?](https://discourse.slicer.org/t/how-to-handle-the-new-parameter-node-wrapper/33957)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 4\
**Last updated:** [January 25, 2024, 9:05pm UTC](https://discourse.slicer.org/t/how-to-handle-the-new-parameter-node-wrapper/33957 "2024-01-25T21:05:48Z")

</div>

Hi @lassoan, @pieper, @jcfr, @devs, I am in the process of porting some modules of SlicerVMTK to the new parameter node wrapper. A sample port is available in this branch. I am requesting advice about handling things b…

---

## [How to compile and run the files.](https://discourse.slicer.org/t/how-to-compile-and-run-the-files/33835)

<div class="topic-metadata">

**Author:** [@Arun03Kumar](https://discourse.slicer.org/u/Arun03Kumar)\
**Replies:** 7\
**Last updated:** [January 24, 2024, 4:02pm UTC](https://discourse.slicer.org/t/how-to-compile-and-run-the-files/33835 "2024-01-24T16:02:48Z")

</div>

my build is completed just now, now I have two folders one contains the repository cloned file and another one contains the build files, the build folder now has a lot more folders, now I am totally confused that in whic…

---

## [New interpolation tool](https://discourse.slicer.org/t/new-interpolation-tool/33932)

<div class="topic-metadata">

**Author:** [@Mehran](https://discourse.slicer.org/u/Mehran)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 8:02am UTC](https://discourse.slicer.org/t/new-interpolation-tool/33932 "2024-01-24T08:02:58Z")

</div>

Hi All, I am thrilled to share our recent tool for filling between slices in segmentation module. We would love to hear your thoughts and feedback! :nerd\_face: we designed it for muscle segmentation though it can be us…

---

## [Segmentation of composite materials from CT images](https://discourse.slicer.org/t/segmentation-of-composite-materials-from-ct-images/33910)

<div class="topic-metadata">

**Author:** [@tueboesen](https://discourse.slicer.org/u/tueboesen)\
**Replies:** 1\
**Last updated:** [January 22, 2024, 6:09pm UTC](https://discourse.slicer.org/t/segmentation-of-composite-materials-from-ct-images/33910 "2024-01-22T18:09:09Z")

</div>

I am investigating the tools currently available to view and interactively segment 3D data (made from lots of 2D slices), specifically for material composites from CT data. (So data that typically have a lot of similar f…

---

## [Improve ambient occlusion in volume rendering](https://discourse.slicer.org/t/improve-ambient-occlusion-in-volume-rendering/33590)

<div class="topic-metadata">

**Author:** [@LucasGandel](https://discourse.slicer.org/u/LucasGandel)\
**Replies:** 10\
**Last updated:** [January 22, 2024, 4:39pm UTC](https://discourse.slicer.org/t/improve-ambient-occlusion-in-volume-rendering/33590 "2024-01-22T16:39:57Z")

</div>

Opening the discussion for improvements for transparent rendering. I find the current results disturbing as AO makes the whole thing appear opaque. Here are potential approaches I’m considering to introduce, any insight …

---

## [How to develop 3D slicer on a website](https://discourse.slicer.org/t/how-to-develop-3d-slicer-on-a-website/33873)

<div class="topic-metadata">

**Author:** [@bodenstandig](https://discourse.slicer.org/u/bodenstandig)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 2:52am UTC](https://discourse.slicer.org/t/how-to-develop-3d-slicer-on-a-website/33873 "2024-01-22T02:52:06Z")

</div>

Hello to all members of the Slicer community! I am an undergraduate student majoring in computer science, currently working on my graduation project. For my final project, I aim to transplant the 3D image browsing functi…

---

## [What's wrong when trying to convert a model's coordinate points into a volume?](https://discourse.slicer.org/t/whats-wrong-when-trying-to-convert-a-models-coordinate-points-into-a-volume/33791)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 6\
**Last updated:** [January 18, 2024, 11:59am UTC](https://discourse.slicer.org/t/whats-wrong-when-trying-to-convert-a-models-coordinate-points-into-a-volume/33791 "2024-01-18T11:59:09Z")

</div>

First, create a new volume and obtain the coordinates of the model based on it. Convert the coordinates of the model (RAS) to IJK (from:  (slicer.readthedocs.io)) def ras2IjkFor(ps, reVol): mat = vtk.vtkMatrix4x4() …

---

## [How to create a new project](https://discourse.slicer.org/t/how-to-create-a-new-project/33839)

<div class="topic-metadata">

**Author:** [@Diego\_fabian](https://discourse.slicer.org/u/Diego_fabian)\
**Replies:** 1\
**Last updated:** [January 18, 2024, 6:01am UTC](https://discourse.slicer.org/t/how-to-create-a-new-project/33839 "2024-01-18T06:01:42Z")

</div>

How to create a new project, I am a research student in biomedical engineering, maybe someone who will help me, thank you very much (by Google Translate) Original in SpanishComo crear un nuevo proyecto soy estudiante d…

---

## [Mouse Focus issue when using keyboard shortcuts in 2023-12-31 preview](https://discourse.slicer.org/t/mouse-focus-issue-when-using-keyboard-shortcuts-in-2023-12-31-preview/33642)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 4\
**Last updated:** [January 17, 2024, 8:05pm UTC](https://discourse.slicer.org/t/mouse-focus-issue-when-using-keyboard-shortcuts-in-2023-12-31-preview/33642 "2024-01-17T20:05:07Z")

</div>

I think there is an issue with focus (maybe). I can replicate this with any scene. Paint a small section in a segment, preferably isolated. Click on Islands effect, select remove selected island. Click on the painted i…

---

## [Integrate Slicer into a web interface](https://discourse.slicer.org/t/integrate-slicer-into-a-web-interface/33827)

<div class="topic-metadata">

**Author:** [@MarcMR](https://discourse.slicer.org/u/MarcMR)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 6:17pm UTC](https://discourse.slicer.org/t/integrate-slicer-into-a-web-interface/33827 "2024-01-17T18:17:43Z")

</div>

Hello, We are using 3D slicer with some custom made plugins (plugins that connect to images in our database and others). We want other users to interacts with “our” 3d slicer. Ideally (instead of them installing it loc…

---

## [ParameterNodeWrapper with dynamic Minimum/Maximum](https://discourse.slicer.org/t/parameternodewrapper-with-dynamic-minimum-maximum/33807)

<div class="topic-metadata">

**Author:** [@che85](https://discourse.slicer.org/u/che85)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 11:11pm UTC](https://discourse.slicer.org/t/parameternodewrapper-with-dynamic-minimum-maximum/33807 "2024-01-16T23:11:51Z")

</div>

Hi, I am working on adapting some code to use the parameterNodeWrapper and was wondering if there is any way to set the validator’s Minimum and Maximum values of ctkSliderWidget dynamically at runtime. Use case I have …

---

## [Getting linear distances between fiducial landmarks](https://discourse.slicer.org/t/getting-linear-distances-between-fiducial-landmarks/33065)

<div class="topic-metadata">

**Author:** [@paleomariomm](https://discourse.slicer.org/u/paleomariomm)\
**Replies:** 3\
**Last updated:** [January 16, 2024, 4:33pm UTC](https://discourse.slicer.org/t/getting-linear-distances-between-fiducial-landmarks/33065 "2024-01-16T16:33:34Z")

</div>

I have created 5 fiducial markups in Slicer. I would like to obtain the linear measurements between all of them (two by two). I know that by selecting two points and right clicking we can obtain the linear measurement …

---

## [Transform in ijk](https://discourse.slicer.org/t/transform-in-ijk/33779)

<div class="topic-metadata">

**Author:** [@brandus1](https://discourse.slicer.org/u/brandus1)\
**Replies:** 1\
**Last updated:** [January 15, 2024, 7:56pm UTC](https://discourse.slicer.org/t/transform-in-ijk/33779 "2024-01-15T19:56:17Z")

</div>

Hi, I am trying to replicate the behavior of the Resample module directly on numpy arrays, because I have a separate service that cannot integrate or call slicer directly unfortunately. This is the basic operation I wo…

---

## [Python Unit Test Runner Extension](https://discourse.slicer.org/t/python-unit-test-runner-extension/33780)

<div class="topic-metadata">

**Author:** [@Thibault\_Pelletier](https://discourse.slicer.org/u/Thibault_Pelletier)\
**Replies:** 3\
**Last updated:** [January 15, 2024, 3:23pm UTC](https://discourse.slicer.org/t/python-unit-test-runner-extension/33780 "2024-01-15T15:23:58Z")

</div>

Hi everyone, I’m in the process of creating a Python Unit Test Runner Extension. This module provides (IMO) an efficient way to develop new Python based extensions and allows to do test driven development by having : …

---

## [C++ and C locale are not equal after creation of qSlicerApplication](https://discourse.slicer.org/t/c-and-c-locale-are-not-equal-after-creation-of-qslicerapplication/33718)

<div class="topic-metadata">

**Author:** [@aymeric.chataigner](https://discourse.slicer.org/u/aymeric.chataigner)\
**Replies:** 1\
**Last updated:** [January 15, 2024, 1:38pm UTC](https://discourse.slicer.org/t/c-and-c-locale-are-not-equal-after-creation-of-qslicerapplication/33718 "2024-01-15T13:38:10Z")

</div>

Hi, I added some code in Main.cxx to check the values of C and C++ locale settings: int SlicerAppMain(int argc, char\* argv\[\]) { typedef qSlicerAppMainWindow SlicerMainWindowType; typedef qSlicerStyle SlicerAppStyle…

---

## [Modifying Extension's CMakeLists results in reconfigure the whole Application](https://discourse.slicer.org/t/modifying-extensions-cmakelists-results-in-reconfigure-the-whole-application/33749)

<div class="topic-metadata">

**Author:** [@nnzzll](https://discourse.slicer.org/u/nnzzll)\
**Replies:** 1\
**Last updated:** [January 15, 2024, 5:44am UTC](https://discourse.slicer.org/t/modifying-extensions-cmakelists-results-in-reconfigure-the-whole-application/33749 "2024-01-15T05:44:18Z")

</div>

I am developing a customized application generated by SlicerCustomAppTemplate. From my experience of developing Slicer loadable extensions, it is supposed that when you edit the extension’s CMakeLists.txt, only the exte…

---

## [How to contribute my Matlab coding into 3D Slicer](https://discourse.slicer.org/t/how-to-contribute-my-matlab-coding-into-3d-slicer/33765)

<div class="topic-metadata">

**Author:** [@akmal871026](https://discourse.slicer.org/u/akmal871026)\
**Replies:** 2\
**Last updated:** [January 15, 2024, 5:33am UTC](https://discourse.slicer.org/t/how-to-contribute-my-matlab-coding-into-3d-slicer/33765 "2024-01-15T05:33:29Z")

</div>

Dear All, I have some code in Matlab syntax. This is about the segmentation tumor on Iodine-131 SPECT imaging. Anyone know how to contribute my coding into 3D Slicer? What I meant is I want put into the extension mana…

---

## [New python notebook library](https://discourse.slicer.org/t/new-python-notebook-library/33758)

<div class="topic-metadata">

**Author:** [@mhalle](https://discourse.slicer.org/u/mhalle)\
**Replies:** 0\
**Last updated:** [January 13, 2024, 1:03pm UTC](https://discourse.slicer.org/t/new-python-notebook-library/33758 "2024-01-13T13:03:58Z")

</div>

Just saw this new open source variant on the python notebook concept (and an alternative to Jupyter notebooks) that might be useful with Slicer: Some of the differences from Jupyter: Fully reactive: change a variabl…

---

## [Slicer superbuild error in Python/SSL](https://discourse.slicer.org/t/slicer-superbuild-error-in-python-ssl/33669)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 5\
**Last updated:** [January 8, 2024, 7:42pm UTC](https://discourse.slicer.org/t/slicer-superbuild-error-in-python-ssl/33669 "2024-01-08T19:42:19Z")

</div>

Hi all, I have updated the Slicer source code to the latest and trying to build it. On one computer the build succeeded, but on the other one I keep getting the same error. I tried it several times during the last days …

---

## [Slicer to Magic Leap Integration](https://discourse.slicer.org/t/slicer-to-magic-leap-integration/16724)

<div class="topic-metadata">

**Author:** [@cshreyas](https://discourse.slicer.org/u/cshreyas)\
**Replies:** 16\
**Last updated:** [January 6, 2024, 7:01pm UTC](https://discourse.slicer.org/t/slicer-to-magic-leap-integration/16724 "2024-01-06T19:01:49Z")

</div>

Hello, I am exploring ways to integrate Slicer 3D. I am looking to use SlicerVirtualReality. Can someone help me with file format that gets IN and Out of SlicerVirtualReality? This will be helpful to explore its compat…

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

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