Dear MRtrix Experts,
I’m trying to calculate the number of streamlines passing through each cortical vertex using FreeSurfer’s surface files (e.g., lh.pial.T1
and rh.pial.T1
). However, I encountered issues when attempting to convert these files into formats compatible with MRtrix (e.g., .mif
).
Here’s what I’ve tried (unsuccessfully):
1)Direct conversion using meshconvert
:meshconvert lh.pial.T1 lh_pial.mif
2) Conversion to other formats (GIFTI, PLY) via mris_convert
, followed by mrconvert
:mris_convert ./seg/surf/rh.pial.T1 ./seg/surf/rh_pial.gii/ply/vtc
All attempts resulted in errors like “unrecognized file format.” after 'mrconvert ./seg/surf/rh_pial.xx rh_pial.mif
Questions:
- What is the correct workflow to convert FreeSurfer’s surface files (
lh.pial.T1
,rh.pial.T1
) into MRtrix-compatible formats (e.g.,.mif
)? - Is there a recommended method to merge left/right hemispheres into a whole-brain surface for streamline-vertex intersection analysis?
Any guidance would be greatly appreciated! Thank you for your time.
Best regards,
Yingtang