Hello,
i would like to ask you, how can i create and save volumes (DICOM data) from 3D model saved in *.obj file.
Thank you
Selector
Hello,
i would like to ask you, how can i create and save volumes (DICOM data) from 3D model saved in *.obj file.
Thank you
Selector
Hi,
There are several ways to do this; here’s one straightforward but not so efficient one… (Assuming I understand what you want to do (create voxel volume from a polygonal surface))
Install the Image Maker extension from the extensions manager, and create a volume by defining a resolution, and set the origin/spacing such that all the coordinates of your *.obj will be contained within it.
Import your *.obj into Slicer as a Model.
Create a segmentation using the “Segmentations” module
Navigate to the “Export/import models and labelmaps” drop-down in this module. Select “import” and “models” and select the model that you imported earlier.
Go to the “Segment editor” module. Select your segment.
Use the “Mask volume” function and fill inside your segment with some value.
If your model consists of a bunch of components, separate it into individual components and repeat this. If the components need to overlap, start with the outermost and work inward.
And then export your final volume as DICOM
In most recent nightly builds you can do it even simpler: