<div dir="ltr">Hello Fieldtrip community,<div><br></div><div>I'm following the steps from the "Forward modeling for EEG source reconstruction" tutorial, and am having trouble creating the headmodel from the meshes of the segmented MRI. Note that I am using my own MRI image and I am using the OpenMEEG method for preparing the head model.</div><div><br></div><div>When I call ft_prepare_headmodel, I get an error message saying that my meshes are intersecting. I tried plotting the meshes and noticed that there were spikes in one of the meshes, so I changed the number of vertices around to get rid of them. However, even after doing that, I still get the same error messages. This leads me to think the issue is with the segmentation. Following the "Bonus: troubleshooting the meshes" section in the tutorial, I tried plotting the segmented mri, and it does look like some areas of the skin are too thin. However, I am not sure how to proceed at this point. What parameters can I adjust in the ft_volumesegment to fix it? Is it possible to manually fix the segmentation? Any input will be greatly appreciated!</div><div><br></div><div>Please find the output of the
ft_volumesegment and ft_prepare_headmodel functions, the plots, and the code here (<a href="https://jpst.it/2mOcE">https://jpst.it/2mOcE</a>).</div><div><br></div><div>Thank you very much in advance for your help!</div><div><br></div><div>Jason</div></div>