FreeSurfer COR slice file reader. More...
#include <mri_cor_io.h>
Static Public Member Functions | |
| static bool | read (const QString &dir, QVector< MriSlice > &slices, bool verbose=false) |
FreeSurfer COR slice file reader.
Reader for FreeSurfer COR slice files.
Reads 256 COR-NNN files from a directory and builds per-slice MriSlice structures with coronal orientation coordinate transforms.
Ported from make_cor_set() in MNE C mne_make_cor_set by Matti Hamalainen.
Definition at line 81 of file mri_cor_io.h.
|
static |
Reads COR slice files from a directory.
Expects files named COR-001 through COR-256, each containing 256×256 unsigned char pixel data.
| [in] | dir | Path to the directory containing COR-NNN files. |
| [out] | slices | Vector of MriSlice structures to populate. |
| [in] | verbose | If true, print progress information. |
Definition at line 74 of file mri_cor_io.cpp.