#include <PointMatcher.h>
Public Member Functions | |
TransformationParameters | compute (const DataPoints &readingIn, const DataPoints &referenceIn, const TransformationParameters &initialTransformationParameters) |
Perform ICP from initial guess and return optimised transformation matrix. More... | |
const DataPoints & | getReadingFiltered () const |
Return the filtered point cloud reading used in the ICP chain. More... | |
TransformationParameters | operator() (const DataPoints &readingIn, const DataPoints &referenceIn) |
Perform ICP and return optimised transformation matrix. More... | |
TransformationParameters | operator() (const DataPoints &readingIn, const DataPoints &referenceIn, const TransformationParameters &initialTransformationParameters) |
Perform ICP from initial guess and return optimised transformation matrix. More... | |
Public Member Functions inherited from PointMatcher< T >::ICPChainBase | |
template<typename R > | |
const std::string & | createModuleFromRegistrar (const std::string ®Name, const YAML::Node &doc, const R ®istrar, std::shared_ptr< typename R::TargetType > &module) |
Instantiate a module if its name is in the YAML file. More... | |
template<typename R > | |
const std::string & | createModulesFromRegistrar (const std::string ®Name, const YAML::Node &doc, const R ®istrar, std::vector< std::shared_ptr< typename R::TargetType > > &modules) |
Instantiate modules if their names are in the YAML file. More... | |
bool | getMaxNumIterationsReached () const |
Return the flag that informs if we reached the maximum number of iterations during the last iterative process. More... | |
unsigned | getPrefilteredReadingPtsCount () const |
Return the remaining number of points in reading after prefiltering but before the iterative process. More... | |
unsigned | getPrefilteredReferencePtsCount () const |
Return the remaining number of points in the reference after prefiltering but before the iterative process. More... | |
virtual void | loadFromYaml (std::istream &in) |
Construct an ICP algorithm from a YAML file. More... | |
virtual void | setDefault () |
Construct an ICP algorithm that works in most of the cases. More... | |
virtual | ~ICPChainBase () |
virtual desctructor More... | |
Protected Member Functions | |
TransformationParameters | computeWithTransformedReference (const DataPoints &readingIn, const DataPoints &reference, const TransformationParameters &T_refIn_refMean, const TransformationParameters &initialTransformationParameters) |
Perferm ICP using an already-transformed reference and with an already-initialized matcher. More... | |
Protected Member Functions inherited from PointMatcher< T >::ICPChainBase | |
void | cleanup () |
Clean chain up, empty all filters and delete associated objects. More... | |
template<typename R > | |
const std::string & | createModuleFromRegistrar (const std::string ®Name, const PointMatcherSupport::YAML::Node &doc, const R ®istrar, std::shared_ptr< typename R::TargetType > &module) |
Instantiate a module if its name is in the YAML file. More... | |
template<typename R > | |
const std::string & | createModulesFromRegistrar (const std::string ®Name, const PointMatcherSupport::YAML::Node &doc, const R ®istrar, std::vector< std::shared_ptr< typename R::TargetType > > &modules) |
Instantiate modules if their names are in the YAML file. More... | |
ICPChainBase () | |
Protected contstructor, to prevent the creation of this object. More... | |
virtual void | loadAdditionalYAMLContent (PointMatcherSupport::YAML::Node &doc) |
Hook to load addition subclass-specific content from the YAML file. More... | |
std::string | nodeVal (const std::string ®Name, const PointMatcherSupport::YAML::Node &doc) |
Get the value of a field in a node. More... | |
Protected Attributes | |
DataPoints | readingFiltered |
reading point cloud after the filters were applied More... | |
Protected Attributes inherited from PointMatcher< T >::ICPChainBase | |
bool | maxNumIterationsReached |
store if we reached the maximum number of iterations last time compute was called More... | |
unsigned | prefilteredReadingPtsCount |
remaining number of points after prefiltering but before the iterative process More... | |
unsigned | prefilteredReferencePtsCount |
remaining number of points after prefiltering but before the iterative process More... | |
Additional Inherited Members | |
Public Attributes inherited from PointMatcher< T >::ICPChainBase | |
std::shared_ptr< ErrorMinimizer > | errorMinimizer |
error minimizer More... | |
std::shared_ptr< Inspector > | inspector |
inspector More... | |
std::shared_ptr< Matcher > | matcher |
matcher More... | |
OutlierFilters | outlierFilters |
outlier filters More... | |
DataPointsFilters | readingDataPointsFilters |
filters for reading, applied once More... | |
DataPointsFilters | readingStepDataPointsFilters |
filters for reading, applied at each step More... | |
DataPointsFilters | referenceDataPointsFilters |
filters for reference More... | |
TransformationCheckers | transformationCheckers |
transformation checkers More... | |
Transformations | transformations |
transformations More... | |
ICP algorithm.
Definition at line 699 of file PointMatcher.h.
PointMatcher< T >::TransformationParameters PointMatcher< T >::ICP::compute | ( | const DataPoints & | readingIn, |
const DataPoints & | referenceIn, | ||
const TransformationParameters & | initialTransformationParameters | ||
) |
Perform ICP from initial guess and return optimised transformation matrix.
Definition at line 265 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
protected |
Perferm ICP using an already-transformed reference and with an already-initialized matcher.
Definition at line 317 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
inline |
Return the filtered point cloud reading used in the ICP chain.
Definition at line 716 of file PointMatcher.h.
PointMatcher< T >::TransformationParameters PointMatcher< T >::ICP::operator() | ( | const DataPoints & | readingIn, |
const DataPoints & | referenceIn | ||
) |
Perform ICP and return optimised transformation matrix.
Definition at line 244 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
PointMatcher< T >::TransformationParameters PointMatcher< T >::ICP::operator() | ( | const DataPoints & | readingIn, |
const DataPoints & | referenceIn, | ||
const TransformationParameters & | initialTransformationParameters | ||
) |
Perform ICP from initial guess and return optimised transformation matrix.
Definition at line 255 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
protected |
reading point cloud after the filters were applied
Definition at line 725 of file PointMatcher.h.