If you want to save it on label format, then mri_cor2label is the right way to go. Make sure to use the --surf option. If you want them in separate mgz files, then use mri_binarize with --match

On 6/12/20 7:35 PM, Mason Wells wrote:

        External Email - Use Caution

Hi Doug,

Yes, I mean a surface overlay, it is the mgz format. It essentially has 25 visual areas, shown in the attached. I wanted to split them up, so that each ROI is its own label. I saw I could use mri_cor2label, but is there a better way?

Cheers,
Mason

*Mason T Wells, MSc*

*PhD student*

School of Optometry and Vision Sciences

& Cardiff University Brain Research

Imaging Centre (CUBRIC), School of Psychology

Cardiff University

Cardiff

CF24 4HQ

UK

*/Email/*: wells...@cardiff.ac.uk <mailto:wells...@cardiff.ac.uk>

*/Tel/*: 02920 879628

*/Web/*: Cardiff University webpage <https://www.cardiff.ac.uk/people/research-students/view/974214->

        

*Mason T Wells, MSc*

*Myfyriwr PhD*

Yr Ysgol Optometreg a Gwyddorau’r Golwg

& Canolfan Ymchwil Delweddu’r Ymennydd Prifysgol Caerdydd (CUBRIC), Yr Ysgol Seicoleg

Prifysgol Caerdydd

Heol Maindy

Caerdydd

CF24 4HQ

DU

*/E-bost/*: wells...@caerdydd.ac.uk <mailto:wells...@caerdydd.ac.uk>

*/Ffôn/*: 02920 879628

*From: *<freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of "Douglas N. Greve" <dgr...@mgh.harvard.edu>
*Reply to: *Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
*Date: *Friday, 12 June 2020 at 15:44
*To: *"freesurfer@nmr.mgh.harvard.edu" <freesurfer@nmr.mgh.harvard.edu>
*Subject: *Re: [Freesurfer] Splitting surface overlay into separate files

When you say "surface" do you mean a surface overlay or a surface with xyz and neighbor relations? Assuming you mean an overlay (eg, something in an mgh or mgz file), you can try fscalc. Or do you have 25 frames  in a single file and you want to split them into separate files? You might be able to convert the mgh/mgz file to nii and use FSL tools and then convert them back (sometimes works, sometimes not)

On 6/12/2020 10:24 AM, Mason Wells wrote:

    *        External Email - Use Caution *

    Hi Experts,

    Apologies if this is a rather simple question. Is there a
    FreeSurfer equivalent of fslmaths? I have an atlas overlay that
    has 25 visual areas in a single .mgz file. I want to separate each
    atlas region into a different file, so that I end up with 25
    surface atlas regions. Is there a command that could achieve this?

    My next question is whether or not there is a Freesurface command
    that can be used to complete surface based correlations. For
    example, if I want to check for the overlap between two ROIs. I
    have been using fslcc to do this in the volume, but perhaps
    freesurfer has something similar to do this on the surface?

    Cheers,

    Mason

    *Mason T Wells, MSc*

    *PhD student*

    School of Optometry and Vision Sciences

    & Cardiff University Brain Research

    Imaging Centre (CUBRIC), School of Psychology

    Cardiff University

    Cardiff

    CF24 4HQ

    UK

    */Email/*: wells...@cardiff.ac.uk <mailto:wells...@cardiff.ac.uk>

    */Tel/*: 02920 879628

    */Web/*: Cardiff University webpage
    <https://www.cardiff.ac.uk/people/research-students/view/974214->

        

    *Mason T Wells, MSc*

    *Myfyriwr PhD*

    Yr Ysgol Optometreg a Gwyddorau’r Golwg

    & Canolfan Ymchwil Delweddu’r Ymennydd Prifysgol Caerdydd
    (CUBRIC), Yr Ysgol Seicoleg

    Prifysgol Caerdydd

    Heol Maindy

    Caerdydd

    CF24 4HQ

    DU

    */E-bost/*: wells...@caerdydd.ac.uk <mailto:wells...@caerdydd.ac.uk>

    */Ffôn/*: 02920 879628



    _______________________________________________

    Freesurfer mailing list

    Freesurfer@nmr.mgh.harvard.edu  <mailto:Freesurfer@nmr.mgh.harvard.edu>

    *MailScanner has detected a possible fraud attempt from
    "eur03.safelinks.protection.outlook.com" claiming to be*
    https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer  
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer&data=02%7C01%7CWellsMT1%40cardiff.ac.uk%7C2cc182d0329f46ad8b0b08d80edf1c1e%7Cbdb74b3095684856bdbf06759778fcbc%7C1%7C0%7C637275698698058308&sdata=wRFT5fuvG7ejUfN6F%2FKCn1Uw29LaO%2BOkil5i6vCwPlk%3D&reserved=0>




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

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

Reply via email to