Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools:lncd_mni_2018 [2024/04/18 09:31] – create will | tools:lncd_mni_2018 [2024/04/18 10:17] (current) – 3dresample code will | ||
---|---|---|---|
Line 10: | Line 10: | ||
< | < | ||
+ | # 1mm -- actual MNI 2009c | ||
+ | | ||
+ | 193 229 193 1 | ||
+ | |||
# 2mm | # 2mm | ||
3dinfo -n4 -extent / | 3dinfo -n4 -extent / | ||
Line 19: | Line 23: | ||
83 99 | 83 99 | ||
84 100 84 1 -95.45 | 84 100 84 1 -95.45 | ||
+ | </ | ||
+ | |||
+ | In afni, you can see the viewer move the crosshair (coordinate says the same) and mask when the underlay is changed. \\ | ||
+ | {{: | ||
+ | |||
+ | |||
+ | And how it effects placement \\ | ||
+ | {{: | ||
+ | |||
+ | ===== 3dresample sufficient ===== | ||
+ | |||
+ | < | ||
+ | GOOD=/ | ||
+ | | ||
+ | 3dresample -inset $BAD -master $GOOD -overwrite -prefix mni_lncd_in_09c.nii.gz | ||
+ | |||
+ | 3dBrickStat -max " | ||
+ | # 9.36876 # border | ||
+ | |||
+ | fixto1809c $BAD -out mni_lncd_in_09c_flirt.nii.gz | ||
+ | 3dBrickStat -max " | ||
+ | # 9.36876 | ||
+ | |||
+ | 3dcalc -g $GOOD -b mni_lncd_in_09c.nii.gz -expr ' | ||
+ | afni -com ' | ||
</ | </ | ||
+ | {{: |