Thin Plate Spline Warp.
More...
#include <warp.h>
|
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 Warp.
Definition at line 72 of file warp.h.
◆ ConstSPtr
Const shared pointer type for Warp.
Definition at line 77 of file warp.h.
◆ SPtr
Shared pointer type for Warp.
Definition at line 76 of file warp.h.
◆ calculate() [1/2]
Eigen::MatrixXf UTILSLIB::Warp::calculate |
( |
const Eigen::MatrixXf & |
sLm, |
|
|
const Eigen::MatrixXf & |
dLm, |
|
|
const Eigen::MatrixXf & |
sVert |
|
) |
| |
Calculates the TPS Warp of given setup
- Parameters
-
[in] | sLm | 3D Landmarks of the source geometry. |
[in] | dLm | 3D Landmarks of the destination geometry. |
[in] | sVert | Vertices of the source geometry. |
- Returns
- wVert Vertices of the warped destination geometry.
◆ calculate() [2/2]
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
- Parameters
-
[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. |
◆ readsLm() [1/2]
MatrixXf Warp::readsLm |
( |
const QString & |
electrodeFileName | ) |
|
Read electrode positions from MRI Database
- Parameters
-
[in] | electrodeFileName | .txt file of electrodes. |
- Returns
- electrodes Matrix with electrode positions.
Definition at line 152 of file warp.cpp.
◆ readsLm() [2/2]
MatrixXf Warp::readsLm |
( |
const std::string & |
electrodeFileName | ) |
|
Read electrode positions from MRI Database
- Parameters
-
[in] | electrodeFileName | .txt file of electrodes. |
- Returns
- electrodes Matrix with electrode positions.
Definition at line 194 of file warp.cpp.
The documentation for this class was generated from the following files: