Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_volumebiascorrect”.

  FT_VOLUMEBIASCORRECT corrects the image inhomogeneity bias in an anatomical MRI
 
  Use as
    mri_unbias = ft_volumebiascorrect(cfg, mri)
  where the input mri should be a single anatomical volume that was for example read with
  FT_READ_MRI. 
 
  The configuration structure can contain
    cfg.spmversion     = string, 'spm8', 'spm12' (default = 'spm8')
    cfg.opts           = struct, containing spmversion specific options.
                         See the code below and the SPM-documentation for
                         more information.
 
  See also FT_VOLUMEREALIGN FT_VOLUMESEGMENT FT_VOLUMENORMALISE