|
libfs
Header-only C++11 library for accessing FreeSurfer neuroimaging data
|
The colortable from an Annot file, can be used for parcellations and integer labels. Typically each index (in all fields) describes a brain region. More...
#include <libfs.h>

Public Member Functions | |
| size_t | num_entries () const |
| Get the number of enties (regions) in this Colortable. | |
| int32_t | get_region_idx (const std::string &query_name) const |
| Get the index of a region in the Colortable by region name. Returns a negative value if the region is not found. | |
| int32_t | get_region_idx (int32_t query_label) const |
| Get the index of a region in the Colortable by label. Returns a negative value if the region is not found. | |
The colortable from an Annot file, can be used for parcellations and integer labels. Typically each index (in all fields) describes a brain region.