FT_INTERACTIVEREALIGN
Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_interactiverealign”.
FT_INTERACTIVEREALIGN allows the user to interactively translate, rotate and scale an individual geometrical object to a template geometrical object. It can for example be used to align EEG electrodes to a model of the scalp surface. Use as [cfg] = ft_interactiverealign(cfg) The configuration structure should contain the individuals geometrical object that has to be realigned cfg.individual.elec = structure cfg.individual.grad = structure cfg.individual.headmodel = structure, see FT_PREPARE_HEADMODEL cfg.individual.headshape = structure, see FT_READ_HEADSHAPE cfg.individual.mri = structure, see FT_READ_MRI You can specify the style with which the objects are displayed using cfg.individual.headmodelstyle = 'vertex', 'edge', 'surface' or 'both' (default = 'edge') cfg.individual.headshapestyle = 'vertex', 'edge', 'surface' or 'both' (default = 'vertex') The configuration structure should also contain the geometrical object of a template that serves as target cfg.template.axes = string, 'yes' or 'no (default = 'no') cfg.template.elec = structure cfg.template.grad = structure cfg.template.headmodel = structure, see FT_PREPARE_HEADMODEL cfg.template.headshape = structure, see FT_READ_HEADSHAPE cfg.template.mri = structure, see FT_READ_MRI You can specify the style with which the objects are displayed using cfg.template.headmodelstyle = 'vertex', 'edge', 'surface' or 'both' (default = 'edge') cfg.template.headshapestyle = 'vertex', 'edge', 'surface' or 'both' (default = 'vertex') You can specify one or multiple individual objects which will all be realigned and one or multiple template objects. See also FT_VOLUMEREALIGN, FT_ELECTRODEREALIGN, FT_DETERMINE_COORDSYS, FT_READ_SENS, FT_READ_VOL, FT_READ_HEADSHAPE