Thin-plate-spline 3-D warp fitted from landmark correspondences. More...
#include <warp.h>
Public Types | |
| typedef QSharedPointer< Warp > | SPtr |
| typedef QSharedPointer< const Warp > | ConstSPtr |
Public Member Functions | |
| Eigen::MatrixXf | calculate (const Eigen::MatrixXf &sLm, const Eigen::MatrixXf &dLm, const Eigen::MatrixXf &sVert) |
| void | calculate (const Eigen::MatrixXf &sLm, const Eigen::MatrixXf &dLm, QList< Eigen::MatrixXf > &vertList) |
| Eigen::MatrixXf | readsLm (const QString &electrodeFileName) |
| Eigen::MatrixXf | readsLm (const std::string &electrodeFileName) |
Thin-plate-spline 3-D warp fitted from landmark correspondences.
Thin-plate-spline (Bookstein) 3-D warp that maps source landmarks exactly onto destination landmarks and extends smoothly to the rest of R^3. Used for non-rigid registration of EEG/MEG sensors and template-to-subject mesh warping.
| typedef QSharedPointer<const Warp> UTILSLIB::Warp::ConstSPtr |
| typedef QSharedPointer<Warp> UTILSLIB::Warp::SPtr |
| Eigen::MatrixXf UTILSLIB::Warp::calculate | ( | const Eigen::MatrixXf & | sLm, |
| const Eigen::MatrixXf & | dLm, | ||
| const Eigen::MatrixXf & | sVert ) |
Calculates the TPS Warp of given setup
| [in] | sLm | 3D Landmarks of the source geometry. |
| [in] | dLm | 3D Landmarks of the destination geometry. |
| [in] | sVert | Vertices of the source geometry. |
| void UTILSLIB::Warp::calculate | ( | const Eigen::MatrixXf & | sLm, |
| const Eigen::MatrixXf & | dLm, | ||
| QList< Eigen::MatrixXf > & | vertList ) |
Calculates the TPS Warp of a given setup for a List of vertices
| [in] | sLm | 3D Landmarks of the source geometry. |
| [in] | dLm | 3D Landmarks of the destination geometry. |
| [in/out] | vertList List of Vertices of the source geometry that are warped to the destination. |
| MatrixXf Warp::readsLm | ( | const QString & | electrodeFileName | ) |
| MatrixXf Warp::readsLm | ( | const std::string & | electrodeFileName | ) |