2D Affine Geometric transformation. More...
#include <AffineGT.h>
  
Public Member Functions | |
| AffineGT () | |
| Default constructor.  More... | |
| GeometricTransformation * | clone () const | 
| Creat a clone copy of this instance.  More... | |
| void | directMap (const Coord2D &pt1, Coord2D &pt2) const | 
| Direct mapping (from pt1 space into pt2 space).  More... | |
| void | directMap (const double &pt1X, const double &pt1Y, double &pt2X, double &pt2Y) const | 
| Direct mapping ( from pt1 space into pt2 space ).  More... | |
| void | directMap (const GTParameters ¶ms, const Coord2D &pt1, Coord2D &pt2) const | 
| Direct mapping (from pt1 space into pt2 space).  More... | |
| void | directMap (const GTParameters ¶ms, const double &pt1X, const double &pt1Y, double &pt2X, double &pt2Y) const | 
| Direct mapping (from pt1 space into pt2 space).  More... | |
| double | getDirectMappingError (const GTParameters::TiePoint &tiePoint) const | 
| Calculates the direct mapping error for the supplied tie-point.  More... | |
| double | getDirectMappingError (const GTParameters::TiePoint &tiePoint, const GTParameters ¶ms) const | 
| Calculates the direct mapping error for the supplied tie-point.  More... | |
| double | getDirectMapRMSE () const | 
| Calculates root mean square direct mapping error.  More... | |
| double | getDirectMapRMSE (const GTParameters ¶ms) const | 
| Calculates root mean square direct mapping error for the supplied parameters.  More... | |
| double | getDirectMapRMSE (const std::vector< GTParameters::TiePoint > &tiePoints) const | 
| Calculates root mean square direct mapping error for the supplied tie-points.  More... | |
| double | getDirectMapRMSE (const std::vector< GTParameters::TiePoint > &tiePoints, const GTParameters ¶ms) const | 
| Calculates root mean square direct mapping error for the supplied tie-points using the supplied parameters.  More... | |
| double | getInverseMappingError (const GTParameters::TiePoint &tiePoint) const | 
| Calculates the inverse mapping error for the supplied tie-point.  More... | |
| double | getInverseMappingError (const GTParameters::TiePoint &tiePoint, const GTParameters ¶ms) const | 
| Calculates the inverse mapping error for the supplied tie-point.  More... | |
| double | getInverseMapRMSE () const | 
| Calculates root mean square inverse mapping error.  More... | |
| double | getInverseMapRMSE (const GTParameters ¶ms) const | 
| Calculates root mean square inverse mapping error for the supplied parameters.  More... | |
| double | getInverseMapRMSE (const std::vector< GTParameters::TiePoint > &tiePoints) const | 
| Calculates root mean square inverse mapping error for the supplied tie-points.  More... | |
| double | getInverseMapRMSE (const std::vector< GTParameters::TiePoint > &tiePoints, const GTParameters ¶ms) const | 
| Calculates root mean square inverse mapping error for the supplied tie-points using the supplied parameters.  More... | |
| double | getMaxDirectMappingError () const | 
| Calculates the current transformation maximum direct mapping error.  More... | |
| double | getMaxDirectMappingError (const GTParameters ¶ms) const | 
| Calculates maximum direct mapping error for the supplied parameters.  More... | |
| double | getMaxInverseMappingError () const | 
| Calculates the current transformation maximum inverse mapping error.  More... | |
| double | getMaxInverseMappingError (const GTParameters ¶ms) const | 
| Calculates maximum inverse mapping error for the supplied parameters.  More... | |
| unsigned int | getMinRequiredTiePoints () const | 
| Returns the minimum number of required tie-points for the current transformation.  More... | |
| const std::string & | getName () const | 
| Returns the current transformation name.  More... | |
| const GTParameters & | getParameters () const | 
| Returns a reference of the current internal transformation parameters.  More... | |
| bool | initialize (const GTParameters &newParameters) | 
| Initialize the current transformation following the new supplied parameters.  More... | |
| void | inverseMap (const Coord2D &pt2, Coord2D &pt1) const | 
| Inverse mapping (from pt2 space into pt1 space).  More... | |
| void | inverseMap (const double &pt2X, const double &pt2Y, double &pt1X, double &pt1Y) const | 
| Inverse mapping (from pt2 space into pt1 space).  More... | |
| void | inverseMap (const GTParameters ¶ms, const Coord2D &pt2, Coord2D &pt1) const | 
| Inverse mapping ( from pt2 space into pt1 space ).  More... | |
| void | inverseMap (const GTParameters ¶ms, const double &pt2X, const double &pt2Y, double &pt1X, double &pt1Y) const | 
| Inverse mapping (from pt2 space into pt1 space).  More... | |
| bool | isValid () const | 
| Tells if the current instance has a valid transformation.  More... | |
| bool | isValid (const GTParameters ¶ms) const | 
| Verifies if the supplied parameters already has a valid transformation.  More... | |
| ~AffineGT () | |
| Destructor.  More... | |
Static Public Member Functions | |
| static bool | decompose (const std::vector< double > &transfParams, double &translationX, double &translationY, double &scalingFactorX, double &scalingFactorY, double &skew, double &squeeze, double &scaling, double &rotation) | 
| Returns the basic set of transform parameters given by the decomposition of a given affine transformation parameters as described above.  More... | |
Protected Member Functions | |
| bool | computeParameters (GTParameters ¶ms) const | 
| Calculate the transformation parameters following the new supplied tie-points.  More... | |
Protected Attributes | |
| boost::numeric::ublas::matrix< double > | m_computeParameters_A | 
| boost::numeric::ublas::matrix< double > | m_computeParameters_At | 
| unsigned int | m_computeParameters_index1 | 
| unsigned int | m_computeParameters_index2 | 
| boost::numeric::ublas::matrix< double > | m_computeParameters_L | 
| boost::numeric::ublas::matrix< double > | m_computeParameters_N | 
| boost::numeric::ublas::matrix< double > | m_computeParameters_N_inv | 
| unsigned int | m_computeParameters_tiepointsSize | 
| unsigned int | m_computeParameters_tpIdx | 
| boost::numeric::ublas::matrix< double > | m_computeParameters_U | 
| boost::numeric::ublas::matrix< double > | m_computeParameters_X | 
| boost::numeric::ublas::matrix< double > | m_computeParameters_XExpanded | 
| boost::numeric::ublas::matrix< double > | m_computeParameters_XExpandedInv | 
| GTParameters | m_internalParameters | 
| The current internal parameters.  More... | |
2D Affine Geometric transformation.
Definition at line 66 of file AffineGT.h.
| te::gm::AffineGT::AffineGT | ( | ) | 
Default constructor.
| te::gm::AffineGT::~AffineGT | ( | ) | 
Destructor.
      
  | 
  virtual | 
