# Latest

**URL:** https://discourse.slicer.org/latest.md?page=382

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

**Page:** 383

---

## [Slicer icons location](https://discourse.slicer.org/t/slicer-icons-location/18458)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 2\
**Last updated:** [July 2, 2021, 2:49am UTC](https://discourse.slicer.org/t/slicer-icons-location/18458 "2021-07-02T02:49:14Z")

</div>

In which directory are all the icons located in Slicer? For example all the markup icons fiducial,ruler etc. icons. I was not able to find them in slicer.

---

## [Connecting widget callback with custom logic signal/event in a scripted module](https://discourse.slicer.org/t/connecting-widget-callback-with-custom-logic-signal-event-in-a-scripted-module/18469)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 1\
**Last updated:** [July 1, 2021, 10:52pm UTC](https://discourse.slicer.org/t/connecting-widget-callback-with-custom-logic-signal-event-in-a-scripted-module/18469 "2021-07-01T22:52:14Z")

</div>

Hi, I’m trying to connect a callback in the widget class of my scripted module with a custom event of the logic class. My first attempt has been with the Qt signal/slot system, much like in this post. My code looks lik…

---

## [Smoothing with Gaussian standard deviation changed at some point](https://discourse.slicer.org/t/smoothing-with-gaussian-standard-deviation-changed-at-some-point/18431)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 3\
**Last updated:** [July 1, 2021, 1:18pm UTC](https://discourse.slicer.org/t/smoothing-with-gaussian-standard-deviation-changed-at-some-point/18431 "2021-07-01T13:18:03Z")

</div>

I was using the Smoothing segment editor effect recently and noticed a change in results using a typical value for Gaussian standard deviation mm. A commit from Oct 19th, 2020 ( ENH: Add brush option to Segment Editor…

---

## [How to create icon drop down like in slicer from script?](https://discourse.slicer.org/t/how-to-create-icon-drop-down-like-in-slicer-from-script/18416)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 3\
**Last updated:** [July 1, 2021, 12:12pm UTC](https://discourse.slicer.org/t/how-to-create-icon-drop-down-like-in-slicer-from-script/18416 "2021-07-01T12:12:32Z")

</div>

I was able to create an icon drop-down from python-qt5 by setting the text argument to empty text. But it’s not at looking good, I want icon drop-down as it looks in slicer. How can I create it from script?

---

## [Ruler and grid system working](https://discourse.slicer.org/t/ruler-and-grid-system-working/18440)

<div class="topic-metadata">

**Author:** [@Kshitij\_Panchal](https://discourse.slicer.org/u/Kshitij_Panchal)\
**Replies:** 2\
**Last updated:** [July 1, 2021, 2:04am UTC](https://discourse.slicer.org/t/ruler-and-grid-system-working/18440 "2021-07-01T02:04:47Z")

</div>

Hello. I am currently trying to understand the code of slicer and got stuck at how ruler and grid system works here. I understand that there are three text types for ruler and according to that, the ruler get displayed.…

---

## [Import DICOM after format change from NETCDF using pydicom](https://discourse.slicer.org/t/import-dicom-after-format-change-from-netcdf-using-pydicom/18312)

<div class="topic-metadata">

**Author:** [@asims](https://discourse.slicer.org/u/asims)\
**Replies:** 2\
**Last updated:** [July 1, 2021, 1:52am UTC](https://discourse.slicer.org/t/import-dicom-after-format-change-from-netcdf-using-pydicom/18312 "2021-07-01T01:52:43Z")

</div>

OS: Windows 10 64bit Slicer Version:4.10.0 Hi I have a lab CT scan of an item stored in NETCDF (\*.nc) format in multiple blocks. I would like to open this in Slicer. I have converted to dicom slices (1 file per slice)…

---

## [Saving image file in .mha format](https://discourse.slicer.org/t/saving-image-file-in-mha-format/11703)

<div class="topic-metadata">

**Author:** [@YolkandWhite](https://discourse.slicer.org/u/YolkandWhite)\
**Replies:** 3\
**Last updated:** [May 26, 2020, 4:39am UTC](https://discourse.slicer.org/t/saving-image-file-in-mha-format/11703 "2020-05-26T04:39:04Z")

</div>

Hi I have an easy question about .mha file format. I have an original image file in .png format I loaded that file to 3D slicer and saved it in .mha format. and than image size got largen. The original .png file was …

---

## [Updating persistent mode](https://discourse.slicer.org/t/updating-persistent-mode/18444)

<div class="topic-metadata">

**Author:** [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 10:56pm UTC](https://discourse.slicer.org/t/updating-persistent-mode/18444 "2021-06-30T22:56:01Z")

</div>

I’m currently working on a Markups update and would like to get some feedback. One change planned is to rename the “Persistent” mode something more intuitive. A couple options suggested include a checkbox to enable “Pla…

---

## [Converting Pathological Results to 3D](https://discourse.slicer.org/t/converting-pathological-results-to-3d/18436)

<div class="topic-metadata">

**Author:** [@arif](https://discourse.slicer.org/u/arif)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 6:55pm UTC](https://discourse.slicer.org/t/converting-pathological-results-to-3d/18436 "2021-06-30T18:55:45Z")

</div>

Hi dear slicer users; I am trying to convert pathological results to 3D. But my results are not usable. I know that with 8 slices to use, I won’t get any good surface or the best accuracy, but if you have any suggestio…

---

## [Split images and corresponding labels in half (symmetric cropping)](https://discourse.slicer.org/t/split-images-and-corresponding-labels-in-half-symmetric-cropping/18435)

<div class="topic-metadata">

**Author:** [@mluerig](https://discourse.slicer.org/u/mluerig)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 4:16pm UTC](https://discourse.slicer.org/t/split-images-and-corresponding-labels-in-half-symmetric-cropping/18435 "2021-06-30T16:16:18Z")

</div>

I need to split a bunch of images and corresponding labels in half. The images do not have the same dimensions. I tried with the cropping tool, but I can’t get it exactly in half, I don’t know how I would invert the cro…

---

## [Possibility to export only subset of labelled slices?](https://discourse.slicer.org/t/possibility-to-export-only-subset-of-labelled-slices/18255)

<div class="topic-metadata">

**Author:** [@mluerig](https://discourse.slicer.org/u/mluerig)\
**Replies:** 10\
**Last updated:** [June 30, 2021, 3:17pm UTC](https://discourse.slicer.org/t/possibility-to-export-only-subset-of-labelled-slices/18255 "2021-06-30T15:17:37Z")

</div>

I am trying to get started with biomedisa (https://biomedisa.org/), a deep learning based automatic segmentation tool which uses a subset of labels (e.g., only every 10th label from a stack of slices) to segment all rema…

---

## [SurfaceCut : error on edit points](https://discourse.slicer.org/t/surfacecut-error-on-edit-points/18430)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 2:47pm UTC](https://discourse.slicer.org/t/surfacecut-error-on-edit-points/18430 "2021-06-30T14:47:35Z")

</div>

Sorry to bother you again. Editing placed points in SurfaceCut generates this error : Traceback (most recent call last): File “/home/user/bin/Slicer\_Ext/SlicerSegmentEditorExtraEffects/SegmentEditorSurfaceCut/Segment…

---

## [How to use command line run slicer's models](https://discourse.slicer.org/t/how-to-use-command-line-run-slicers-models/18427)

<div class="topic-metadata">

**Author:** [@lyhsky123](https://discourse.slicer.org/u/lyhsky123)\
**Replies:** 2\
**Last updated:** [June 30, 2021, 1:44pm UTC](https://discourse.slicer.org/t/how-to-use-command-line-run-slicers-models/18427 "2021-06-30T13:44:10Z")

</div>

When I use Mac command line to run this: /Applications/Slicer.app/Contents/MacOS/Slicer --launch ResampleScalarVolume -i linear -s 1,1,1 $CoregPath/Coreg\_$MRI.nii.gz $CoregPath/CoregResamp\_$MRI.nii.gz It always swi…

---

## [Slicer module not found when using GetSubjectHierarchyNode](https://discourse.slicer.org/t/slicer-module-not-found-when-using-getsubjecthierarchynode/18399)

<div class="topic-metadata">

**Author:** [@nchaves](https://discourse.slicer.org/u/nchaves)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 12:22pm UTC](https://discourse.slicer.org/t/slicer-module-not-found-when-using-getsubjecthierarchynode/18399 "2021-06-30T12:22:52Z")

</div>

Hi, I was trying to get all the children of a folder in the subject hierarchy node using the convenience method slicer.mrmlScene.GetSubjectHierarchyNode. It didn’t work and I got the error: NameError: name ‘slicer’ is…

---

## [How to compute oriented bounding box for a model and display it using annotation ROI?](https://discourse.slicer.org/t/how-to-compute-oriented-bounding-box-for-a-model-and-display-it-using-annotation-roi/18411)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 3:02am UTC](https://discourse.slicer.org/t/how-to-compute-oriented-bounding-box-for-a-model-and-display-it-using-annotation-roi/18411 "2021-06-30T03:02:58Z")

</div>

In Get size, position, and orientation of each segment, I learned how to compute oriented bounding box for each segment and displays them using annotation ROI. I want to know how to compute oriented bounding box for a m…

---

## [Importing PBS files ](https://discourse.slicer.org/t/importing-pbs-files/18401)

<div class="topic-metadata">

**Author:** [@manuela\_lizarazu](https://discourse.slicer.org/u/manuela_lizarazu)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 2:42am UTC](https://discourse.slicer.org/t/importing-pbs-files/18401 "2021-06-30T02:42:37Z")

</div>

Slicer version: 4.11 Can PSB files be uploaded into slicer? I am working with photoshop and I have 96 images with 4800 pixels each, a really big file (PBS file is the only saving option I have), and I need to import it …

---

## [How to do volume rendering with original intensity](https://discourse.slicer.org/t/how-to-do-volume-rendering-with-original-intensity/18333)

<div class="topic-metadata">

**Author:** [@pranaysingh](https://discourse.slicer.org/u/pranaysingh)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 1:54am UTC](https://discourse.slicer.org/t/how-to-do-volume-rendering-with-original-intensity/18333 "2021-06-30T01:54:28Z")

</div>

Hi, I am trying to do volume rendering of my dicom dataset. I am able to successfully view my 3D object but its black in color. While my object, which is actually a tooth is somewhat gray and white in color, which is ac…

---

## [OpenIGTLink event in case of a new incoming MRML node](https://discourse.slicer.org/t/openigtlink-event-in-case-of-a-new-incoming-mrml-node/18397)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 1:05am UTC](https://discourse.slicer.org/t/openigtlink-event-in-case-of-a-new-incoming-mrml-node/18397 "2021-06-30T01:05:03Z")

</div>

Hi, I’m coding a scripted module that handles an OpenIGTLink connection to a tracker and I experience some delay between the call to start the connection and when the incoming data is actually streamed. I have tried us…

---

## [Running additional thread(s) for Tensorflow predictions within Slicer](https://discourse.slicer.org/t/running-additional-thread-s-for-tensorflow-predictions-within-slicer/17804)

<div class="topic-metadata">

**Author:** [@zacbaum](https://discourse.slicer.org/u/zacbaum)\
**Replies:** 5\
**Last updated:** [June 29, 2021, 8:59pm UTC](https://discourse.slicer.org/t/running-additional-thread-s-for-tensorflow-predictions-within-slicer/17804 "2021-06-29T20:59:14Z")

</div>

Hello, I am using Slicer to perform real-time (and also offline - but that is less affected by this issue) AI-based segmentation of tracked ultrasound images, while concurrently recording the images using Sequences; and…

---

## [Cross Section Slices Displayed Side-by-Side](https://discourse.slicer.org/t/cross-section-slices-displayed-side-by-side/18379)

<div class="topic-metadata">

**Author:** [@dsoto](https://discourse.slicer.org/u/dsoto)\
**Replies:** 2\
**Last updated:** [June 29, 2021, 8:17pm UTC](https://discourse.slicer.org/t/cross-section-slices-displayed-side-by-side/18379 "2021-06-29T20:17:47Z")

</div>

I want to determine changes in a very specific area of an MRI over time. Specifically, I want to draw a line through an organ and have it take the same line from all 300 frames in a data set and display them side-by-side…

---

## [Fullscreen the 3D view](https://discourse.slicer.org/t/fullscreen-the-3d-view/18403)

<div class="topic-metadata">

**Author:** [@bywbilly](https://discourse.slicer.org/u/bywbilly)\
**Replies:** 2\
**Last updated:** [June 29, 2021, 5:43pm UTC](https://discourse.slicer.org/t/fullscreen-the-3d-view/18403 "2021-06-29T17:43:39Z")

</div>

Hi, I feel this question may be naive but I searched out and didn’t find a solution for it. Here is a normal slicer window, I want to full screen the 3D view (top right window) so we can see the details better. Is …

---

## [Cancel CLI module running from a loadable scripted module through clicking the cancel button of qProgressDialog](https://discourse.slicer.org/t/cancel-cli-module-running-from-a-loadable-scripted-module-through-clicking-the-cancel-button-of-qprogressdialog/18330)

<div class="topic-metadata">

**Author:** [@bywbilly](https://discourse.slicer.org/u/bywbilly)\
**Replies:** 2\
**Last updated:** [June 29, 2021, 5:01pm UTC](https://discourse.slicer.org/t/cancel-cli-module-running-from-a-loadable-scripted-module-through-clicking-the-cancel-button-of-qprogressdialog/18330 "2021-06-29T17:01:05Z")

</div>

Hi, I run a CLI module in the background in a customized loadable scripted module. And following here How to update the progress bar from a scripted CLI - #2 by strider\_hunter, I create a progressDialog to show the prog…

---

## [Interactively change the nodes of mesh](https://discourse.slicer.org/t/interactively-change-the-nodes-of-mesh/18361)

<div class="topic-metadata">

**Author:** [@Aep93](https://discourse.slicer.org/u/Aep93)\
**Replies:** 8\
**Last updated:** [June 29, 2021, 2:33pm UTC](https://discourse.slicer.org/t/interactively-change-the-nodes-of-mesh/18361 "2021-06-29T14:33:51Z")

</div>

Hello all, Consider a mesh that is created with the segmentmesher module. For some reason, I want to change the locations of a few nodes in the created volumetric mesh to make my mesh more smooth. How can I do it? Is it…

---

## [How to build newly added models which are written in C++ and python](https://discourse.slicer.org/t/how-to-build-newly-added-models-which-are-written-in-c-and-python/18160)

<div class="topic-metadata">

**Author:** [@Mahesh\_Timmanagoudar](https://discourse.slicer.org/u/Mahesh_Timmanagoudar)\
**Replies:** 5\
**Last updated:** [June 28, 2021, 9:38pm UTC](https://discourse.slicer.org/t/how-to-build-newly-added-models-which-are-written-in-c-and-python/18160 "2021-06-28T21:38:30Z")

</div>

Hello There are some custom models we are able to build it using old version of slicer 4.05, VS 2013 and QT 4.X. Now I wanted to upgrade the slicer into latest version that is 4.13 and along with custom models. While I…

---

## [Transform Widget](https://discourse.slicer.org/t/transform-widget/18274)

<div class="topic-metadata">

**Author:** [@Loc\_Tran](https://discourse.slicer.org/u/Loc_Tran)\
**Replies:** 2\
**Last updated:** [June 28, 2021, 8:26pm UTC](https://discourse.slicer.org/t/transform-widget/18274 "2021-06-28T20:26:08Z")

</div>

Hello. I would like to display transformation fields and manipulate some visualization features of the fields such as spacing, scale factor. I tried writing a program to do that based on this document but it does not wo…

---

## [Invert black/white](https://discourse.slicer.org/t/invert-black-white/18382)

<div class="topic-metadata">

**Author:** [@johanna](https://discourse.slicer.org/u/johanna)\
**Replies:** 6\
**Last updated:** [June 28, 2021, 8:15pm UTC](https://discourse.slicer.org/t/invert-black-white/18382 "2021-06-28T20:15:48Z")

</div>

Hello! Sorry if this question has been asked before - I wasn’t able to find anything. How can I invert black and white for MRI? I found this: The simplest is probably to invert your image by using SimpleFilters module:…

---

## [Dark lighting/shadow issue when rotating the model](https://discourse.slicer.org/t/dark-lighting-shadow-issue-when-rotating-the-model/18351)

<div class="topic-metadata">

**Author:** [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Replies:** 3\
**Last updated:** [June 28, 2021, 3:57pm UTC](https://discourse.slicer.org/t/dark-lighting-shadow-issue-when-rotating-the-model/18351 "2021-06-28T15:57:09Z")

</div>

Is there any way to resolve the darkness/shadow when I rotate this model output I obtained from ALPACA?

---

## [Segmentation editor: Filling in the gaps of Threshold](https://discourse.slicer.org/t/segmentation-editor-filling-in-the-gaps-of-threshold/18370)

<div class="topic-metadata">

**Author:** [@reddington.15](https://discourse.slicer.org/u/reddington.15)\
**Replies:** 4\
**Last updated:** [June 28, 2021, 3:33pm UTC](https://discourse.slicer.org/t/segmentation-editor-filling-in-the-gaps-of-threshold/18370 "2021-06-28T15:33:44Z")

</div>

Hello, I am working on isolating the pelvis from the body and it is taking me some time, so I was curious if there was a faster way in filling in the gaps in each slice of the CT scan after thresholding. I am manually g…

---

## [AttributeError: qMRMLNodeComboBox has no attribute named 'setNoneEnabled'](https://discourse.slicer.org/t/attributeerror-qmrmlnodecombobox-has-no-attribute-named-setnoneenabled/18365)

<div class="topic-metadata">

**Author:** [@Yihao\_Liu](https://discourse.slicer.org/u/Yihao_Liu)\
**Replies:** 4\
**Last updated:** [June 28, 2021, 3:27pm UTC](https://discourse.slicer.org/t/attributeerror-qmrmlnodecombobox-has-no-attribute-named-setnoneenabled/18365 "2021-06-28T15:27:30Z")

</div>

Operating system: Ubuntu 20.04 Slicer version: 4.11.20210226 Expected behavior: setNoneEnabled() to disable qMRMLNodeComboBox “none” option Actual behavior: reported error My code: … self.ui.fid1MRMLNodeComboBox.no…

---

## [Visualizing MRI data taken over time and taking cross sections](https://discourse.slicer.org/t/visualizing-mri-data-taken-over-time-and-taking-cross-sections/18372)

<div class="topic-metadata">

**Author:** [@dsoto](https://discourse.slicer.org/u/dsoto)\
**Replies:** 2\
**Last updated:** [June 28, 2021, 3:20pm UTC](https://discourse.slicer.org/t/visualizing-mri-data-taken-over-time-and-taking-cross-sections/18372 "2021-06-28T15:20:43Z")

</div>

Hello all, I’m new to using Slicer and have run into a couple issues regarding displaying MRI data. So I have multiple datasets I am working with, some of which are anatomical, taking cross sections over different sagit…

[Previous page](https://discourse.slicer.org/latest.md?page=381)

[Next page](https://discourse.slicer.org/latest.md?page=383)
