Hi al, Just wondering if anyone has any suggestionsto my previous question as to why the volume from mni152 space would be rotated, even though the MNI152 to subject T1 alignment looks good?

As a recap, here are my commands:

  mni152reg --s ${subject} --1

tkregister2 --mov ${subj_dir}/mri/mni152.orig.mgz --targ /usr/share/fsl/5.0/data/standard/MNI152_T1_1mm_brain.nii.gz --reg ${reg_file}

   mri_vol2vol --mov ${subj_dir}/mri/orig.mgz --targ /home/Documents/thalamus/AtlasMNI152/left-vols-1mm/global.nii.gz --reg ${reg_file} --inv --o ${out_dir}/lh_global.nii.gz

tkmedit -f subject/mri/orig.mgz -aux ${out_dir}/lh_global.nii.gz -ov ${out_dir}/lh_global.nii.gz -fminmax .5 1



On Thu, Apr 20, 2017 at 2:31 PM, Corinna Bauer <corinnab83@gmail.com> wrote:
Great, thank you!

There seems to be a registration error getting the label from MNI into subject space, even though the MNI152 1mm and the subject line up well in tkregister2. Attached are two images, the first is the MNI152_1mm brain with the label overlaid, and the second is a sample subject with the same label overlaid. After running the following commands:


    mni152reg --s ${subject} --1

tkregister2 --mov ${subj_dir}/mri/mni152.orig.mgz --targ /usr/share/fsl/5.0/data/standard/MNI152_T1_1mm_brain.nii.gz --reg ${reg_file}

   mri_vol2vol --mov ${subj_dir}/mri/orig.mgz --targ /home/Documents/thalamus/AtlasMNI152/left-vols-1mm/global.nii.gz --reg ${reg_file} --inv --o ${out_dir}/lh_global.nii.gz

tkmedit -f subject/mri/orig.mgz -aux ${out_dir}/lh_global.nii.gz -ov ${out_dir}/lh_global.nii.gz -fminmax .5 1



Inline image 4Inline image 3

On Thu, Apr 20, 2017 at 11:09 AM, Douglas N Greve <greve@nmr.mgh.harvard.edu> wrote:
You can use mri_segstats passing newoutputfile as the --seg


On 04/19/2017 06:47 PM, Corinna Bauer wrote:
> Dear all,
>
> I have a series of .vtk files in MNI152 1mm space from an external
> thalamus atlas outlining specific thalamic nuclei. I would like to put
> these into native subject space and calculate the volume from each nuclei.
>
> I would imagine that I would do the following:
>
> 1. run mni152reg --s --1 on each subject
> 2. mri_vol2vol --mov mni152space_atlas_file.nii.gz -- targ
> subject/mri/orig.mgz --reg subject/mri/mni152.orig.mgz.reg --inv --o
> newoutputfile_subject_space
>
> But then I am not certain how to calculate the volume of the new
> output file.
>
> Suggestions?
>
> Thanks!
>
> Corinna
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

--
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.