<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div><div>Hi Frederic,</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>What is the question exactly? This is the first time that you mention the word 'MNI' so I am a bit puzzled what you're after (and with me perhaps the rest of us mortals as well, which could explain the lack of answers). </div><div>What you refer to as 'sensor space' is a coordinate system that is defined based on the head of the participant, i.e. based on three anatomical landmarks: LPA, RPA, and Nasion.</div><div>The transformation to MNI-space is not straightforward because this is generally based on a non-linear warp. </div><div>If you are happy with an approximation, then you could use ft_volumenormalise to extract the linear transformation from individual head space into +/- MNI-space. This coordinate system is defined based on three other anatomical landmarks: AC, PC and a point defining the positive z-axis.</div><div><br></div><div>You can do either of the following things:</div><div><br></div><div>-Take an individual MRI (that is coregistered to the individual's head, i.e. it has a transform that defines the head coordinate system correctly).</div><div>-Call ft_volumenormalise (with cfg.nonlinear = 'no')</div><div>-The output volume (let's call this variable normalise) contains a transformation matrix in normalise.cfg.final, that transforms from head space into 'MNI-space'.</div><div>-You can use warp_apply to transform between the different coordinate systems, using the transformation matrix (or its inverse) to toggle coordinates back and forth.</div><div><br></div><div>-Take an individual MRI.</div><div>-specify mri.transform = eye(4) (assuming that the MRI is 1mm isotropic).</div><div>-call ft_volumerealign twice with cfg.interactive = 'yes'.</div><div>-once you specify lpa, rpa and nasion interactively.</div><div>-once you specify ac, pc and a z-point interactively.</div><div>-these two calls result in two transformation matrices, the first defining how to interpret the MRI voxels in coordinate system 1, the other defining how to interpret the MRI voxels in coordinate system 2.</div><div>-I leave it as an exercise to you how to combine these to in order to toggle from one coordinate system to the other directly.</div><div><br></div><div>Good luck,</div><div><br></div><div>Jan-Mathijs Schoffelen</div><div><br></div><div><br><div><div>On Oct 30, 2012, at 5:58 PM, Frederic Roux wrote:</div></div></div></div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Dear List members,<br><br>this post is related to a question that I have<br>been posting several times now, but for which<br>I haven't found an answer yet.<br><br>I have a set of coordinates [5,0,-1] which should<br>correspond to a point in sensor space.<br><br>Is it possible to compute the corresponding coordinates<br>in MNI space using a transformation matrix or anything<br>similar?<br><br>Any help or suggestions would be highly appreciated.<br><br>Fred<br>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></div></blockquote></div></div></div></div><div><br></div></div></div><br><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); 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; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Jan-Mathijs Schoffelen, MD PhD </div><div><br></div><div>Donders Institute for Brain, Cognition and Behaviour, <br>Centre for Cognitive Neuroimaging,<br>Radboud University Nijmegen, The Netherlands</div><div><br></div><div>Max Planck Institute for Psycholinguistics,</div><div>Nijmegen, The Netherlands</div><div><br></div><div><a href="mailto:J.Schoffelen@donders.ru.nl">J.Schoffelen@donders.ru.nl</a></div><div>Telephone: +31-24-3614793</div><div><br></div></div></span></div></span></div></span></div></span></div></span></span></div></div></body></html>