Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_volumedownsample”.
FT_VOLUMEDOWNSAMPLE downsamples an anatomical MRI or source reconstruction and optionally normalizes its coordinate axes, keeping the homogenous transformation matrix correct. Use as [volume] = ft_volumedownsample(cfg, mri) where the input mri should be a single anatomical volume that was for example read with FT_READ_MRI or should be a volumetric source reconstruction resulting from FT_SOURCEANALYSIS or FT_SOURCEINTERPOLATE. The configuration can contain cfg.downsample = integer number (default = 1, i.e. no downsampling) cfg.smooth = 'no' or the FWHM of the gaussian kernel in voxels (default = 'no') To facilitate data-handling and distributed computing with the peer-to-peer module, this function has the following options: cfg.inputfile = ... cfg.outputfile = ... If you specify one of these (or both) the input data will be read from a *.mat file on disk and/or the output data will be written to a *.mat file. These mat files should contain only a single variable, corresponding with the input/output structure. This function is used by FT_SOURCEINTERPOLATE, FT_VOLUMEWRITE and FT_VOLUMENORMALISE.
Share this page: