#include <PointToPlane.h>
Public Member Functions | |
virtual TransformationParameters | compute (const ErrorElements &mPts) |
Find the transformation that minimizes the error given matched pair of points. This function most be defined for all new instances of ErrorMinimizer. More... | |
TransformationParameters | compute_in_place (ErrorElements &mPts) |
virtual T | getOverlap () const |
If not redefined by child class, return the ratio of how many points were used (with weight) for error minimization. More... | |
virtual T | getResidualError (const DataPoints &filteredReading, const DataPoints &filteredReference, const OutlierWeights &outlierWeights, const Matches &matches) const |
If not redefined by child class, return max value for T. More... | |
virtual const std::string | name () |
PointToPlaneErrorMinimizer (const Parameters ¶ms=Parameters()) | |
PointToPlaneErrorMinimizer (const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Public Member Functions inherited from PointMatcher< T >::ErrorMinimizer | |
virtual TransformationParameters | compute (const DataPoints &filteredReading, const DataPoints &filteredReference, const OutlierWeights &outlierWeights, const Matches &matches) |
Find the transformation that minimizes the error. More... | |
ErrorMinimizer () | |
Construct without parameter. More... | |
ErrorMinimizer (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. More... | |
virtual Matrix | getCovariance () const |
If not redefined by child class, return zero matrix. More... | |
ErrorElements | getErrorElements () const |
Return the last the ErrorElements structure that was used for error minimization. More... | |
T | getPointUsedRatio () const |
Return the ratio of how many points were used for error minimization. More... | |
T | getWeightedPointUsedRatio () const |
Return the ratio of how many points were used (with weight) for error minimization. More... | |
virtual | ~ErrorMinimizer () |
virtual destructor More... | |
Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
S | get (const std::string ¶mName) |
Return the value of paramName, lexically-casted to S. More... | |
std::string | getParamValueString (const std::string ¶mName) |
Get the value of a parameter, as a string. More... | |
Parametrizable () | |
Construct a documentation of parameters from a description in the source. More... | |
Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with documented parameters. More... | |
virtual | ~Parametrizable () |
Virtual destructor, do nothing. More... | |
Static Public Member Functions | |
static const ParametersDoc | availableParameters () |
static T | computeResidualError (ErrorElements mPts, const bool &force2D) |
static const std::string | description () |
Static Public Member Functions inherited from PointMatcher< T >::ErrorMinimizer | |
static Matrix | crossProduct (const Matrix &A, const Matrix &B) |
Helper funtion doing the cross product in 3D and a pseudo cross product in 2D. More... | |
Static Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
static bool | Comp (std::string a, std::string b) |
Return whether a < b, lexically casted to S. More... | |
Public Attributes | |
const bool | force2D |
const bool | force4DOF |
Public Attributes inherited from PointMatcherSupport::Parametrizable | |
const std::string | className |
name of the class More... | |
Parameters | parameters |
parameters with their values encoded in string More... | |
const ParametersDoc | parametersDoc |
documentation of parameters More... | |
ParametersUsed | parametersUsed |
parameters whose value has actually been read More... | |
Additional Inherited Members | |
Protected Attributes inherited from PointMatcher< T >::ErrorMinimizer | |
ErrorElements | lastErrorElements |
memory of the last computed error More... | |
Definition at line 42 of file PointToPlane.h.
typedef PointMatcher<T>::DataPoints PointToPlaneErrorMinimizer< T >::DataPoints |
Definition at line 50 of file PointToPlane.h.
typedef PointMatcher<T>::ErrorMinimizer::ErrorElements PointToPlaneErrorMinimizer< T >::ErrorElements |
Definition at line 54 of file PointToPlane.h.
typedef PointMatcher<T>::ErrorMinimizer PointToPlaneErrorMinimizer< T >::ErrorMinimizer |
Definition at line 53 of file PointToPlane.h.
typedef PointMatcher<T>::Matches PointToPlaneErrorMinimizer< T >::Matches |
Definition at line 51 of file PointToPlane.h.
typedef PointMatcher<T>::Matrix PointToPlaneErrorMinimizer< T >::Matrix |
Definition at line 57 of file PointToPlane.h.
typedef PointMatcher<T>::OutlierWeights PointToPlaneErrorMinimizer< T >::OutlierWeights |
Definition at line 52 of file PointToPlane.h.
typedef PointMatcherSupport::Parametrizable PointToPlaneErrorMinimizer< T >::P |
Definition at line 45 of file PointToPlane.h.
typedef Parametrizable::ParameterDoc PointToPlaneErrorMinimizer< T >::ParameterDoc |
Definition at line 47 of file PointToPlane.h.
typedef Parametrizable::Parameters PointToPlaneErrorMinimizer< T >::Parameters |
Definition at line 46 of file PointToPlane.h.
typedef Parametrizable::ParametersDoc PointToPlaneErrorMinimizer< T >::ParametersDoc |
Definition at line 48 of file PointToPlane.h.
typedef PointMatcherSupport::Parametrizable PointToPlaneErrorMinimizer< T >::Parametrizable |
Definition at line 44 of file PointToPlane.h.
typedef PointMatcher<T>::TransformationParameters PointToPlaneErrorMinimizer< T >::TransformationParameters |
Definition at line 55 of file PointToPlane.h.
typedef PointMatcher<T>::Vector PointToPlaneErrorMinimizer< T >::Vector |
Definition at line 56 of file PointToPlane.h.
PointToPlaneErrorMinimizer< T >::PointToPlaneErrorMinimizer | ( | const Parameters & | params = Parameters() | ) |
Definition at line 54 of file PointToPlane.cpp.
PointToPlaneErrorMinimizer< T >::PointToPlaneErrorMinimizer | ( | const ParametersDoc | paramsDoc, |
const Parameters & | params | ||
) |
Definition at line 81 of file PointToPlane.cpp.
|
inlinestatic |
Definition at line 69 of file PointToPlane.h.
|
virtual |
Find the transformation that minimizes the error given matched pair of points. This function most be defined for all new instances of ErrorMinimizer.
Implements PointMatcher< T >::ErrorMinimizer.
Reimplemented in PointToPlaneWithCovErrorMinimizer< T >.
Definition at line 164 of file PointToPlane.cpp.
PointMatcher< T >::TransformationParameters PointToPlaneErrorMinimizer< T >::compute_in_place | ( | ErrorElements & | mPts | ) |
Definition at line 172 of file PointToPlane.cpp.
|
static |
Definition at line 316 of file PointToPlane.cpp.
|
inlinestatic |
Definition at line 64 of file PointToPlane.h.
|
virtual |
If not redefined by child class, return the ratio of how many points were used (with weight) for error minimization.
Reimplemented from PointMatcher< T >::ErrorMinimizer.
Definition at line 370 of file PointToPlane.cpp.
|
virtual |
If not redefined by child class, return max value for T.
Reimplemented from PointMatcher< T >::ErrorMinimizer.
Definition at line 355 of file PointToPlane.cpp.
|
inlinevirtual |
Reimplemented in PointToPlaneWithCovErrorMinimizer< T >.
Definition at line 59 of file PointToPlane.h.
const bool PointToPlaneErrorMinimizer< T >::force2D |
Definition at line 78 of file PointToPlane.h.
const bool PointToPlaneErrorMinimizer< T >::force4DOF |
Definition at line 79 of file PointToPlane.h.