Skip to content

antsRegistrationSyNQuick.sh running out of memory #1582

Answered by cookpa
mrinmayik asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mrinmayik
Comment options

@cookpa
Comment options

@mrinmayik
Comment options

Answer selected by mrinmayik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants