External Email - Use Caution
External Email - Use Caution
The output for the orig.mgz is:
Volume information for orig.mgztype: MGHdimensions: 256 x 256 x 256voxel sizes: 1.000000, 1.000000, 1.000000type: UCHAR (0)fov: 256.000dof: 0xstart: -128.0, xend: 128.0ystart: -128.0, yend: 128.0zstart: -128.0, zend: 128.0TR: 7.00 msec, TE: 0.00 msec, TI: 0.00 msec, flip angle: 0.00 degreesnframes: 1PhEncDir: UNKNOWNFieldStrength: 0.000000ras xform presentxform info: x_r = -1.0000, y_r = 0.0000, z_r = 0.0000, c_r = 2.6149: x_a = 0.0000, y_a = 0.0000, z_a = 1.0000, c_a = 18.2086: x_s = 0.0000, y_s = -1.0000, z_s = 0.0000, c_s = 4.6564
talairach xfm : /home/victor/Processing/Finished_dev2019/25570_S4131FQU_SENSE/mri/transforms/talairach.xfmOrientation : LIAPrimary Slice Direction: coronal
voxel to ras transform:-1.0000 0.0000 0.0000 130.61490.0000 0.0000 1.0000 -109.79140.0000 -1.0000 0.0000 132.65640.0000 0.0000 0.0000 1.0000
voxel-to-ras determinant -1
ras to voxel transform:-1.0000 0.0000 -0.0000 130.6149-0.0000 -0.0000 -1.0000 132.65640.0000 1.0000 0.0000 109.7914-0.0000 -0.0000 -0.0000 1.0000
I use mri_convert to create a .nii. I have an ASL image that is registered exactly like it. Here is the output for the asl nifti.
Volume information for test.nii.gztype: niidimensions: 256 x 256 x 256voxel sizes: 1.000000, 1.000000, 1.000000type: FLOAT (3)fov: 256.000dof: 0xstart: -128.0, xend: 128.0ystart: -128.0, yend: 128.0zstart: -128.0, zend: 128.0TR: 9345.59 msec, TE: 0.00 msec, TI: 0.00 msec, flip angle: 0.00 degreesnframes: 1PhEncDir: UNKNOWNFieldStrength: 0.000000ras xform presentxform info: x_r = -0.9990, y_r = 0.0435, z_r = -0.0046, c_r = 1.8094: x_a = -0.0217, y_a = -0.4021, z_a = 0.9153, c_a = -11.3674: x_s = -0.0379, y_s = -0.9145, z_s = -0.4027, c_s = -9.1954Orientation : LIAPrimary Slice Direction: coronal
voxel to ras transform:-0.9990 0.0435 -0.0046 124.7114-0.0217 -0.4021 0.9153 -74.2729-0.0379 -0.9145 -0.4027 164.26930.0000 0.0000 0.0000 1.0000
voxel-to-ras determinant -1
ras to voxel transform:-0.9990 -0.0217 -0.0379 129.21180.0435 -0.4021 -0.9145 114.9404-0.0046 0.9153 -0.4027 134.7101-0.0000 -0.0000 -0.0000 1.0000
Transforming the test.nii.gz into a mgz loses its registration to do the orig.mgz.
Victor ZengBeth Israel Deaconess Medical CenterKeshavan Lab--
From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Douglas N. Greve <dgreve@mgh.harvard.edu>
Sent: Thursday, May 5, 2022 4:36 PM
Subject: [External] Re: [Freesurfer] Reversing mri_convertWhat does "isn't displaying the same i/j/k ras" mean? In what tool? What is the result of running mri_info on each volume?
On 5/5/2022 4:54 AM, Zeng, Victor (BIDMC - Keshavan - Psychiatry) wrote:
External Email - Use Caution
For some reason it isn't displaying the same i/j/k ras. The T1 and the registered image (ASL) is in the same dimension/voxel sizes. The TR is different at 7ms (T1) vs ~9000ms (ASL). When I try mri_convert -tr 7 asl.nii asl.mgz, it doesn't change the incorrect i/j/k ras matrix
Victor ZengBeth Israel Deaconess Medical CenterKeshavan Lab--
From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of falk.luesebrink@med.ovgu.de <falk.luesebrink@med.ovgu.de>
Sent: Thursday, May 5, 2022 4:17 AM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Subject: [External] Re: [Freesurfer] Reversing mri_convertExternal Email - Use Caution
Hi Victor,
in case you used mri_convert like this only, there is no change in orientation or spacing between orig.mgz and T1.nii. So, whatever you registered to the T1.nii should also be in space of the orig.mgz.
Best,
Falk
...............................................
[MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://urldefense.com/v3/__http://secure-web.cisco.com/1bMxxPB2IQvUkA27JpoN6uYF_qZIvBhG7A1lEk_pEPVLjceSNqAuh2ELQrVXqmNwDxO-gqw8L1AEdbpyg24KUrplVS1nVMpzDvZMnLlMlxDizz858uiYsVJw3j_eJAy3F8ROeMbQQGdCNQdGmudIjjmSP-DmuF6zEpoivRhwTB0E-WM34a9y1lhuAPv-VfV01N0gdTr1Xu0mAeJ3pD89NxapxypjmT7CmixQuxq7DTT7jBhVsiWkIKPyDpRhTYXFDyhcmx2miIgf8JZXKyLUXTZiFip_eG0Rh9fS0KS7VC72MB4ubvSdGrS9rptNnBeE85QA02JCM-cayZ2SoocYUMw/http*3A*2F*2Fwww.med.ovgu.de*2Funimagdeburg_mm*2Fummd_focus.gif__;JSUlJSU!!CvMGjuU!rHiQafTzmK0wTaLT_IjY-1kM4Fz9OLO4DEJabDexgR3JTcK7u_-hgWR5knK0sqZ3In85pA$ ]
Universitätsklinik für Neurologie
Otto-von-Guericke-Universität Magdeburg
Medizinische Fakultät
Leipziger Str. 44
39120 Magdeburg
Telefon: +49-391-6117-512
falk.luesebrink@med.ovgu.de<mailto:falk.luesebrink@med.ovgu.de>
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://urldefense.com/v3/__http://secure-web.cisco.com/1Ot95tcBSI8NwAu9j3-MCi-WNazHI1x3J_Wd7KLcLqqDxbYOgUclzwlyOXOLYHH412QcBGDnXDUOxzgguWCcQel8L9ZaACvmWHS4zTEdK8m4QYnGS7xdkGY5RGp0vFAppqrzydZAf5JmpYcPyBnyWZKvGyEXVs4m-zIc-l0qYdee1xdYpnuNye9cAN_EA7WpEICaRtzUMDWnXay-IFvAa1sx-CEhdTWl_sspDuOZKqHB0SYGJ-szyMlAYGZFOOg42NNc91WEMisk0SlaKG7_cgfvjHUrowbBBNtrdR_lL3mwsJ8-Tq9I_Xgwp-2hdoPYS4GVMivfLvRmcMR4Gt4lZkA/http*3A*2F*2Fwww.kneu.ovgu.de*2Fkneu.html__;JSUlJQ!!CvMGjuU!rHiQafTzmK0wTaLT_IjY-1kM4Fz9OLO4DEJabDexgR3JTcK7u_-hgWR5knK0sqaFxGR3sg$
________________________________
Von: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> im Auftrag von Zeng, Victor (BIDMC - Keshavan - Psychiatry) <vzeng@bidmc.harvard.edu>
Gesendet: Donnerstag, 5. Mai 2022 10:09:26
An: freesurfer@nmr.mgh.harvard.edu
Betreff: [Freesurfer] Reversing mri_convert
External Email - Use Caution
Hi,
I convert orig.mgz -> T1.nii using mri_convert orig.mgz T1.nii
I now have something registered to the T1.nii and would like to move it back to Freesurfer space. How would you go about doing that? I am assuming I would do the inverse of the mri_convert, but I can't seem to find the option to write the matrix.
Victor Zeng
Beth Israel Deaconess Medical Center
Keshavan Lab
--
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://urldefense.com/v3/__https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer__;!!CvMGjuU!rHiQafTzmK0wTaLT_IjY-1kM4Fz9OLO4DEJabDexgR3JTcK7u_-hgWR5knK0sqZWI937sQ$
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 Mass General Brigham Compliance HelpLine at MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://urldefense.com/v3/__https://www.massgeneralbrigham.org/complianceline__;!!CvMGjuU!rHiQafTzmK0wTaLT_IjY-1kM4Fz9OLO4DEJabDexgR3JTcK7u_-hgWR5knK0sqYCZdtugA$ MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be <https://urldefense.com/v3/__https://www.massgeneralbrigham.org/complianceline__;!!CvMGjuU!rHiQafTzmK0wTaLT_IjY-1kM4Fz9OLO4DEJabDexgR3JTcK7u_-hgWR5knK0sqYCZdtugA$ > .
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer