27 #include "../common/MatrixUtils.h" 39 static std::string name(
"Projective" );
50 const double& pt1Y,
double& pt2X,
double& pt2Y )
const 80 const double& pt2Y,
double& pt1X,
double& pt1Y )
const boost::numeric::ublas::matrix< double > m_computeParameters_X_IM
boost::numeric::ublas::matrix< double > m_computeParameters_A_DM
boost::numeric::ublas::matrix< double > m_computeParameters_A_IM
ProjectiveGT()
Default constructor.
std::vector< TiePoint > m_tiePoints
Tie points.
boost::numeric::ublas::matrix< double > m_computeParameters_U_DM
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_N_DM_inv
std::vector< double > m_directParameters
Transformation numeric direct parameters.
An utility struct for representing 2D coordinates.
boost::numeric::ublas::matrix< double > m_computeParameters_N_DM
2D Projective Geometric transformation.
const std::string & getName() const
Returns the current transformation name.
void inverseMap(const GTParameters ¶ms, const double &pt2X, const double &pt2Y, double &pt1X, double &pt1Y) const
Inverse mapping (from pt2 space into pt1 space).
GeometricTransformation * clone() const
Creat a clone copy of this instance.
boost::numeric::ublas::matrix< double > m_computeParameters_X_DM
unsigned int m_computeParameters_tiepointsSize
2D Projective Geometric transformation.
boost::numeric::ublas::matrix< double > m_computeParameters_L_DM
unsigned int m_computeParameters_blockOffset
boost::numeric::ublas::matrix< double > m_computeParameters_N_IM
unsigned int m_computeParameters_index1
boost::numeric::ublas::matrix< double > m_computeParameters_U_IM
boost::numeric::ublas::matrix< double > m_computeParameters_A_IM_t
boost::numeric::ublas::matrix< double > m_computeParameters_A_DM_t
bool computeParameters(GTParameters ¶ms) const
Calculate the transformation parameters following the new supplied tie-points.
unsigned int m_computeParameters_index2
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.
2D Geometric transformation parameters.
unsigned int getMinRequiredTiePoints() const
Returns the minimum number of required tie-points for the current transformation. ...
boost::numeric::ublas::matrix< double > m_computeParameters_L_IM
~ProjectiveGT()
Destructor.
boost::numeric::ublas::matrix< double > m_computeParameters_N_IM_inv