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>
100 virtual bool isImageRequiredImpl()
const {
return true;}
101 virtual bool canUseGuessImpl()
const {
return _correspondencesApproach != 0 || _guessWinSize>0;}
102 virtual int getMinVisualCorrespondencesImpl()
const {
return _minInliers;}
106 float _inlierDistance;
108 int _refineIterations;
109 float _epipolarGeometryVar;
111 float _PnPReprojError;
113 int _PnPRefineIterations;
114 int _PnPVarMedianRatio;
116 bool _PnPSplitLinearCovarianceComponents;
117 unsigned int _multiSamplingPolicy;
118 int _correspondencesApproach;
124 bool _flowUseMinEigenVals;
125 float _flowMinEigThreshold;
126 float _flowErrorThreshold;
129 bool _gmsWithRotation;
131 double _gmsThresholdFactor;
133 bool _guessMatchToProjection;
134 int _bundleAdjustment;
136 float _maskFloorThreshold;
137 float _minInliersDistributionThr;
138 float _maxInliersMeanDistance;
143 Feature2D * _detectorFrom;
144 Feature2D * _detectorTo;
147 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.
static std::string getNNTypeName(int nnType)
Name of a Vis/CorNNType value.
int getIterations() const
int getEstimationType() const
std::string getNNTypeName() 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).