v2.0.0
Loading...
Searching...
No Matches
polhemus_coregistration.cpp File Reference

Implementation of UTILSLIB::PolhemusCoregistration — fiducial-based head→device rigid alignment. More...

#include "polhemus_coregistration.h"
#include "acquired_points.h"
#include <Eigen/Dense>
#include <QSettings>
#include <cmath>
Include dependency graph for polhemus_coregistration.cpp:

Go to the source code of this file.

Detailed Description

Implementation of UTILSLIB::PolhemusCoregistration — fiducial-based head→device rigid alignment.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.1
Date
May 2026

The three cardinal fiducials (LPA, NAS, RPA) define an orthonormal head frame whose construction matches the MEG/EEG convention used throughout mne-cpp. The head→device transform is obtained by composing that frame with the pre- calibrated tracker-to-device offset and with the live tracker pose streamed from the Polhemus connection, all wrapped in QMatrix4x4 so callers can hand the result straight to the OpenGL viewer in DISP3DLIB or to the navigation export.

Definition in file polhemus_coregistration.cpp.