8 #ifndef META_OCEAN_TRACKING_MAPBUILDING_RELOCALIZER_MONO_H
9 #define META_OCEAN_TRACKING_MAPBUILDING_RELOCALIZER_MONO_H
41 public Singleton<RelocalizerDebugElements>
108 *
this = std::move(relocalizerMono);
This class implements the abstract base class for all AnyCamera objects.
Definition: AnyCamera.h:130
This class implements the base class for a container for debug elements.
Definition: DebugElements.h:29
This class implements Ocean's image class.
Definition: Frame.h:1792
This template class is the base class for all singleton objects.
Definition: Singleton.h:71
This class base class for all relocalizers.
Definition: Relocalizer.h:31
Relocalizer & operator=(Relocalizer &&relocalizer)
Move operator.
std::function< bool(const AnyCamera &camera, const Frame &yFrame, Vectors2 &imagePoints, SharedUnifiedDescriptors &imagePointDescriptors)> ImageFeaturePointDetectorFunction
Definition of a function which detects and describes feature points in a given image.
Definition: Relocalizer.h:42
This class implements a container for debug elements.
Definition: RelocalizerMono.h:42
ElementId
Definition of several debug elements.
Definition: RelocalizerMono.h:51
@ EI_CAMERA_IMAGE_WITH_FEATURES
A camera image with image features.
Definition: RelocalizerMono.h:56
@ EI_CAMERA_IMAGE_WITH_FEATURE_CORRESPONDENCES
A camera image with feature correspondences.
Definition: RelocalizerMono.h:59
This class implements a relocalizer for mono cameras.
Definition: RelocalizerMono.h:33
RelocalizerMono(ImageFeaturePointDetectorFunction imageFeaturePointDetectorFunction)
Creates a new relocalizer object.
RelocalizerMono & operator=(RelocalizerMono &&relocalizerMono)
Move operator.
Definition: RelocalizerMono.h:111
bool relocalize(const AnyCamera &camera, const Frame &yFrame, HomogenousMatrix4 &world_T_camera, const unsigned int minimalNumberCorrespondences, const Scalar maximalProjectionError, const Scalar inlierRate=Scalar(0.15), const HomogenousMatrix4 &world_T_roughCamera=HomogenousMatrix4(false), Worker *worker=nullptr, Indices32 *usedObjectPointIds=nullptr, Vectors2 *usedImagePoints=nullptr)
Relocalizes a given frame.
RelocalizerMono()=default
Creates a new relocalizer object.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
std::vector< Index32 > Indices32
Definition of a vector holding 32 bit index values.
Definition: Base.h:96
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< Vector2 > Vectors2
Definition of a vector holding Vector2 objects.
Definition: Vector2.h:64
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition: HomogenousMatrix4.h:37
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15