-
Hello, I'm trying to register time-of-flight (TOF) angiography scans with T1s collected at 3T and 7T on a high-performance computing cluster. The resolution of the TOF scans is 0.28 mm isotropic, and that of the T1s is 0.7mm isotropic. I first tried to register the TOF to the raw T1, but the TOF was getting downsampled to the T1 resolution. To get around this, I resampled the T1 to the TOF resolution using However, antsRegistrationSyNQuick.sh is running out of memory. I have tried allocating 20g of memory. I have set
This is the command I'm using (all defaults):
Do you have any suggestions for how I might get this to work? Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Do you need the registration to happen at the 0.28mm resolution? Or you just want your deformed image to have that spacing? If the latter, you can do the registration using the T1w as the fixed image, then separately run If you're aligning different modalities collected on the same brain, a lower-resolution warp, global affine, or even a rigid transform might be sufficient. Are there non-rigid distortions between the images? How detailed are they? It might be possible to well approximate them with a lower resolution deformation field, which will save memory. General ways to save memory:
|
Beta Was this translation helpful? Give feedback.
Do you need the registration to happen at the 0.28mm resolution? Or you just want your deformed image to have that spacing?
If the latter, you can do the registration using the T1w as the fixed image, then separately run
antsApplyTransforms
with your upsampled T1w as the reference image (-r
), and you will get deformed TOF images at the higher resolution.If you're aligning different modalities collected on the same brain, a lower-resolution warp, global affine, or even a rigid transform might be sufficient. Are there non-rigid distortions between the images? How detailed are they? It might be possible to well approximate them with a lower resolution deformation field, which will save memory.