<div dir="ltr"><div><div>Hello,<br><br></div>I was checking the one of the Fieldtrip's pages to perform an have change the coordinate system of my electrodes position<br><br></div>The page:<br><a href="http://fieldtrip.fcdonders.nl/example/align_eeg_electrode_positions_to_bem_headmodel">http://fieldtrip.fcdonders.nl/example/align_eeg_electrode_positions_to_bem_headmodel</a><br clear="all">
<div><div><div><div><div><br></div><div>For doing an alignment, the fiducials positions should be given, I did not have them first, so I use the brainstorm toolbox to get them from the patient MRI.<br><br></div><div>In brainstrom I found this equation for transforming from voxel to mm. (given the voxel size)<br>
<br><span style="font-size:11pt;line-height:115%;font-family:"Calibri","sans-serif"">Position_mm =
Position_voxel .* Voxel_size.<br><br></span></div><div><span style="font-size:11pt;line-height:115%;font-family:"Calibri","sans-serif"">While in fieldtrip I found another statement which gives (given the transformation matrix) a different answer:<br>
<br>warp_apply(vox2head, vox_Nas, 'homogenous');</span><br><br><br></div><div>For example using brainstorm equation I got:<br><br>

<p class="MsoNormal"><span style lang="EN-US">NAS = [117.1920<span style>  </span>215.8287<span style> 
</span>118.9998]</span></p>

<br></div><div>And using the fieldtrip function, I got:<br></div><div><br>

<p class="MsoNormal"><span style lang="EN-US">NAS = [14.3973<span style>   </span>49.3926<span style>  
</span>49.6322]</span></p><p class="MsoNormal"><br></p><p class="MsoNormal"><span style lang="EN-US">What is the difference between the two?<br></span></p><p class="MsoNormal"><br><span style lang="EN-US"></span></p><p class="MsoNormal">
<span style lang="EN-US">Thank you<br></span></p>

<br></div><div>-- <br>Hamza Fawzi Altakroury<br>Graduate student - MA<br>Faculty of Engineering and Natural Sciences<br>Sabancı University
</div></div></div></div></div></div>