26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOMETRICTRANSFORMATION_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_GEOMETRICTRANSFORMATION_H
37 #include <boost/noncopyable.hpp>
70 virtual const std::string&
getName()
const = 0;
88 return isValid(m_internalParameters);
107 return m_internalParameters;
123 double& pt2Y)
const = 0;
138 assert(isValid(m_internalParameters));
140 directMap(m_internalParameters, pt1X, pt1Y, pt2X, pt2Y);
152 directMap(params, pt1.
x, pt1.
y, pt2.
x, pt2.
y);
163 assert(isValid(m_internalParameters));
165 directMap(m_internalParameters, pt1.
x, pt1.
y, pt2.
x, pt2.
y);
181 double& pt1Y)
const = 0;
196 assert(isValid(m_internalParameters));
198 inverseMap(m_internalParameters, pt2X, pt2Y, pt1X, pt1Y);
210 inverseMap(params, pt2.
x, pt2.
y, pt1.
x, pt1.
y);
221 assert(isValid(m_internalParameters));
223 inverseMap(m_internalParameters, pt2.
x, pt2.
y, pt1.
x, pt1.
y);
242 return getMaxDirectMappingError(m_internalParameters);
261 return getMaxInverseMappingError( m_internalParameters );
285 return getDirectMapRMSE( params.
m_tiePoints, params );
297 return getDirectMapRMSE( tiePoints, m_internalParameters );
307 return getDirectMapRMSE( m_internalParameters );
331 return getInverseMapRMSE( params.
m_tiePoints, params );
343 return getInverseMapRMSE( tiePoints, m_internalParameters );
353 return getInverseMapRMSE( m_internalParameters );
376 return getDirectMappingError( tiePoint, m_internalParameters );
399 return getInverseMappingError( tiePoint, m_internalParameters );
2D Geometric transformation parameters.
2D Geometric transformation tie-points filter (outliers remotion).
2D Geometric transformation parameters.
std::vector< TiePoint > m_tiePoints
Tie points.
std::pair< Coord2D, Coord2D > TiePoint
Tie point type definition.
An utility struct for representing 2D coordinates.
#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).