26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_GTFILTER_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_GTFILTER_H
40 #include <boost/noncopyable.hpp>
41 #include <boost/thread.hpp>
86 bool applyRansac(
const std::string& transfName,
88 const double maxDirectMapError,
89 const double maxInverseMapError,
90 const RansacIntegerCounterT& maxIterations,
91 const double& assurance,
92 const bool enableMultiThread,
93 const std::vector< double >& tiePointsWeights,
94 std::vector< te::gm::GTParameters::TiePoint >& outTiePoints,
95 std::auto_ptr< GeometricTransformation >& outTransf
144 static double getPt1ConvexHullArea(
const std::vector<GTParameters::TiePoint>& tiePoints);
158 #endif // __TERRALIB_GEOMETRY_INTERNAL_GTFILTER_H
long double RansacFloatCounterT
RANSAC floating point counter type.
boost::mutex * m_mutexPtr
2D Geometric transformation parameters.
double * m_bestParamsMaxDMapErrorPtr
unsigned long int RansacIntegerCounterT
RANSAC integer counter type.
double m_maxDirectMapError
std::map< double, GTParameters::TiePoint > const * m_tpsMapPtr
A map from accumulated probabilities (normalized between 0 and 1) to tie-points data.
RansacIntegerCounterT m_procsNumber
2D Geometric transformation tie-points filter (outliers remotion).
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::vector< te::gm::GTParameters::TiePoint > * m_bestTiePoinsPtr
Parameters used by the GTFilter::applyRansacThreadEntry method.
bool m_useDynamicIterationsNumber
GTParameters const * m_inputGTParamsPtr
double * m_bestParamsConvexHullAreaPtr
double m_maxInverseMapError
std::auto_ptr< GeometricTransformation > * m_bestTransformationPtrPtr
2D Geometric transformation parameters.
Configuration flags for the Vector Geometry Model of TerraLib.
bool * m_keepRunningFlagPtr
double * m_bestParamsMaxIMapErrorPtr
RansacIntegerCounterT * m_dynamicMaxIterationsPtr
std::string const * m_transfNamePtr