Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpolation of volume values on MRI #609

Open
ftadel opened this issue Apr 3, 2023 · 0 comments
Open

Interpolation of volume values on MRI #609

ftadel opened this issue Apr 3, 2023 · 0 comments

Comments

@ftadel
Copy link
Member

ftadel commented Apr 3, 2023

Exploring the display of the leadfield sensitivity with @tmedani, I found some disturbing behaviors that I haven't had time to investigate.

Two use cases:

  • Right-click on volume head model > View leadfield sensitivity (MRI viewer)
  • Right-click on volume source maps > Cortical activations > Display on MRI (MRI viewer)

Then right-click on the MRI Viewer figure > Overlay options > Interpolation sources-MRI > Resolution...

With Resolution: 2 voxels, I observed results for depth EEG stimulation that seem to be off by a few voxels:
image

With Resolution: 3 voxels, the display is completely off...
image

These menus change the property InterpDownsample, which is then passed as the input parameter nDownsample to grid_interp_mri.m.

The interpolation algorithm used there could probably be fixed and optimized (using newer Matlab interpolation options for example)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant