Atlas lookup for FreeSurfer volume parcellations (e.g. aparc+aseg.mgz). More...
#include <fs_atlas_lookup.h>
Public Member Functions | |
| FsAtlasLookup () | |
| bool | load (const QString &sParcellationPath) |
| Load a FreeSurfer MGH/MGZ volume parcellation. | |
| QString | labelAtRas (const Eigen::Vector3f &ras) const |
| Look up the anatomical label at a RAS coordinate. | |
| QStringList | labelsForPositions (const QVector< Eigen::Vector3f > &positions) const |
| Look up labels for multiple RAS positions. | |
| bool | isLoaded () const |
| Check whether a parcellation volume has been loaded. | |
Atlas lookup for FreeSurfer volume parcellations (e.g. aparc+aseg.mgz).
Loads a FreeSurfer MGH/MGZ volume and provides label lookup at RAS coordinates.
Definition at line 72 of file fs_atlas_lookup.h.
| FsAtlasLookup::FsAtlasLookup | ( | ) |
Constructs an empty atlas lookup.
Definition at line 70 of file fs_atlas_lookup.cpp.
| bool FsAtlasLookup::isLoaded | ( | ) | const |
Check whether a parcellation volume has been loaded.
Definition at line 322 of file fs_atlas_lookup.cpp.
| QString FsAtlasLookup::labelAtRas | ( | const Eigen::Vector3f & | ras | ) | const |
Look up the anatomical label at a RAS coordinate.
| [in] | ras | 3D position in RAS space (in mm). |
Definition at line 289 of file fs_atlas_lookup.cpp.
| QStringList FsAtlasLookup::labelsForPositions | ( | const QVector< Eigen::Vector3f > & | positions | ) | const |
Look up labels for multiple RAS positions.
| [in] | positions | List of 3D RAS positions. |
Definition at line 311 of file fs_atlas_lookup.cpp.
| bool FsAtlasLookup::load | ( | const QString & | sParcellationPath | ) |
Load a FreeSurfer MGH/MGZ volume parcellation.
| [in] | sParcellationPath | Path to the volume file (e.g. aparc+aseg.mgz). |
Definition at line 78 of file fs_atlas_lookup.cpp.