External Email - Use Caution
Dear Experts,
My aim is to get circular ROIs. At the moment i am trying it on the flatmap, and i am writing a matlab script to do the task. However, I am getting a problem to open the output file (.flat) of the mris_flatten function as surface in MatLab.
I obtain the patch as "mris_flatten -w 0 -distances 20 7 lh.occip.patch.3d lh.occip.patch.flat “. The output is working properly on Freeview. However to make the circular ROIs pipeline faster and robust I would like to use Matlab. I tried to open the flattened patch via “read_curv”, “read_surf”,”read_patch” and also “MRIread” but all are returning the error “ could not open file ….” .
(i) Is there any suggestion to solve this issue? I would like to open the patch as i would do for a mask and afterwards create a circular ROI per each area of interest given the functional clusters (from sig.nii file) projected on the flatmap.
(ii) Is there any alternative to get circular ROIs on surface? Perhaps without GUI? For example via ‘mris_pmake’ ? Would i still require a flattened surface right?
Many thanks in advance Best
Giorgio