CoBrALab / atlases

Segmentations of Neuroanatomy on Hi-Res T1 and T2 MRIs and publicly available population averages in MNI space
Other
27 stars 18 forks source link

Mismatched dimensions #11

Closed EtienneAumont closed 4 years ago

EtienneAumont commented 4 years ago

Hi,

I'm trying to overlay the hippocampus label files on the T2 image using ITK-Snap on MacOS. However, the labels cannot be loaded because they are of a different size than the T2 main image. Eg. brain 1 is 523x631x540 while the labels are 489x734x734.

How can I load the labels on the T2?

Thanks - Étienne

gdevenyi commented 4 years ago

Hi,

The official release files are in MINC format and the MINC viewers don't care about this (Display and register).

You can reshape the T2 like the T1 with something like antsApplyTransforms (without a transform) for software which does not support generalized image display.

antsApplyTransforms -d 3 -i brain2_t2.nii.gz -r brain1_t1.nii.gz -o brain2_t2_reshape.nii.gz --verbose