Implementation of MRILIB::MriCorIO: per-file COR-NNN reader with coronal-orientation slice transform synthesis. More...
#include "mri_cor_io.h"#include <fiff/fiff_coord_trans.h>#include <fiff/fiff_constants.h>#include <fiff/fiff_file.h>#include <QDir>#include <QFile>#include <QDebug>#include <Eigen/Core>
Go to the source code of this file.
Implementation of MRILIB::MriCorIO: per-file COR-NNN reader with coronal-orientation slice transform synthesis.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
Walks the 256 COR-001 \u2026 COR-256 files in the supplied directory, mmap-friendly reads the 65\u202f536-byte flat slice buffer of each one into a MriSlice with FIFFV_MRI_PIXEL_BYTE encoding, and stamps every slice with its coronal-orientation slice\u2192MRI transform (the (128, -128, 128) mm offset plus the x\u2192 -x, y\u2192z , z\u2192y axis permutation). Missing or short-read files are reported as warnings; partial sets are rejected so downstream code can rely on a complete 256-slice coronal stack. Ported from make_cor_set() in MNE C mne_make_cor_set by Matti Hamalainen.
Definition in file mri_cor_io.cpp.