Hi Bruce, It doesn’t look like I have those operations. If you could provide me with a copy of the dev version of the function I would very much appreciate it.
Best, Derek ________________________________________ Derek Sayre Andrews, MSc PhD Candidate The Sackler Institute for Translational Neurodevelopment Department of Forensic and Neurodevelopmental Sciences Institute of Psychiatry, Psychology & Neuroscience, King's College London Telephone: +44 (0)20 7848 5701 Email: derek.andr...@kcl.ac.uk On 28/10/2016 15:53, "Bruce Fischl" <fis...@nmr.mgh.harvard.edu> wrote: >Hi Derek > >I think the dev version of mri_label2label supports >open/close/dilate/erode >operations: > >mri_label2label --help >USAGE: mri_label2label.bin > > --srclabel input label file > > --erode N erode the label N times before writing > --open N open the label N times before writing > --close N close the label N times before writing > --dilate N dilate the label N times before writing > . >. >. > >if your version doesn't have these operations let us know and we can get >you an updated one > >cheers >Bruce > > > >On Fri, 28 Oct 2016, >Andrews, Derek wrote: > >> Hi Bruce, >> >> As always thank you for your prompt reply. >> >> For the morphological close operation, would you suggest using mris_fill >> on the surface ROI I created and then running mri_vol2surf again on the >> volume output by mris_fill? >> >> Best, Derek >> >> >> ________________________________________ >> Derek Sayre Andrews, MSc >> PhD Candidate >> >> The Sackler Institute for Translational Neurodevelopment >> Department of Forensic and Neurodevelopmental Sciences >> Institute of Psychiatry, Psychology & Neuroscience, King's College >>London >> >> Telephone: +44 (0)20 7848 5701 >> Email: derek.andr...@kcl.ac.uk >> >> >> >> >> >> On 28/10/2016 14:54, "Bruce Fischl" <fis...@nmr.mgh.harvard.edu> wrote: >> >>> p.s. you could remove many/most of these holes using a morphological >>> close operation >>> On Fri, 28 Oct 2016, Andrews, Derek wrote: >>> >>>> Hello Freesurfer Developers and Community, >>>> >>>> I am looking to map a ROI.nii based on the MNI152 template to the >>>> fsaverage >>>> pial surface. >>>> >>>> I have used the following commands >>>> >>>> Bbregister ‹s fsaverage ‹mov MNI152.nii ‹reg register.dat ‹init-fsl >>>>‹12 >>>> ‹t1 >>>> >>>> Then >>>> >>>> mri_vol2surf ‹src ROI.nii ‹out ROI.mgh ‹srcreg register.dat ‹hemi lh >>>> >>>> The ROI appears to be in the right place however is very blotchy. >>>>Have I >>>> missed a step? Or is this correct? >>>> >>>> See bellow a picture of the ROI highlighted in FSL and in tksurfer >>>>after >>>> mapped using the above. >>>> >>>> Thank you for your support, >>>> >>>> Best, Derek >>>> >>>> [IMAGE] >>>> >>>> >>>> >>>> >>>> >>>>_______________________________________________________________________ >>>>__ >>>> ___ >>>> >>>> Derek Sayre Andrews, MSc >>>> PhD Candidate >>>> >>>> The Sackler Institute for Translational Neurodevelopment >>>> >>>> Department of Forensic and Neurodevelopmental Sciences >>>> >>>> Institute of Psychiatry, Psychology & Neuroscience, King's College >>>> London >>>> >>>> Telephone: +44 (0)20 7848 5701 >>>> Email: derek.andr...@kcl.ac.uk >>>> >>>> >>>> >>>> _______________________________________________ >>> Freesurfer mailing list >>> Freesurfer@nmr.mgh.harvard.edu >>> >>>https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail. >>>nm >>> >>>r.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer&data=01%7C01%7Cderek >>>.a >>> >>>ndrews%40kcl.ac.uk%7C65ef7af2f2c1455a461a08d3ff3a0395%7C8370cf1416f34c16 >>>b8 >>> >>>3c724071654356%7C0&sdata=liaieNpnjB7M4w9favIeZ9B0ZrooUbfDThLvJxmbcuo%3D& >>>re >>> served=0 >>> >>> >>> 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 Partners Compliance >>> HelpLine at >>> >>>https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pa >>>rt >>> >>>ners.org%2Fcomplianceline&data=01%7C01%7Cderek.andrews%40kcl.ac.uk%7C65e >>>f7 >>> >>>af2f2c1455a461a08d3ff3a0395%7C8370cf1416f34c16b83c724071654356%7C0&sdata >>>=% >>> 2F%2Fl3dvHGeXDJCkpHGWdvv9sI59QW76kFK%2FK1HdUQZnE%3D&reserved=0 . If the >>> e-mail was sent to you in error >>> but does not contain patient information, please contact the sender and >>> properly >>> dispose of the e-mail. >> >> >> _______________________________________________ >> Freesurfer mailing list >> Freesurfer@nmr.mgh.harvard.edu >> >>https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.n >>mr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer&data=01%7C01%7Cderek >>.andrews%40kcl.ac.uk%7C619839454aa24e2abb5b08d3ff423c1d%7C8370cf1416f34c1 >>6b83c724071654356%7C0&sdata=b7RxteOygtLeOXwEqb7jklBy8UF4yYIW2P08all9jKQ%3 >>D&reserved=0 >> >> >>_______________________________________________ >Freesurfer mailing list >Freesurfer@nmr.mgh.harvard.edu >https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.nm >r.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer&data=01%7C01%7Cderek.a >ndrews%40kcl.ac.uk%7C619839454aa24e2abb5b08d3ff423c1d%7C8370cf1416f34c16b8 >3c724071654356%7C0&sdata=b7RxteOygtLeOXwEqb7jklBy8UF4yYIW2P08all9jKQ%3D&re >served=0 > > >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 Partners Compliance >HelpLine at >https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.part >ners.org%2Fcomplianceline&data=01%7C01%7Cderek.andrews%40kcl.ac.uk%7C61983 >9454aa24e2abb5b08d3ff423c1d%7C8370cf1416f34c16b83c724071654356%7C0&sdata=y >glzZIazWf12gfszA3LPiOPVUl9m2jppoYC8oUjsrlI%3D&reserved=0 . If the e-mail >was sent to you in error >but does not contain patient information, please contact the sender and >properly >dispose of the e-mail. _______________________________________________ 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 Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.