<html><head><base href="x-msg://157/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Fred,<div><br></div><div>I forwarded your question to the list, so that other people get the opportunity to answer, and/or benefit from the answer ;-).</div><div><br></div><div>JM</div><div><br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Frederic Roux <<a href="mailto:fredericroux@hotmail.de">fredericroux@hotmail.de</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">March 29, 2012 4:05:18 PM GMT+02:00<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>>, <<a href="mailto:jan.schoffelen@donders.ru.nl">jan.schoffelen@donders.ru.nl</a>>, <<a href="mailto:ali@cs.ru.nl">ali@cs.ru.nl</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>segmentation and individual grids</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Reply-To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><<a href="mailto:fredericrouxw@gmail.com">fredericrouxw@gmail.com</a>><br></span></div><br><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><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>--<span class="Apple-converted-space"> </span><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><a href="mailto:Frederic.Roux@brain.mpg.de">Frederic.Roux@brain.mpg.de</a><br>+49(0)69630183225<br><br><br></div></div></span></blockquote></div></div></body></html>