28#ifndef REGISTRATIONVIS_H_
29#define REGISTRATIONVIS_H_
31#include "rtabmap/core/rtabmap_core_export.h"
33#include <rtabmap/core/Registration.h>
34#include <rtabmap/core/Signature.h>
93 virtual bool isImageRequiredImpl()
const {
return true;}
94 virtual bool canUseGuessImpl()
const {
return _correspondencesApproach != 0 || _guessWinSize>0;}
95 virtual int getMinVisualCorrespondencesImpl()
const {
return _minInliers;}
99 float _inlierDistance;
101 int _refineIterations;
102 float _epipolarGeometryVar;
104 float _PnPReprojError;
106 int _PnPRefineIterations;
107 int _PnPVarMedianRatio;
109 bool _PnPSplitLinearCovarianceComponents;
110 unsigned int _multiSamplingPolicy;
111 int _correspondencesApproach;
117 bool _flowUseMinEigenVals;
118 float _flowMinEigThreshold;
119 float _flowErrorThreshold;
122 bool _gmsWithRotation;
124 double _gmsThresholdFactor;
126 bool _guessMatchToProjection;
127 int _bundleAdjustment;
129 float _maskFloorThreshold;
130 float _minInliersDistributionThr;
131 float _maxInliersMeanDistance;
136 Feature2D * _detectorFrom;
137 Feature2D * _detectorTo;
140 PyMatcher * _pyMatcher;
Abstract 2D feature detector and descriptor extractor for visual SLAM.
Statistics and diagnostics returned by Registration.
Visual registration between two signatures using features and geometry.
const Feature2D * getDetector() const
float getInlierDistance() const
virtual void parseParameters(const ParametersMap ¶meters)
Parses Vis/ and feature parameters; recreates feature detectors.
int getIterations() const
int getEstimationType() const
virtual Transform computeTransformationImpl(Signature &from, Signature &to, Transform guess, RegistrationInfo &info) const
Strategy-specific registration.
RegistrationVis(const ParametersMap ¶meters=ParametersMap(), Registration *child=0)
child is owned and deleted in the destructor.
int getMinInliers() const
Abstract base for registering two observations (visual, ICP, or both).
Represents a node in RTAB-Map's pose graph.
std::map< std::string, std::string > ParametersMap
Parameter keys mapped to their values, as used by every configurable class (see Parameters).