After MRI Dicom file registration ... How to export this registration file in DICOM format

Hello :wave::wave:
Please, can help me to how export DICOM format after the two mri sequence Images registration.

I mean in my question
I want to get Dicom new registration images separately from move and fix image …to help with the clinical process

DICOM spatial registration object export is provided by SlicerRT extension. It supports both rigid and deformable transforms.

You can right-click on the transform in Data module, verify that the export type is REG... and choose Export to DICOM then click Export.

If REG... export type is not offered then the registration tool that you used did not set the fixed and moving image reference. You can do this by copying these few lines into the Python console (update the node names according to actual volume and transform node names in your scene):

transform = getNode('Transform')
fixedVolume = getNode('MRBrainTumor1')
movingVolume = getNode('MRBrainTumor2')
transform.SetNodeReferenceID(transform.GetMovingNodeReferenceRole(), movingVolume.GetID())
transform.SetNodeReferenceID(transform.GetFixedNodeReferenceRole(), fixedVolume.GetID())

All this is a bit clunky, but the need for DICOM spatial registration object so rarely comes up that we did not spend much time making this feature more convenient.

1 Like