Thanks for your complete response.
So, apparently MRI and Surface are not registered and aligned correctly in my data-set and it seems they use non-standard orientation (No matter how I respond to this question it won't be fixed).
I tried four different approaches for Anatomy.
- Manually aligned surface and MRI (while their axes are not?!)
- Generated a surface from the MRI and ignore the current surface,
- Just Imported the surface and Ignored the MRI
- Used the default anatomy.
Nevertheless, in none of them, I could see the correct electrode positioning. The MRI has vox2ras matrix.
The electrode coordinate in the .pom file looks like MNI coordinate. however, as I said, I cannot see those locations in MRI views, even for the default anatomy. Can it be related to in_channel_curry_pom.m function?
This is the important part of the code:
ChannelMat.Channel(iChannel).Loc = [-xyz(2); xyz(1); xyz(3)];
Thanks