26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_GTFILTER_H 27 #define __TERRALIB_GEOMETRY_INTERNAL_GTFILTER_H 66 RANSAC_NO_AREA_REST = 0,
67 RANSAC_BBOX_AREA_REST = 1,
68 RANSAC_CHULL_AREA_REST = 2
95 bool applyRansac(
const std::string& transfName,
97 const double allowedMaxDirectMapError,
98 const double allowedMaxInverseMapError,
99 const RansacIntegerCounterT& maxIterations,
100 const bool enableMultiThread,
101 const RANSACAreaRestrictionType areaRestT,
102 const std::vector< double >& tiePointsWeights,
103 std::vector< te::gm::GTParameters::TiePoint >& outTiePoints,
104 std::unique_ptr< GeometricTransformation >& outTransf
177 static void getTPsConvexHullArea(
178 const std::vector<GTParameters::TiePoint>& tiePoints,
179 double& area1,
double& area2 );
196 const unsigned int goodTPNumber,
197 const unsigned int totalTPNumber,
198 const unsigned int modelRequiredTPNumber );
205 #endif // __TERRALIB_GEOMETRY_INTERNAL_GTFILTER_H long double RansacFloatCounterT
RANSAC floating point counter type.
std::vector< te::gm::GTParameters::TiePoint > m_tiePoins
2D Geometric transformation parameters.
double m_maxDirectMapError
unsigned long int RansacIntegerCounterT
RANSAC integer counter type.
double * m_maxFoundGlobalItIMapErrorPtr
RANSACAreaRestrictionType
std::map< double, GTParameters::TiePoint > const * m_tpsMapPtr
A map from accumulated probabilities (normalized between 0 and 1) to tie-points data.
RansacIntegerCounterT * m_globalConsecutiveLowQualitySetsCounterPtr
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.
Parameters used by the GTFilter::applyRansacThreadEntry method.
RANSACAreaRestrictionType m_areaRestT
bool m_useDynamicIterationsNumber
GTParameters m_transformationParams
double m_allowedMaxInverseMapError
GTParameters const * m_inputGTParamsPtr
RansacIntegerCounterT * m_globalIterationsCounterPtr
Parameters used by the GTFilter::applyRansacThreadEntry method.
RansacIntegerCounterT * m_dynamicMaxConsInvalidIterationsPtr
2D Geometric transformation parameters.
RansacSetData * m_bestSetDataPtr
double m_allowedMaxDirectMapError
RansacIntegerCounterT * m_globalConsInvalidIterationsCounterPtr
RansacIntegerCounterT * m_dynamicMaxConsLowQualityIterationsPtr
Configuration flags for the Vector Geometry Model of TerraLib.
bool * m_keepRunningFlagPtr
RansacIntegerCounterT * m_dynamicMaxIterationsPtr
double * m_maxFoundGlobalItDMapErrorPtr
double m_maxInverseMapError