2D Geometric transformation tie-points filter (outliers remotion).
More...
#include <GTFilter.h>
2D Geometric transformation tie-points filter (outliers remotion).
Definition at line 52 of file GTFilter.h.
◆ RansacFloatCounterT
RANSAC floating point counter type.
Definition at line 60 of file GTFilter.h.
◆ RansacIntegerCounterT
RANSAC integer counter type.
Definition at line 57 of file GTFilter.h.
◆ GTFilter()
te::gm::GTFilter::GTFilter |
( |
| ) |
|
◆ ~GTFilter()
te::gm::GTFilter::~GTFilter |
( |
| ) |
|
◆ applyRansac()
bool te::gm::GTFilter::applyRansac |
( |
const std::string & |
transfName, |
|
|
const GTParameters & |
inputParams, |
|
|
const double |
maxDirectMapError, |
|
|
const double |
maxInverseMapError, |
|
|
const RansacIntegerCounterT & |
maxIterations, |
|
|
const double & |
assurance, |
|
|
const bool |
enableMultiThread, |
|
|
const std::vector< double > & |
tiePointsWeights, |
|
|
std::vector< te::gm::GTParameters::TiePoint > & |
outTiePoints, |
|
|
std::unique_ptr< GeometricTransformation > & |
outTransf |
|
) |
| |
Apply a RANSAC based outliers remotion strategy.
- Parameters
-
transfName | Transformation name (see te::gm::GTFactory dictionary for reference). |
inputParams | Input transformation parameters. |
maxDirectMapError | The maximum allowed direct mapping error. |
maxInverseMapError | The maximum allowed inverse mapping error. |
maxIterations | The maximum number of iterations (Use 0-zero to let this number be automatically found). |
assurance | The error-free selection assurance - valid range (0-1) - Use Lower values for good tie-points sets - Higher values may increase the number of iterations. |
enableMultiThread | Enable multi-threaded processing (good for multi-processor or multi-core systems). |
outTransf | The generated output transformation (with the base mininum required tie-points set). |
tiePointsWeights | Optional tie-points weights (only positive values) or an empty vector if no weights must be used. |
outTiePoints | The filtered output tie-points (non-outliers) in agreenment with the generated transformation. |
- Returns
- true if OK, false on errors.
- Note
- Reference: Martin A. Fischler and Robert C. Bolles, Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography, Communications of the ACM archive, Volume 24, Issue 6 (June 1981).
◆ applyRansacThreadEntry()
Surf locator thread entry.
- Parameters
-
paramsPtr | A pointer to the thread parameters. |
◆ getPt1ConvexHullArea()
static double te::gm::GTFilter::getPt1ConvexHullArea |
( |
const std::vector< GTParameters::TiePoint > & |
tiePoints | ) |
|
|
staticprivate |
Returns the tie-points convex hull area (GTParameters::TiePoint::first).
- Parameters
-
- Returns
- The tie-points convex hull area
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/geometry/GTFilter.h