Creat a clone copy of this instance.
Implements te::gm::GeometricTransformation.
      
  | 
  protectedvirtual | 
Calculate the transformation parameters following the new supplied tie-points.
| params | Transformation parameters. | 
Implements te::gm::GeometricTransformation.
      
  | 
  static | 
Returns the basic set of transform parameters given by the decomposition of a given affine transformation parameters as described above.
| transfParams | Input affine transformation parameters. | 
| translationX | X axis translation (combination of a squeeze and scaling). | 
| translationY | Y axis translation (combination of a squeeze and scaling). | 
| scalingFactorX | X axis scaling. | 
| scalingFactorX | Y axis scaling. | 
| skew | Skew. | 
| squeeze | Aspect ratio changes. | 
| scaling | Uniform scaling. | 
| rotation | Rotation angle (radians). | 
      
  | 
  inlineinherited | 
Direct mapping (from pt1 space into pt2 space).
| pt1 | pt1 coordinate. | 
| pt2 | pt2 coordinate. | 
Definition at line 161 of file GeometricTransformation.h.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
      
  | 
  inlineinherited | 
Direct mapping ( from pt1 space into pt2 space ).
| pt1X | pt1 X coordinate. | 
| pt1Y | pt1 Y coordinate. | 
| pt2X | pt2 X coordinate. | 
| pt2Y | pt2 Y coordinate. | 
Definition at line 133 of file GeometricTransformation.h.
      
  | 
  inlineinherited | 
Direct mapping (from pt1 space into pt2 space).
| params | Transformation parameters. | 
| pt1 | pt1 coordinate. | 
| pt2 | pt2 coordinate. | 
Definition at line 150 of file GeometricTransformation.h.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
      
  | 
  virtual | 
Direct mapping (from pt1 space into pt2 space).
| params | Transformation parameters. | 
| pt1X | pt1 X coordinate. | 
| pt1Y | pt1 Y coordinate. | 
| pt2X | pt2 X coordinate. | 
| pt2Y | pt2 Y coordinate. | 
Implements te::gm::GeometricTransformation.
      
  | 
  inlineinherited | 
Calculates the direct mapping error for the supplied tie-point.
| tiePoint | The tie-point. | 
Definition at line 374 of file GeometricTransformation.h.
      
  | 
  inherited | 
Calculates the direct mapping error for the supplied tie-point.
| tiePoint | The tie-point. | 
| params | Transformation parameters. | 
      
  | 
  inlineinherited | 
Calculates root mean square direct mapping error.
Definition at line 305 of file GeometricTransformation.h.
      
  | 
  inlineinherited | 
