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>
43#ifdef RTABMAP_ONNXRUNTIME
103 virtual bool isImageRequiredImpl()
const {
return true;}
104 virtual bool canUseGuessImpl()
const {
return _correspondencesApproach != 0 || _guessWinSize>0;}
105 virtual int getMinVisualCorrespondencesImpl()
const {
return _minInliers;}
109 float _inlierDistance;
111 int _refineIterations;
112 float _epipolarGeometryVar;
114 float _PnPReprojError;
116 int _PnPRefineIterations;
117 int _PnPVarMedianRatio;
119 bool _PnPSplitLinearCovarianceComponents;
120 unsigned int _multiSamplingPolicy;
121 int _correspondencesApproach;
127 bool _flowUseMinEigenVals;
128 float _flowMinEigThreshold;
129 float _flowErrorThreshold;
132 bool _gmsWithRotation;
134 double _gmsThresholdFactor;
136 bool _guessMatchToProjection;
137 int _bundleAdjustment;
139 float _maskFloorThreshold;
140 float _minInliersDistributionThr;
141 float _maxInliersMeanDistance;
146 Feature2D * _detectorFrom;
147 Feature2D * _detectorTo;
150 PyMatcher * _pyMatcher;
152#ifdef RTABMAP_ONNXRUNTIME
153 OnnxMatcher * _onnxMatcher;
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).