TuttleOFX
1
|
#include <tps.hpp>
Public Types | |
typedef SCALAR | Scalar |
typedef point2< Scalar > | Point2 |
typedef matrix< Scalar > | Matrix |
typedef matrix_row< const Matrix > | Const_Matrix_Row |
typedef matrix_column< const Matrix > | Const_Matrix_Col |
Public Member Functions | |
TPS_Morpher () | |
void | setup (const std::vector< Point2 > pIn, const std::vector< Point2 > pOut, const double regularization, const bool applyWarp, const std::size_t width, const std::size_t height, const double transition) |
template<typename S2 > | |
Point2 | operator() (const point2< S2 > &pt) const |
Data Fields | |
bool | _activateWarp |
std::size_t | _nbPoints |
double | _width |
double | _height |
double | _transition |
Private Attributes | |
std::vector< Point2 > | _pIn |
std::vector< Point2 > | _pOut |
Matrix | _mat_L |
Matrix | _mat_V |
Matrix | _mat_K |
typedef matrix_column<const Matrix> tuttle::plugin::warp::TPS_Morpher< SCALAR >::Const_Matrix_Col |
typedef matrix_row<const Matrix> tuttle::plugin::warp::TPS_Morpher< SCALAR >::Const_Matrix_Row |
typedef matrix<Scalar> tuttle::plugin::warp::TPS_Morpher< SCALAR >::Matrix |
typedef point2<Scalar> tuttle::plugin::warp::TPS_Morpher< SCALAR >::Point2 |
typedef SCALAR tuttle::plugin::warp::TPS_Morpher< SCALAR >::Scalar |
tuttle::plugin::warp::TPS_Morpher< SCALAR >::TPS_Morpher | ( | ) |
Point2 tuttle::plugin::warp::TPS_Morpher< SCALAR >::operator() | ( | const point2< S2 > & | pt | ) | const |
void tuttle::plugin::warp::TPS_Morpher< SCALAR >::setup | ( | const std::vector< Point2 > | pIn, |
const std::vector< Point2 > | pOut, | ||
const double | regularization, | ||
const bool | applyWarp, | ||
const std::size_t | width, | ||
const std::size_t | height, | ||
const double | transition | ||
) |
bool tuttle::plugin::warp::TPS_Morpher< SCALAR >::_activateWarp |
double tuttle::plugin::warp::TPS_Morpher< SCALAR >::_height |
Matrix tuttle::plugin::warp::TPS_Morpher< SCALAR >::_mat_K [private] |
Matrix tuttle::plugin::warp::TPS_Morpher< SCALAR >::_mat_L [private] |
Matrix tuttle::plugin::warp::TPS_Morpher< SCALAR >::_mat_V [private] |
std::size_t tuttle::plugin::warp::TPS_Morpher< SCALAR >::_nbPoints |
std::vector<Point2> tuttle::plugin::warp::TPS_Morpher< SCALAR >::_pIn [private] |
std::vector<Point2> tuttle::plugin::warp::TPS_Morpher< SCALAR >::_pOut [private] |
double tuttle::plugin::warp::TPS_Morpher< SCALAR >::_transition |
double tuttle::plugin::warp::TPS_Morpher< SCALAR >::_width |