<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 all,<br><br>I am trying to create mni-aligned grids in individual head-space<br>and have followed the code provided in the corresponding example-script <br>on the fieldtrip site to the line.<br><br>However when I plot the segmented volume it looks as if something<br>is going wrong. I am attaching the plots of the gray and white matter,<br>as well as of the csf.<br><br>I tried flipping the dimensions as suggested in the example script, however<br>this had zero effect.<br><br>My code looks like this.<br><br>addpath('/data/common/FieldtripCurrent/fieldtrip-20120105/');<br>ft_defaults;<br><br>mri = ft_read_mri([path2files,'ID_V2.mri']);<br><br>cfg = [];<br>cfg.coordsys = 'ctf';<br>cfg.downsample = 2;<br>seg = ft_volumesegment(cfg,mri);<br><br>seg.transform = mri.transform;<br>seg.anatomy = mri.anatomy;<br><br>figure;<br>cfg = [];<br>ft_sourceplot(cfg,seg);<br>figure;<br>cfg = [];<br>cfg.funparameter = 'gray';<br>
ft_sourceplot(cfg,seg);<br>
figure;<br>
cfg = [];<br>
cfg.funparameter = 'white';<br>
ft_sourceplot(cfg,seg);<br>
figure;<br>
cfg = [];<br>
cfg.funparameter = 'csf';<br>
ft_sourceplot(cfg,seg);<br>
<br>Anybody an idea why this is happening?<br>Any help would be highly appreciated.<br><br>Fred<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>