<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Stephen,
<div class=""><br class="">
</div>
<div class="">We have a pipeline that can use either SPM8 or SPM12 to perform both segmentation and normalization, though perhaps in a way that’s different from the official FieldTrip tutorials. Have a look at:</div>
<div class=""><a href="https://github.com/meeg-cfin/nemolab/blob/master/basics/nemo_mriproc.m" class="">https://github.com/meeg-cfin/nemolab/blob/master/basics/nemo_mriproc.m</a></div>
<div class=""><br class="">
</div>
<div class="">ft_volumesegment should use whichever SPM is in your path (be careful about fieldtrip/external/spm8!), and (according to my memory) SPM12 sometimes can succeed where SPM8 doesn’t provide good segmentations.</div>
<div class=""><br class="">
</div>
<div class="">Note that for the normalization in SPM12, our script defines “<span style="color: rgb(3, 47, 98); font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);" class="">/OldNorm/T1.nii</span>”
 as the template, which indeed seems to give results equivalent to SPM8. I think you could change this to SPM12’s default template if you prefer.</div>
<div class=""><br class="">
</div>
<div class="">NB: we use MRI coordinates as the base coordinate system in our pipelines, so MEG/EEG is transformed to MRI, rather than MRI to MEG/EEG.</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">Sarang</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 20 Sep 2017, at 17:03, Stephen Whitmarsh <<a href="mailto:stephen.whitmarsh@GMAIL.COM" class="">stephen.whitmarsh@GMAIL.COM</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div dir="ltr" class=""><span style="font-size:12.8px" class="">Dear all,</span>
<div style="font-size:12.8px" class=""><br class="">
</div>
<div style="font-size:12.8px" class="">I having some problems in normalizing MRIs for my study. Some have improper segmentation for which changing individual brain/scalp thresholds works in many cases but not all, e.g. when the scalp 'bleeds' into some noise
 outside of the head. Also, changing parameters in spm8 for normalization, such as number of iterations (directly in in spm_normalize, since FT does not pass these parameters) <span style="font-size:12.8px" class="">improves the transformation.</span></div>
<div style="font-size:12.8px" class=""><br class="">
</div>
<div style="font-size:12.8px" class="">However, some scans I cannot deal with, either because they have noise from outsides of the head 'bleed' onto the scalp, thereby preventing optimal scalp-segmentation and thereby normalization. Others have an inappropriate
 contrast MRI sequence.</div>
<div style="font-size:12.8px" class=""><br class="">
</div>
<div style="font-size:12.8px" class="">Some fMRI researchers advised me to use SPM12, because of its improved preprocessing procedures. However, it does not seem supported in FT yet. Does anyone have experience with this, and can perhaps share how they extracted
 the transformation matrix from the resulting nifti's? </div>
<div style="font-size:12.8px" class=""><br class="">
</div>
<div style="font-size:12.8px" class="">Thanks,</div>
<div style="font-size:12.8px" class="">Stephen</div>
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="mailto:fieldtrip@donders.ru.nl" class="">fieldtrip@donders.ru.nl</a><br class="">
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>