<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Dear Ali, Dear JM,<br><br>thanks a lot for your help.<br><br>According to your suggestions I have modified<br>my code as following:<br><br>mri = ft_read_mir('MRI_FILE_V2.mri');<br><br>cfg = [];<br>cfg.downsample = 2;<br>cfg.coordsys = 'ctf';<br><br>mri = ft_volume_downsample(cfg,mri);<br><br>cfg = [];<br>cfg.coordsys = 'ctf';<br>seg = ft_volumesegment(cfg,mri);<br>seg.anatomy = mri.anatomy;<br><br>Now the comparison of the segmented volumes and the MRI look fine,<br>but it seems that there is still a problem when I compute the individual grids (see attached figure).<br><br>I am also attaching the code I am using.<br><br>Would be great if you could help me to get this working.<br><br>Fred<br><br>-- <br>Frédéric Roux, PhD student<br>Department of Neurophysiology<br>Max Planck Institute for Brain Research<br>D-60529 Frankfurt am Main<br>Frederic.Roux@brain.mpg.de<br>+49(0)69630183225<br><br><br> </div></body>
</html>