TerraLib 4.1
TeGTParams Class Reference

Geometric transformation parameters. More...

#include <TeGTParams.h>

List of all members.

Public Member Functions

Class methods.

Class methods.

 TeGTParams ()
 Default constructor.
 TeGTParams (const TeGTParams &external)
 Alternative constructor.
 ~TeGTParams ()
 Default Destructor.
const TeGTParamsoperator= (const TeGTParams &external)
 operator= implementation.
std::string decName () const
 This is for TeFactory compatibility.
void reset ()
 Reset to the default parameters.
bool operator== (const TeGTParams &external) const

Public Attributes

Outliers remotion strategy used parameters.

Used when an outlier remotion strategy (other than NoOutRemotion) is used.

double max_dmap_error_
 The maximum allowed direct mapping error.
double max_imap_error_
 The maximum allowed inverse mapping error.
double max_dmap_rmse_
 The maximum allowed direct mapping mean square error.
double max_imap_rmse_
 The maximum allowed inverse mapping mean square error.
std::vector< double > tiePointsWeights_
 The current transformation tie-points weights.
Projective transformation parameters.

Projective transformation parameters.

TeMatrix WMatrix_
 The weight matrix used by least square method.
unsigned int maxIters_
 The maximun number of iterations while processing.
double tolerance_
 The tolerance used while executing an iterative processing.
bool useAdaptiveParams_
 Indicates whether use adaptive parameters or not.
double deltaX_
 Adaptive parameter.
double deltaY_
 Adaptive parameter.
double deltaU_
 Adaptive parameter.
double deltaV_
 Adaptive parameter.

General parameters.

Used by all transformations..

enum  OutRemStrategy { NoOutRemotion, ExaustiveOutRemotion, LWOutRemotion, RANSACRemotion }
typedef TeSharedPtr< TeGTParamspointer
std::string transformation_name_
 Transformation name.
OutRemStrategy out_rem_strat_
 The outliers remotion strategy.
TeMatrix direct_parameters_
 The current direct mapping transformation parameters.
TeMatrix inverse_parameters_
 The current inverse mapping transformation parameters.
std::vector< TeCoordPairtiepoints_
 The current transformation tie-points.
bool enable_multi_thread_
 Enable/disable multi-thread processing (when available (default=true).

Detailed Description

Geometric transformation parameters.

Author:
Emiliano F. Castejon <castejon@dpi.inpe.br>
Examples:

TePDIBlender_test.cpp, TePDIMMIOMatching_test.cpp, TePDIMosaic_test.cpp, and TePDIOFMatching_test.cpp.


Member Typedef Documentation

Type definition for a TeGTParams instance pointer.


Member Enumeration Documentation

Outliers remotion strategy.

Note:
When using an outliers remotion strategy only the general parameters and the outliers remotion parameters will be considered.
Enumerator:
NoOutRemotion 

No outliers remotion applied.

ExaustiveOutRemotion 

Exaustive outliers remotion (all possible tie-points combinations will be tested.

LWOutRemotion 

Iteractive leave-worse-out) will remotion be performed.

Note:
This method will use the optional parameter tiePointsWeights_ if it is available.
RANSACRemotion 

Random Sample Consensus based outliers remotion will be applied.

Note:
This method will use the optional parameter tiePointsWeights_ if it is available.
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)

Constructor & Destructor Documentation

TeGTParams::TeGTParams ( )

Default constructor.

TeGTParams::TeGTParams ( const TeGTParams external)

Alternative constructor.

Parameters:
externalExternal reference.
TeGTParams::~TeGTParams ( )

Default Destructor.


Member Function Documentation

std::string TeGTParams::decName ( ) const

This is for TeFactory compatibility.

const TeGTParams & TeGTParams::operator= ( const TeGTParams external)

operator= implementation.

Parameters:
externalExternal reference.
Returns:
A const reference to the external object instance.
bool TeGTParams::operator== ( const TeGTParams external) const
void TeGTParams::reset ( )

Reset to the default parameters.


Member Data Documentation

Adaptive parameter.

Note:
Default value = 0.

Adaptive parameter.

Note:
Default value = 0.

Adaptive parameter.

Note:
Default value = 0.

Adaptive parameter.

Note:
Default value = 0.

The current direct mapping transformation parameters.

Note:
Default value = An empty matrix.
Examples:
TePDIBlender_test.cpp.

Enable/disable multi-thread processing (when available (default=true).

The current inverse mapping transformation parameters.

Note:
Default value = An empty matrix.
Examples:
TePDIBlender_test.cpp.

The maximum allowed direct mapping error.

Note:
Default value = Positive infinite.
Examples:
TePDIMMIOMatching_test.cpp, and TePDIOFMatching_test.cpp.

The maximum allowed direct mapping mean square error.

Note:
Default value = Positive infinite.
Examples:
TePDIOFMatching_test.cpp.

The maximum allowed inverse mapping error.

Note:
Default value = Positive infinite.
Examples:
TePDIMMIOMatching_test.cpp, and TePDIOFMatching_test.cpp.

The maximum allowed inverse mapping mean square error.

Note:
Default value = Positive infinite.
Examples:
TePDIOFMatching_test.cpp.
unsigned int TeGTParams::maxIters_

The maximun number of iterations while processing.

Note:
Default value = 20.

The outliers remotion strategy.

Note:
Default value = NoOutRemotion.
Examples:
TePDIMMIOMatching_test.cpp, TePDIMosaic_test.cpp, and TePDIOFMatching_test.cpp.

The current transformation tie-points.

Note:
Default value = An empty vector.
Examples:
TePDIBlender_test.cpp, and TePDIMosaic_test.cpp.
std::vector< double > TeGTParams::tiePointsWeights_

The current transformation tie-points weights.

Note:
Only positive values are allowed.

The tolerance used while executing an iterative processing.

Note:
Default value = 0.0001.

Indicates whether use adaptive parameters or not.

Note:
Default value = false.

The weight matrix used by least square method.

Note:
Default value = empty matrix.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines