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-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu on behalf of Huang, Yujing YHUANG43@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 yhuang43@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_MxPaxqo4NGZ5ytczPBujdEVOKdh7sTk2xwvmj41... 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-bounces@nmr.mgh.harvard.edu freesurfer-bounces@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_fMJq7OlQL4JNs51U7TN49fODxywFGpKc2iUh...