Go to the documentation of this file.
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
97 const double allowedMaxDirectMapError,
98 const double allowedMaxInverseMapError,
100 const bool enableMultiThread,
102 const std::vector< double >& tiePointsWeights,
103 std::vector< te::gm::GTParameters::TiePoint >& outTiePoints,
104 std::unique_ptr< GeometricTransformation >& outTransf
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
RansacIntegerCounterT * m_dynamicMaxConsLowQualityIterationsPtr
Parameters used by the GTFilter::applyRansacThreadEntry method.
ApplyRansacThreadEntryThreadParams()
~ApplyRansacThreadEntryThreadParams()
ApplyRansacThreadEntryThreadParams(const ApplyRansacThreadEntryThreadParams &other)
RansacIntegerCounterT * m_globalConsecutiveLowQualitySetsCounterPtr
double * m_maxFoundGlobalItIMapErrorPtr
const ApplyRansacThreadEntryThreadParams & operator=(const ApplyRansacThreadEntryThreadParams &other)
RansacSetData * m_bestSetDataPtr
static RansacIntegerCounterT getExcpectedIterationsNumber(const unsigned int goodTPNumber, const unsigned int totalTPNumber, const unsigned int modelRequiredTPNumber)
Returns the number of expected iterations to be performed.
std::vector< te::gm::GTParameters::TiePoint > m_tiePoins
unsigned long int RansacIntegerCounterT
RANSAC integer counter type.
Parameters used by the GTFilter::applyRansacThreadEntry method.
bool m_useDynamicIterationsNumber
2D Geometric transformation parameters.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
static void applyRansacThreadEntry(te::gm::GTFilter::ApplyRansacThreadEntryThreadParams *paramsPtr)
Surf locator thread entry.
RansacIntegerCounterT m_procsNumber
double m_maxDirectMapError
long double RansacFloatCounterT
RANSAC floating point counter type.
GTParameters m_transformationParams
std::map< double, GTParameters::TiePoint > const * m_tpsMapPtr
A map from accumulated probabilities (normalized between 0 and 1) to tie-points data.
RansacIntegerCounterT * m_globalIterationsCounterPtr
static void getTPsConvexHullArea(const std::vector< GTParameters::TiePoint > &tiePoints, double &area1, double &area2)
Returns the tie-points convex hull area.
RansacIntegerCounterT * m_globalConsInvalidIterationsCounterPtr
double m_allowedMaxDirectMapError
double * m_maxFoundGlobalItDMapErrorPtr
2D Geometric transformation parameters.
RansacIntegerCounterT * m_dynamicMaxConsInvalidIterationsPtr
GTParameters const * m_inputGTParamsPtr
GTFilter()
Default constructor.
bool * m_keepRunningFlagPtr
RANSACAreaRestrictionType m_areaRestT
2D Geometric transformation tie-points filter (outliers remotion).
RansacIntegerCounterT * m_dynamicMaxIterationsPtr
Proxy configuration file for TerraView (see terraview_config.h).
RANSACAreaRestrictionType
double m_maxInverseMapError
bool applyRansac(const std::string &transfName, const GTParameters &inputParams, const double allowedMaxDirectMapError, const double allowedMaxInverseMapError, const RansacIntegerCounterT &maxIterations, const bool enableMultiThread, const RANSACAreaRestrictionType areaRestT, const std::vector< double > &tiePointsWeights, std::vector< te::gm::GTParameters::TiePoint > &outTiePoints, std::unique_ptr< GeometricTransformation > &outTransf)
Apply a RANSAC based outliers remotion strategy.
double m_allowedMaxInverseMapError