26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_PROJECTIVEGT_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_PROJECTIVEGT_H
34 #include <boost/concept_check.hpp>
35 #include <boost/numeric/ublas/matrix.hpp>
88 const double& pt1Y,
double& pt2X,
double& pt2Y )
const;
91 const double& pt2Y,
double& pt1X,
double& pt1Y )
const;
2D Geometric transformation parameters.
2D Projective Geometric transformation.
const std::string & getName() const
Returns the current transformation name.
ProjectiveGT()
Default constructor.
boost::numeric::ublas::matrix< double > m_computeParameters_A_IM_t
boost::numeric::ublas::matrix< double > m_computeParameters_X_DM
unsigned int m_computeParameters_blockOffset
boost::numeric::ublas::matrix< double > m_computeParameters_N_DM
boost::numeric::ublas::matrix< double > m_computeParameters_N_IM
unsigned int m_computeParameters_index2
boost::numeric::ublas::matrix< double > m_computeParameters_N_IM_inv
boost::numeric::ublas::matrix< double > m_computeParameters_A_DM_t
boost::numeric::ublas::matrix< double > m_computeParameters_A_DM
boost::numeric::ublas::matrix< double > m_computeParameters_L_IM
boost::numeric::ublas::matrix< double > m_computeParameters_U_IM
GeometricTransformation * clone() const
Creat a clone copy of this instance.
unsigned int getMinRequiredTiePoints() const
Returns the minimum number of required tie-points for the current 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.
unsigned int m_computeParameters_index1
boost::numeric::ublas::matrix< double > m_computeParameters_X_IM
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_U_DM
boost::numeric::ublas::matrix< double > m_computeParameters_N_DM_inv
unsigned int m_computeParameters_tiepointsSize
~ProjectiveGT()
Destructor.
bool isValid(const GTParameters ¶ms) const
Verifies if the supplied parameters already has a valid transformation.
boost::numeric::ublas::matrix< double > m_computeParameters_A_IM
boost::numeric::ublas::matrix< double > m_computeParameters_L_DM
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).