Re: [Freesurfer] Cortical parcellation showing dots

2024-03-07 Thread Hyunchul Lee
External Email - Use Caution

Yes, it looks fine to me
Those dots seem to lie on the pial surface

On Thu, Mar 7, 2024, 10:07 PM Douglas N. Greve 
wrote:

> Have you looked at the actual surface?
>
> On 3/7/2024 2:29 AM, Hyunchul Lee wrote:
>
> External Email - Use Caution
> Hello,
> I'm using Freesurfer recon-all to create reconstructions to use with
> MNE-python for source estimation of SEEG data. My work relies on having
> correct labeling of segmentation data. For most cases, there has been no
> trouble but I am having trouble where the cortical parcellation shows up as
> dots in one hemisphere. Please see image attached. I also noticed that the
> lh.ribbon.mgz is also 'dotty' (also attached). There is no issue with the
> right hemisphere. This reconstruction was not manually edited, but only
> recon-all was used.
>
> I have tried using mris_volmask --label_left_ribbon, setting the argument
> to various values. That didn't work that great - reducing to 0 basically
> whites everything out except for the white matter on the ipsilateral
> hemisphere and anything 1 or more produces the same 'dots'. Interestingly
> the pial and wm surfaces all look ok. Also, I am not sure if creating the
> correct ribbon.mgz is going to fix the aparc.a2009+aseg file.
>
> I would really appreciate your advice.
>
> Best regards,
>
> *Hyunchul Lee*  MBBS PhD
>
> ___
> Freesurfer mailing 
> listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://secure-web.cisco.com/1_qngHgnIXXaLUJMegUyNQvKr4XQPNHtebLlFqn1mcfYS3tsajrOEk6JgszQ1fc2R6qFdNqMnpqG09V7I7C7IleMg4jcU1TW8tEivMyrhpMjvIdCTVE3pGppbi3uu3FkvkNMWCfHwcPE9wnwBiTgyqqxsB-YZr1d5-3KSZ8UgFWw7u14Yzx_0tCRQz--exUr-Ym0c4EoVRWFvR24M0vFAkIylKdpyHcUFeEumShGXcW6ql1ZVJsJFWfE_oMQB08PUr1GE-RDFy6v_-zSjGrwq451DFeGVfA85BsU8du-uZ2_VceE7w5TdKX4chAunIRUZOSxb2-4UXan0WHX24EO83w/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
> 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://secure-web.cisco.com/17tXD8icr3R6VE3cwvDvlr4diep7UgIV_i8fbM-ukTaC8tXXT29Z6rUX1vZnqZdNjz3U7YpY_kCfrkME-9qPo6hMEJRQAc-XKm971UHk0lnNI55KfCuoBNogH1Tp3otWKpadmmJWx87oII0QfbWoPsboE5gjyTXNcqnZdo5QRc3I9OoJuR5bHXezJVmpxL19gM1FPFOkXKpZUo5PrldgO-wuEXVSxeS0LT7_Zpnu4R0wb7NgIqiTVZcOPkMiS0hpdnMqoz1dJyph6lMnvvOFMWlxD4QzANaQW62fZS0Dszr9J5ctMT0DlYhfrplWKrOyc6pgYqyXPr0-i_CKmsyAG4A/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline
>  <
> https://secure-web.cisco.com/17tXD8icr3R6VE3cwvDvlr4diep7UgIV_i8fbM-ukTaC8tXXT29Z6rUX1vZnqZdNjz3U7YpY_kCfrkME-9qPo6hMEJRQAc-XKm971UHk0lnNI55KfCuoBNogH1Tp3otWKpadmmJWx87oII0QfbWoPsboE5gjyTXNcqnZdo5QRc3I9OoJuR5bHXezJVmpxL19gM1FPFOkXKpZUo5PrldgO-wuEXVSxeS0LT7_Zpnu4R0wb7NgIqiTVZcOPkMiS0hpdnMqoz1dJyph6lMnvvOFMWlxD4QzANaQW62fZS0Dszr9J5ctMT0DlYhfrplWKrOyc6pgYqyXPr0-i_CKmsyAG4A/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>
>  .
>
___
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. 


[Freesurfer] Help with transform matrix for SEEG

2023-12-10 Thread Hyunchul Lee
External Email - Use Caution

Hello,
I've just started using Freesurfer this week and I'm quite confused about
coordinate systems.
Specifically, I have SEEG electrode locations that have been digitized in
MRI RAS space, and I'm trying to apply a transform matrix so that these
electrodes will be registered with the same brain that I performed
recon-all on using Freesurfer, so that I can do further analysis in MNE
python.

I understand that voxel space to MRI RAS space transform matrix is stored
in vox2ras and the transform for voxel space to Freesurfer's surface RAS is
in vox2ras_tkr of T1.mgz in my subject folder. Since the electrodes are in
MRI RAS space, I am applying a transform matrix that is a matrix product of
inverse(vox2ras) and vox2ras_tkr. However, this doesn't work out in real
life, and I end up with electrodes half way outside the head.

Am I using the correct matrices? Also, T1.affine appears similar to vox2ras
but very slightly different. Just hoping that there would be an easier
way..
Best regards,

*Hyunchul Lee*  MBBS PhD
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer