Back to the main page.

Bug 2521 - ft_volumerealign: restructure the headshape method

Status ASSIGNED
Reported 2014-04-03 09:15:00 +0200
Modified 2014-07-07 14:25:33 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2014-04-03 09:15:57 +0200

Right now, cfg.method = 'headshape' in ft_volumerealign does an interactive realignment step, followed by an automatic icp-step. Sometimes the latter does not work well, and it would be better to 1) make the icp step optional. 2) split the interactive headshape and automatic headshape into two separate methods. I wouold favour option 2. The question now is how to call the options. Q to Robert: shall we do cfg.method = 'headshape_interactive' and 'headshape_automatic'? or shall we do cfg.method = 'headshape', with a subfield cfg.headshape.icp = 0/1 and cfg.headshape.interactive = 0/1? (although the function's cfg now already has a cfg.headshape that takes the actual headshape-structure)


Robert Oostenveld - 2014-07-07 14:25:22 +0200

as discussed with JM: right now we have in ft_volumerealign the headshape method with sub-methods for 1) interactive 2) iterative closest point both sub-methods use the skin surface, which is extracted from the anatomical MRI inside the function. I will add 3) intersect which will visualise the head shape as intersection on the anatomical MRI, together with interactive rotate/translate/scale fields just like ft_electroderealign.