Operating system: Windows 10
Slicer version: 4.11.20210226
Expected behavior: Two DICOM-Sets of different size are registered with landmark registration and one DICOM-Set with both combined is exported.
Actual behavior:
I have one DICOM-Set of a Calf and one of a Foot. They have different resolutions and sizes (Foot 512x512, calf 384x384). If i use landmark registration it first seems perfect in the preview. I used Affine registration and the rigid registration mode. Then i go to resample image (BRAINS) select the image to warp and the reference image, with the pixel type im unsure so i left it at float. Next i select under warping parameters the transform file transform, which is the only one i get, interpolation mode to linear and apply. But now it dosent look like the preview anymore, the warped DICOM seems like randomly thrown on the reference DICOM and everthing of the warped DICOM which is not in the dimensions of the reference DICOM just gets cut. Please help me on how to get the DICOM like it is shown in the preview of the registration or if you have any different approach let me know, i would be happy to learn. Thank you in advance!
Hi -
What you can try is CropVolume to make a new volume that’s big enough to hold both the foot and the calf. Then harden the transform you on the volume from Landmark Registration and use the Add Volumes to make a new composite. If there’s overlap you can trim one volume or the other with CropVolume.
Hey piper,
first of all thank you! I had the project on hold so please excuse my late response. To harden the transform was the missing step i was looking for.
For anybody else who has a similar problem, here is how i did it:
Change one volume to be larger and so accommodate for second DICOM-Set
Volume Rendering – create new ROI->save
Converters->Crop volume->newROI as input ROI->save
3D Slicer: Volume Rendering and ROI's - YouTube, Merge dicom or nrrd or nii images, Padding a volume with CropVolume requires "Interpolated Cropping"
Landmark registration fixed volume is new enlarged volume, moving volume is the other DICOM
Use as few landmarks as possible. The last row is a live preview of the transformation.
Harden transform with Transforms module
https://slicer.readthedocs.io/en/latest/user_guide/modules/transforms.html
Combine volumes of transformed and enlarged DICOMs with Add Scalar Volumes module
thanks again Piper