Rendered volume doesn't show slices trough ROI

Dear all,

I have been trying to see patterns of variation in bone structures. For that, I am rendering a volume by using the Segment Editor module and applying ‘Threshold’ in a new added segment. After that, I am able to render the 3d image.
Then in the Volume Rendering module, I selected the CAA preset (but I didn’t see any difference) and clicked on the Display ROI function. I see the box and “vectors” indicating the function, but in any of them I am able to see through the rendered volume. It stays as a solid skeleton as the box travels through the image.
Can anyone help me with that? Should I render the volume differently so I can see through the slices in the rendered volume?



Operating system: Windows 10
Slicer version: 4.10.2

You can either show structures using by segmenting them using Segment Editor; or directly, without segmentation, using Volume rendering. If you show them both at the same time then most likely segmentation result occludes volume rendering result, so in order to see volume rendering, you need to hide the segmentation.

Thanks for the reply, but I’m still having trouble with that.
I have a bitmap stack files, and when I try to import them as a Scalar volume for taking the steps to the Volume rendering, my data doesn’t load and I end up with all black windows where the slices should appear.

Slicer does not import bmp stacks as a scalar volume, it reads them RGB (vector volume). Once you imported your image stack you to invoke to vectortoscalar module.

  1. you can use SlicerMorph SkyscanReconImport (if your data is coming from a Bruker/Skyscan microCT. All you have to do is to point to the *_Rec.log file in the reconstruction folder). SlicerMorph is available as an extension for the preview builds.
  2. You can use as shown on the webpage (copy and paste the python code)

Thank you!

I’ve downloaded the lastest preview version and was able to add SlicerMorph as an extension, but it didn’t solve my problem. Neither the Vector to Scalar module.
The link to GitHub did the trick, and I was able to render one of my many datasets.

In another one, I have the slices availabe in .tiff format. I run the script, and after loading the files to create the volume file, I get the following message:

Traceback (most recent call last):
File “C:/Users/Acer/AppData/Local/Temp/Slicer/SlicerImageStacks/SlicerImageStacks-master/ImageStacks/”, line 235, in onLoadButton
self.logic.loadByPaths(paths, self.currentNode(), properties)
File “C:/Users/Acer/AppData/Local/Temp/Slicer/SlicerImageStacks/SlicerImageStacks-master/ImageStacks/”, line 331, in loadByPaths
volumeArray[sliceIndex] = sliceArray
ValueError: could not broadcast input array from shape (700,316) into shape (805,1199)

Any idea what might be the issue? Thank you again for the help!


It looks like you have a mix of Image sizes in the selection. Probably you only want to load equal sized images of the goal is to have a volume. Often there is something in the filename that indicates which ones go together.

Choose the option that suits your computer in Rendering. With or without GPU.

Because my computer doesn’t have a discrete graphics card, I can only select VTK CPU Ray Casting.
If you have a discrete graphics card, try the Rendering VTK GPU Ray Casting.
As the following figure.

The above message was created using Google translate. Click here to see original text in Chinese.

在Rendering里选择适合自己电脑的选项。With or without GPU。

因为我的电脑没有独立显卡,只能选择 VKT CPU Ray Casting。
如果有独立显卡,可以试一试rendering VKT GPU Ray Casting。
As the following figure.