This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
neuroimagen:pgs [2022/01/29 09:50] osotolongo [comparando] |
neuroimagen:pgs [2022/05/10 09:20] osotolongo [comparando] |
||
---|---|---|---|
Line 151: | Line 151: | ||
plot(w$WM.hypointensities, | plot(w$WM.hypointensities, | ||
abline(wl$coefficients[1], | abline(wl$coefficients[1], | ||
- | text(2500, | + | text(2500, |
dev.off() | dev.off() | ||
Line 159: | Line 159: | ||
{{: | {{: | ||
+ | |||
+ | ===== WMH on tracts ===== | ||
+ | |||
+ | **Nota:** El T1 original no se registra bien a espacio MNI (o viceversa). Hay que usar el T1 preprocesado de FS. | ||
+ | |||
+ | <code bash> | ||
+ | [osotolongo@brick03 output]$ mri_convert --in_type mgz --out_type nii --conform / | ||
+ | |||
+ | [osotolongo@brick03 output]$ fslreorient2std 0020_tmp 0020_struct | ||
+ | |||
+ | [osotolongo@brick03 output]$ antsRegistrationSyNQuick.sh -d 3 -t s -f 0020_struct.nii.gz -m / | ||
+ | |||
+ | [osotolongo@brick03 output]$ antsRegistrationSyNQuick.sh -d 3 -t s -f 0020_struct.nii.gz -m / | ||
+ | |||
+ | [osotolongo@brick03 output]$ antsApplyTransforms -d 3 -i 0020_WMH.nii.gz -r 0020_struct.nii.gz -t 00020_T12struct_warp_1Warp.nii.gz -t 00020_T12struct_warp_0GenericAffine.mat -n GenericLabel -o 0020_WMH_in_struct.nii.gz | ||
+ | |||
+ | [osotolongo@brick03 output]$ antsApplyTransforms -d 3 -i / | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{: |