Calculates root mean square direct mapping error for the supplied parameters.
| params | Transformation parameters. | 
Definition at line 283 of file GeometricTransformation.h.
References te::gm::GTParameters::m_tiePoints.
      
  | 
  inlineinherited | 
Calculates root mean square direct mapping error for the supplied tie-points.
| tiePoints | The tie-points. | 
Definition at line 295 of file GeometricTransformation.h.
      
  | 
  inherited | 
Calculates root mean square direct mapping error for the supplied tie-points using the supplied parameters.
| tiePoints | The tie-points. | 
| params | Transformation parameters. | 
      
  | 
  inlineinherited | 
Calculates the inverse mapping error for the supplied tie-point.
| tiePoint | The tie-point. | 
Definition at line 397 of file GeometricTransformation.h.
      
  | 
  inherited | 
Calculates the inverse mapping error for the supplied tie-point.
| tiePoint | The tie-point. | 
| params | Transformation parameters. | 
      
  | 
  inlineinherited | 
Calculates root mean square inverse mapping error.
Definition at line 351 of file GeometricTransformation.h.
      
  | 
  inlineinherited | 
Calculates root mean square inverse mapping error for the supplied parameters.
| params | Transformation parameters. | 
Definition at line 329 of file GeometricTransformation.h.
References te::gm::GTParameters::m_tiePoints.
      
  | 
  inlineinherited | 
Calculates root mean square inverse mapping error for the supplied tie-points.
| tiePoints | The tie-points. | 
Definition at line 341 of file GeometricTransformation.h.
      
  | 
  inherited | 
Calculates root mean square inverse mapping error for the supplied tie-points using the supplied parameters.
| tiePoints | The tie-points. | 
| params | Transformation parameters. | 
      
  | 
  inlineinherited | 
Calculates the current transformation maximum direct mapping error.
Definition at line 240 of file GeometricTransformation.h.
      
  | 
  inherited | 
Calculates maximum direct mapping error for the supplied parameters.
| params | Transformation parameters. | 
      
  | 
  inlineinherited | 
Calculates the current transformation maximum inverse mapping error.
Definition at line 259 of file GeometricTransformation.h.
      
  | 
  inherited | 
Calculates maximum inverse mapping error for the supplied parameters.
| params | Transformation parameters. | 
      
  | 
  virtual | 
Returns the minimum number of required tie-points for the current transformation.
Implements te::gm::GeometricTransformation.
      
  | 
  virtual | 
Returns the current transformation name.
Implements te::gm::GeometricTransformation.
      
  | 
  inlineinherited | 
Returns a reference of the current internal transformation parameters.
Definition at line 105 of file GeometricTransformation.h.
      
  | 
  inherited | 
Initialize the current transformation following the new supplied parameters.
| newparams | The new parameters. | 
      
  | 
  inlineinherited | 
Inverse mapping (from pt2 space into pt1 space).
| pt2 | pt2 coordinate. | 
| pt1 | pt1 coordinate. | 
Definition at line 219 of file GeometricTransformation.h.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
      
  | 
  inlineinherited | 
Inverse mapping (from pt2 space into pt1 space).
| pt1X | pt1 X coordinate. | 
| pt1Y | pt1 Y coordinate. | 
| pt2X | pt2 X coordinate. | 
| pt2Y | pt2 Y coordinate. | 
Definition at line 191 of file GeometricTransformation.h.
      
  | 
  inlineinherited | 
Inverse mapping ( from pt2 space into pt1 space ).
| params | Transformation parameters. | 
| pt2 | pt2 coordinate. | 
| pt1 | pt1 coordinate. | 
Definition at line 208 of file GeometricTransformation.h.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
      
  | 
  virtual | 
Inverse mapping (from pt2 space into pt1 space).
| params | Transformation parameters. | 
| pt1X | pt1 X coordinate. | 
| pt1Y | pt1 Y coordinate. | 
| pt2X | pt2 X coordinate. | 
| pt2Y | pt2 Y coordinate. | 
Implements te::gm::GeometricTransformation.
      
  | 
  inlineinherited | 
Tells if the current instance has a valid transformation.
Definition at line 86 of file GeometricTransformation.h.
      
  | 
  virtual | 
Verifies if the supplied parameters already has a valid transformation.
| params | Transformation parameters. | 
Implements te::gm::GeometricTransformation.
      
  | 
  mutableprotected | 
Definition at line 124 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 125 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 120 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 121 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 123 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 126 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 128 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 119 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 122 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 127 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 129 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 130 of file AffineGT.h.
      
  | 
  mutableprotected | 
Definition at line 131 of file AffineGT.h.
      
  | 
  protectedinherited | 
The current internal parameters.
Definition at line 432 of file GeometricTransformation.h.