27 #include "../common/MatrixUtils.h" 39 static std::string name(
"RST" );
50 const double& pt1Y,
double& pt2X,
double& pt2Y )
const 63 const double& pt2Y,
double& pt1X,
double& pt1Y )
const unsigned int m_computeParameters_tpIdx
2D Rotation/scale/translation (rigid body) Geometric transformation.
boost::numeric::ublas::matrix< double > m_computeParameters_N
std::vector< TiePoint > m_tiePoints
Tie points.
unsigned int m_computeParameters_tiepointsSize
boost::numeric::ublas::matrix< double > m_computeParameters_L
boost::numeric::ublas::matrix< double > m_computeParameters_U
void inverseMap(const GTParameters ¶ms, const double &pt2X, const double &pt2Y, double &pt1X, double &pt1Y) const
Inverse mapping (from pt2 space into pt1 space).
std::vector< double > m_directParameters
Transformation numeric direct parameters.
RSTGT()
Default constructor.
const std::string & getName() const
Returns the current transformation name.
An utility struct for representing 2D coordinates.
void directMap(const GTParameters ¶ms, const double &pt1X, const double &pt1Y, double &pt2X, double &pt2Y) const
Direct mapping (from pt1 space into pt2 space).
2D Rotation/scale/translation(rigid body) Geometric transformation.
boost::numeric::ublas::matrix< double > m_computeParameters_A
boost::numeric::ublas::matrix< double > m_computeParameters_XExpanded
boost::numeric::ublas::matrix< double > m_computeParameters_X
boost::numeric::ublas::matrix< double > m_computeParameters_N_inv
unsigned int m_computeParameters_index2
boost::numeric::ublas::matrix< double > m_computeParameters_XExpandedInv
bool GetInverseMatrix(const boost::numeric::ublas::matrix< T > &inputMatrix, boost::numeric::ublas::matrix< T > &outputMatrix)
Matrix inversion.
std::vector< double > m_inverseParameters
Transformation numeric inverse parameters.
unsigned int getMinRequiredTiePoints() const
Returns the minimum number of required tie-points for the current transformation. ...
GeometricTransformation * clone() const
Creat a clone copy of this instance.
2D Geometric transformation parameters.
bool computeParameters(GTParameters ¶ms) const
Calculate the transformation parameters following the new supplied tie-points.
unsigned int m_computeParameters_index1
boost::numeric::ublas::matrix< double > m_computeParameters_At