Export DICOM series of volume with a model as ROI

Operating system: Windows 7
Slicer version: 4.6.2

Dear forum,

I just began to discover 3D slicer as a software to handle 3D-scans of µCT.
Normally I use the software delivered with my system (for research purposes). Hence a cooperation with an other team I’m “forced” to use 3D slicer.
They send my a lot of files which I would like to analyse the way I used to do with my own samples (because I already begun to analyse my samples that way, and I cant change it during the study).
The study is about analyzing human stapes.

Here is the problem:
They send me 9 Volumes with a total of 15 samples in each volume.
The Files are nrrd. Which normally is actually fine for me.
But I cant figure which of specimens is which because they are all “unsorted”.
The other Team did a segmentation of all of them and sorted them (which is good for me) and created an 3D-Model (.ply).
As well they delivered a label map as .nnrd.

Here is the question:

For my analysis I need a single DICOM series of all of the specemin.
Creating a DICOM series is easy. But I can’t get slicer to use the .ply file as an ROI.

Right now my approach is to load the nrrd file with all of the specemin, then load the 3D Model of one of the specimen and then create an ROI in the “Crop Volume” Module (wait for a long time) and then use this sub volume to “Create a DICOM Series”.

The real qestion is:

Is there a way to use the .ply file as an ROI for the export of an image series of just one of the specimen.
Or is there any other way to speed up the process?

I hope I did not confuse you with so much information, if you have any questions feel free to ask

Best

TMC

Hi! I’m having a hard time understanding what you want to do exactly, especially why you want to crop the volume with the model, because as you say the model contains a segmentation. You also say a labelmap is also provided, but I’m not sure if you want to use it for anything.

A few tips until we get a clearer picture:

  1. Please use the latest stable (4.8.0), as the version you use is more than a year old
  2. Use the Data module for exporting into DICOM, as explained here
  3. If you want to export to DICOM-RT (either the ply or the labelmap as the structure set), then you’ll need to create a “Segmentation” node from that. Please refer to this description (second point)

Yes, it’s not yet clear if you need:

  • A. crop by a rectangular box
  • B. blank out all the voxels outside the segment

What analysis do you need to do on the data?
What software do you use for that now?
Can that software import DICOM-RT structure sets?

You can speed up the process/make it completely automatic by Python scripting (see this tutorial to get started).

Dear @lassoan and @cpinter,

thank you for your replys.
I’m downloading the nightly build right now. And as well I’ll look into the Data module.
About the DICOM-RT, I’m not sure I’d understand the difference to DICOM.
The software I use, it is the standard software delivered from Bruker microCT. It is called CTAnalyzer.
It can open DICOM but I’m not sure it would open DICOM-RT.
The measurements we need are just some basic information about the stapes. Like hight, area and angle.
I guess I could do this as well easily in slicer but since the study started using our µCT and the software, a change is (in my opinion) not recommended.

What I want to achieve is to export all of the stapes which are in one big volume.
I have the label map and the ply models but I’m not able to figure out how to export all of them into separate DICOM series (or any other picture format like png, tiff).
There must be an easy way. I just didn’t find it jet. (But I look into the Data module of the nightly build )

Best Tobias

Dear Iassoan,

well yes all I need is to blank out the voxels outside the segment. :slight_smile:

I guess I really have all the necessary information about the data set in the label map and the ply models but i can’t figure it out how to achieve what I want. And maybe my approach is not the best, but it’s the way I want to do this ^^.

I tried to use the segmentation module to create a segment of one of the models.
The I used the data module to “right klick” and “export to DICOM” module.
But from there I cant export only the voxels inside the segmentation into a DICOM series of the greyvalues.

Many thanks so far

Best

To blank out areas of a volume, use Mask Volume effect in Segment editor (see https://www.youtube.com/watch?v=xZwyW6SaoM4 for a short tutorial).

Generic micro-CT software will not likely to understand DICOM-RT information objects (such as RTSTRUCT for storing segments) or DICOM segmentation objects, so you need to export the modified scalar volume as a CT volume, using Data module as @cpinter suggested. See step-by-step instructions here: https://www.slicer.org/wiki/Documentation/Nightly/Modules/DICOM#How_to_export_data_from_the_Slicer_scene_to_DICOM_files.

Thank you @lassoan,

using the segment editor is helpfull :slight_smile:

Best TMC