External Email - Use Caution It should not be that pixelated. My guess is that slicer is doing some kind of smart interpolation to make it look better. One way around it would be to map your input to the conformed space and run mri_segstats on that

On 7/6/2023 3:57 PM, Fahad Hannan wrote:

        External Email - Use Caution

Hi,

Just to follow up, is there a way to retain the segmentation quality? It becomes pixelated when returning to native space. Is there a method similar to how I can load the wmparc.mgz + my volume into 3DSlicer and they overlap perfectly despite the wmparc being in freesurfer space. I'm trying to find a better way to get segmentation based stats without the use of 3Dslicer which can be tedious. I've attached images showing the difference.

Regards,
Fahad
------------------------------------------------------------------------
*From:* freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Huang, Yujing <yhuan...@mgh.harvard.edu>
*Sent:* Wednesday, July 5, 2023 9:53 AM
*To:* Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
*Subject:* Re: [Freesurfer] mri_segstats dimension mistach

        
You don't often get email from yhuan...@mgh.harvard.edu. Learn why this is important <https://secure-web.cisco.com/1FlZ3eZ2o-ed6fIFJnqqtuLDnRCuzlu6cb0hSlSIcP2w-1m9TOaLDYfURfAg8lH0Y91gSyyg5Vt11zhHCWMkyIj3XGr7_yfT04qEU9P8N8IVxYpjbxAbBwcww44Fd73hNDbq7OBGLkAfqeXeDa30PUZAPKajGC2KXL_bVBL7ctF47zeSEKeucR1opdNBCB1KVcT-wpr_IG1yupQ_sKHgFgomACHriINTG49knzL18JkyhK7unTzRkzL_INQqscblGxaWqrGa6_pl3RY0vwAE3ucsdNyh_WNRCapyb4lOuMG5gbDoh4YHwdEA-rrHf9HuYOyg19ca6TrehG4dRgNy2EQ/https%3A%2F%2Faka.ms%2FLearnAboutSenderIdentification>
        

        External Email - Use Caution

Hi Fahad,

Here is the wiki page about how to Convert from FreeSurfer Space Back to Native Anatomical Space  - *MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* https://secure-web.cisco.com/1PaHYdg_MxPaxqo4NGZ5ytczPBujdEVOKdh7sTk2xwvmj416d5EenaE48YGuIjT5DA_YGzI1lE_v7XHoA4OIpuxxIyOA4ZjXYKXwGYa2PL8EhjtxRrqAUt4ToduQxTuMFnQau4Dv7-p1ltPOf7eDMrLz7UIWf5Zqz2Y7eryRIfeF7L2itYS_92UaWuMbeCBTGSFEG2y7QHzkf0qPZGhPzjoCRoHp_jCuVfQogSJzYuMM2Fgx29A-7IgM0t7pslbkTr6zwc05-v0nfHQcRg3r43A/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFsAnat-to-NativeAnat <https://secure-web.cisco.com/1SH-F86njclC8pQKcB6nkwsqK8lnEDnPON_A24-6CmCwRHC_v0s6AwvY_foOYGXPrbz_PgXgmdPkQnHYy_AMudJENZoBcBNcrqdJGYd-N6ZKQjjSH-gzCI5Dq5ZHU2wFNKxRh944qf6UZNgqhb4s_XDC669KdGDt4GGk_mpnPRMKrIRyGvLfJb8vKw02AHSq1SM528T730feGzUsjm9FM5CgiF3QW5mg-UlGeOlPUDGd9xvS0cKt60Wny7zkFNwJMyH553-KKUKzzeyOvA09Wnw/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFsAnat-to-NativeAnat>

Best,

Yujing

*From:* freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *Fahad Hannan
*Sent:* Monday, July 3, 2023 3:05 PM
*To:* freesurfer@nmr.mgh.harvard.edu
*Subject:* [Freesurfer] mri_segstats dimension mistach

*        External Email - Use Caution *

Hello,

I'm trying to run the mri_segstats on different input volume. The input volume has the same dimensions as the original volume used to perform recon-all. However, when trying to use the following command:

"mri_segstats --seg $SUBJECTS_DIR/P6V1/mri/wmparc.mgz --sum $SUBJECTS_DIR/P6V1/stats/T2lobestest.stats --id 3201 4201 3203 4203 3204 4204 3205 4205 3206 4206 3207 4207 --in T2_Map.nii.gz --in-intensity-name norm --in-intensity-units MR --etiv --subject P6V1 --surf-wm-vol --ctab $FREESURFER_HOME/FreeSurferColorLUT.txt"

I get a dimension mismatch error:

ERROR: dimension mismatch between input volume and seg

  input 112 112 80

  seg   256 256 256

Seems like during the recon-all process, freesurfer changed the dimensions of the segmentation file to 256 256 256. Is there a way I can resample the segmentation file to the input files dimensions, I know I can resample the input to the norm.mgz file but I do not want to tamper with the input file.

Thanks,

Fahad


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1SE5PRg4ws_fMJq7OlQL4JNs51U7TN49fODxywFGpKc2iUhaOVYO8873DAuDEWVZAqNKheQ-Kpml63wcXjTutfRCm0xAbOrvaekmqFJypQXiVGkGYgKj29eE58IxenQE8aU3L6Ex0tPPs-XNJ3odWkNFNFkin4woX23mcTSA3UXR6hvXPxtNviVqZhGPyBhAoCYITKVmrZOoCGuKa-6SOtG9oE7hHvcT3OELzm4nIyJ_-zBpxhhyhH0eLf1wpTo-9bvM5kW_gUvwTrNFyQVvViA/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
_______________________________________________
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to