View on GitHub

Brain Addressing System

The right way to address the brain

Brain atlas definition

In BAS, a brain atlas is defined as a collection of spatially distributed data modalities and/or derived annotations, all registered to the same template brain. The template brain can be a single subject brain, or consist of (an average of) many brains that are spatially aligned to each other. An atlas can be as simple as a single MRI volume that serves as both the data modality and the template brain. BAS further requires that the template brain is placed in a 3-dimensional Euclidian space that meets three criteria:

  1. The space must use real-world physical coordinates. This means that for image-based data modalities, a linear transformation that translates pixel/voxel indices to physical positions must be provided. Example: for an MRI volume, it is sufficient to specify one voxel as the origin, plus the size of the individual voxels in millimeters.
  2. The coordinate axes, after transformation to real-world units, must each be assigned an anatomical orientation. Example: the (x,y,z)-axes have (right, anterior, superior) orientation.
  3. The origin must be assigned to a clearly defined point in one of the data modalities. Example: the origin is the corner of voxel (0,0,0) in the T1-modality.

Creating definition files

To define an atlas, a brain atlas provider must create two files in the folder ‘atlases’.

  1. An atlas definition file for each supported brain atlas. The file must be named <basUrl>/atlases/<atlas>.json, where <basUrl> is the bas-url specified when registering as a provider, and <atlas> is the id/acronym of the atlas.
  2. An index file, named <basUrl>/atlases/index.json.

The index file is a JSON-formatted file that contains a list of acronyms of all defined brain-atlases. Only atlases in this list will be recognized as valid atlases. If the index file is missing, then the BAS-crawler will not be able to find any atlases, unless the webserver has a directory listing service (see for example .htaccess Options +Indexes). Example: you create two atlas definition files ‘atlases/myatlas1.json’ and ‘atlases/myatlas2.json’. The file ‘atlases/index.json’ must contain the line ["atlas1","atlas2"].

The atlas definition file is a JSON-formatted file that contains a dictionary with keys (star indicates ‘required’):

Note that this specification may change, but always in such a way that older definition files get interpreted correctly. It is not necessary to include a ‘BAS version number’ in the file.