FieldTrip supports the use of an anatomical atlas to look up the anatomical label of a source that you have localized. Vice versa you can also first look up the location of an anatomical region and subsequently use that in source analysis, e.g. as region of interest for beamforming or as starting point for dipole fitting.
The function ft_prepare_atlas reads in a specified atlas with coordinates and anatomical labels. It either uses the AFNI brik file, or it uses one of the WFU atlases. The following example code shows a simple demonstration:
[atlas] = ft_read_atlas('ROI_MNI_V4.nii'); cfg = ; cfg.method = 'ortho'; cfg.funparameter = 'brick0'; cfg.funcolormap ='jet'; ft_sourceplot(cfg, atlas)
Atlases can be used in several fieldtrip functions. For instance in the ft_sourceplot function if you specify cfg.atlas and cfg.atlascoordinates you can click on a voxel in the interactive mode (cfg.method = ‘ortho’) and the label of that voxel according to the specified atlas is given.
The most important function for using an atlas is ft_volumelookup. It can be used in two approaches.