27 #include "../common/MatrixUtils.h" 39 static std::string name(
"ThirdDegreePolynomial" );
50 const double& pt1Y,
double& pt2X,
double& pt2Y )
const 80 const double& pt2Y,
double& pt1X,
double& pt1Y )
const unsigned int m_computeParameters_tpIdx
boost::numeric::ublas::matrix< double > m_computeParameters_X
std::vector< TiePoint > m_tiePoints
Tie points.
Third Degree Polynomial Geometric transformation.
void inverseMap(const GTParameters ¶ms, const double &pt2X, const double &pt2Y, double &pt1X, double &pt1Y) const
Inverse mapping (from pt2 space into pt1 space).
bool computeParameters(GTParameters ¶ms) const
Calculate the transformation parameters following the new supplied tie-points.
boost::numeric::ublas::matrix< double > m_computeParameters_YI
std::vector< double > m_directParameters
Transformation numeric direct parameters.
GeometricTransformation * clone() const
Creat a clone copy of this instance.
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).
boost::numeric::ublas::matrix< double > m_computeParameters_A
bool GetPseudoInverseMatrix(const boost::numeric::ublas::matrix< T > &inputMatrix, boost::numeric::ublas::matrix< T > &outputMatrix)
Pseudo matrix inversion.
boost::numeric::ublas::matrix< double > m_computeParameters_PinvW
boost::numeric::ublas::matrix< double > m_computeParameters_AI
boost::numeric::ublas::matrix< double > m_computeParameters_Y
Third Degree Polynomial Geometric transformation.
const std::string & getName() const
Returns the current transformation name.
boost::numeric::ublas::matrix< double > m_computeParameters_PinvWI
boost::numeric::ublas::matrix< double > m_computeParameters_BI
unsigned int m_computeParameters_tiepointsSize
boost::numeric::ublas::matrix< double > m_computeParameters_WI
std::vector< double > m_inverseParameters
Transformation numeric inverse parameters.
~ThirdDegreePolynomialGT()
Destructor.
2D Geometric transformation parameters.
ThirdDegreePolynomialGT()
Default constructor.
boost::numeric::ublas::matrix< double > m_computeParameters_B
boost::numeric::ublas::matrix< double > m_computeParameters_XI
boost::numeric::ublas::matrix< double > m_computeParameters_W
unsigned int getMinRequiredTiePoints() const
Returns the minimum number of required tie-points for the current transformation. ...