|
libfs
Header-only C++11 library for accessing FreeSurfer neuroimaging data
|
Models the data of an MGH file. Currently these are 1D vectors, but one can compute the 4D array using the dimXlength fields of the respective MghHeader. More...
#include <libfs.h>

Public Member Functions | |
| MghData (std::vector< int32_t > curv_data) | |
| constructor to create MghData from MRI_INT (int32_t) data. | |
| MghData (std::vector< uint8_t > curv_data) | |
| constructor to create MghData from MRI_UCHAR (uint8_t) data. | |
| MghData (std::vector< short > curv_data) | |
| constructor to create MghData from MRI_SHORT (short) data. | |
| MghData (std::vector< float > curv_data) | |
| constructor to create MghData from MRI_FLOAT (float) data. | |
| MghData (Curv curv) | |
| constructor to create MghData from a Curv instance | |
Public Attributes | |
| std::vector< int32_t > | data_mri_int |
| data of type MRI_INT, check the dtype to see whether this is relevant for this instance. | |
| std::vector< uint8_t > | data_mri_uchar |
| data of type MRI_UCHAR, check the dtype to see whether this is relevant for this instance. | |
| std::vector< float > | data_mri_float |
| data of type MRI_FLOAT, check the dtype to see whether this is relevant for this instance. | |
| std::vector< short > | data_mri_short |
| data of type MRI_SHORT, check the dtype to see whether this is relevant for this instance. | |
Models the data of an MGH file. Currently these are 1D vectors, but one can compute the 4D array using the dimXlength fields of the respective MghHeader.
1.8.13