Abstract base for registering two observations (visual, ICP, or both).
More...
#include <Registration.h>
|
| enum | Type { kTypeUndef = -1
, kTypeVis = 0
, kTypeIcp = 1
, kTypeVisIcp = 2
} |
| | Registration strategy selected by Reg/Strategy. More...
|
| |
|
| virtual void | parseParameters (const ParametersMap ¶meters) |
| | Parses Reg/RepeatOnce, Reg/Force3DoF and forwards to child_ if set.
|
| |
|
bool | isImageRequired () const |
| | True if images are needed (parent or child).
|
| |
|
bool | isScanRequired () const |
| | True if laser scans are needed (parent or child).
|
| |
|
bool | isUserDataRequired () const |
| | True if user data is needed (parent or child).
|
| |
|
bool | canUseGuess () const |
| | True if the strategy can refine an initial guess (parent or child).
|
| |
|
int | getMinVisualCorrespondences () const |
| | Minimum visual inliers required (max of parent and child thresholds).
|
| |
|
float | getMinGeometryCorrespondencesRatio () const |
| | Minimum geometry inlier ratio required (max of parent and child thresholds).
|
| |
| bool | repeatOnce () const |
| |
| bool | force3DoF () const |
| |
|
void | setChildRegistration (Registration *child) |
| | Replaces child_; takes ownership of child.
|
| |
|
Transform | computeTransformation (const Signature &from, const Signature &to, Transform guess=Transform::getIdentity(), RegistrationInfo *info=0) const |
| | Registers from to to using immutable signatures (copied internally).
|
| |
|
Transform | computeTransformation (const SensorData &from, const SensorData &to, Transform guess=Transform::getIdentity(), RegistrationInfo *info=0) const |
| | Registers two SensorData observations (wrapped as signatures).
|
| |
|
Transform | computeTransformationMod (Signature &from, Signature &to, Transform guess=Transform::getIdentity(), RegistrationInfo *info=0) const |
| | Registers from to to; signatures may be modified by the implementation.
|
| |
|
|
static Registration * | create (const ParametersMap ¶meters) |
| | Creates a registration from Reg/Strategy in parameters. Caller owns the pointer.
|
| |
|
static Registration * | create (Type &type, const ParametersMap ¶meters=ParametersMap()) |
| | Creates a registration of type (may be adjusted, e.g. to kTypeVis). Caller owns the pointer.
|
| |
Abstract base for registering two observations (visual, ICP, or both).
Factory create() builds RegistrationVis, RegistrationIcp, or RegistrationVisIcp from Reg/Strategy in a ParametersMap.
computeTransformation() wraps signatures and delegates to computeTransformationMod(), which calls computeTransformationImpl() on the concrete strategy, optionally chains a child_ registration (e.g. ICP after visual), applies Reg/Force3DoF, and may repeat once with the first result as guess when Reg/RepeatOnce is enabled.
Requirement queries (isImageRequired(), isScanRequired(), etc.) OR-combine with the child when the parent returns false. Minimum correspondence thresholds take the maximum between parent and child.
- See also
- RegistrationVis
-
RegistrationIcp
-
RegistrationInfo
Definition at line 60 of file Registration.h.
◆ Type
◆ parseParameters()
| virtual void rtabmap::Registration::parseParameters |
( |
const ParametersMap & |
parameters | ) |
|
|
virtual |
◆ repeatOnce()
| bool rtabmap::Registration::repeatOnce |
( |
| ) |
const |
|
inline |
◆ force3DoF()
| bool rtabmap::Registration::force3DoF |
( |
| ) |
const |
|
inline |
◆ computeTransformationImpl()
◆ isImageRequiredImpl()
| virtual bool rtabmap::Registration::isImageRequiredImpl |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ isScanRequiredImpl()
| virtual bool rtabmap::Registration::isScanRequiredImpl |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ isUserDataRequiredImpl()
| virtual bool rtabmap::Registration::isUserDataRequiredImpl |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ canUseGuessImpl()
| virtual bool rtabmap::Registration::canUseGuessImpl |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ getMinVisualCorrespondencesImpl()
| virtual int rtabmap::Registration::getMinVisualCorrespondencesImpl |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ getMinGeometryCorrespondencesRatioImpl()
| virtual float rtabmap::Registration::getMinGeometryCorrespondencesRatioImpl |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ COVARIANCE_LINEAR_EPSILON
| double rtabmap::Registration::COVARIANCE_LINEAR_EPSILON |
|
static |
Minimum diagonal value for linear covariance (m²).
Definition at line 71 of file Registration.h.
◆ COVARIANCE_ANGULAR_EPSILON
| double rtabmap::Registration::COVARIANCE_ANGULAR_EPSILON |
|
static |
Minimum diagonal value for angular covariance (rad²).
Definition at line 73 of file Registration.h.
The documentation for this class was generated from the following file: