Merging VTK model of Heart and DICOM


i need you help. I have a VTK model with scalars and DICOM series. Can you tel me if is possible to merge colour (scalars) to the DICOM series? Or maybe is sufficient to mark white voxels according to a specific color on the VTK map.

Can you anyone help me?
Honza H

Plese is here anyone who can help me? I need merge some properties of VTK map to the DICOM and export DiCOM

You can merge information and export to DICOM, so probably what you want is doable, but it is not clear what you are trying to achieve. Would you like to export to DICOM an image or a surface? What should it contain (can you attach a sketch or screenshot)? How do you plan to use the exported DICOM series? What software will import and use the created DICOM series?

Thank you for your message. Maybe i am far away than you though. I have dicom series of heart in 3D slicer and equally VTK map from carto with colormap (bipolar map). I want merge colormap or scar of map to the dicom series.
Is it possible? Screen or video i can show you tomorrow?

You can alter (paint inside) a volume by using Segment Editor modules’s Mask volume effect (provided by SegmentEditorExtraEffects extension). You can create segments by manually painting or placing markup points (e.g., using Surface Cut effect) or automatically (as shown in examples in the script repository).

I am at RSNA all week, but if you can join the Slicer hangout next Tuesday and you may also consider joining one of the Slicer Project weeks.

Ehm, do you think, that when i send you a model, you can show me a short video on some randomly heart CT?

You can find a video here that shows how to alter an existing volume using Mask volume and surface cut:

In the video, we set regions to intensity of air, essentially hiding/erasing them, but you can set intensity to a high value to make regions very visible.

If you are interested in automating the procedure then you can start from this example, which shows how to create sphere-shaped segments at specified anatomical positions.

I think that this is not that what i need. But i am not so experience like you. So i will try study that.

How do you envision to use the model in generating/modifying an image?

the model is used to bridge colors to DICOM, or depending on the model to highlight white pixels on DICOM so that this location can be focused by CyberKnife

Probably the easiest is to create a segmentation node and paint into it using Paint effect in segment editor (enable “Sphere brush”, “Edit in 3D views”, click “%” button to switch brush diameter setting to “mm” and set the desired size - e.g., 5mm). You can paint on 3D electrophysical map model and the points/strokes will be added to the segmentation (that is visible in 2D and can be shown in 3D by clicking “Show 3D”):

When you are done, use Mask volume effect to paste the segments into the volume (e.g., as very bright regions):

If the CyberKnife treatment planning system can load DICOM RT Structure Set or DICOM Segmentation Object then you don’t have to paste the targets into the volume but you can export the segmentation to a separate DICOM object.

Wow, i think that this is what i want :slight_smile: i try that and after that i report you. Ok?

1 Like