8#ifndef META_OCEAN_TRACKING_SLAM_POSE_QUALITY_CALCULATOR_H
9#define META_OCEAN_TRACKING_SLAM_POSE_QUALITY_CALCULATOR_H
46 inline size_t size()
const;
63 size_t numberHighPrecision_ = 0;
66 size_t numberMediumPrecision_ = 0;
69 size_t numberLowPrecision_ = 0;
72 size_t numberUnknownPrecision_ = 0;
PoseQuality
Definition of the quality of a camera pose.
Definition CameraPose.h:55
LocalizationPrecision
Definition of possible localization precisions.
Definition LocalizedObjectPoint.h:59
Helper class allowing to determine the quality of the camera pose based on the number of object point...
Definition PoseQualityCalculator.h:28
void addObjectPoint(const LocalizedObjectPoint::LocalizationPrecision localizationPrecision)
Adds an object point with the specified localization precision.
std::string toString() const
Returns a string representation of the pose quality and object point statistics.
CameraPose::PoseQuality poseQuality() const
Returns the quality of the camera pose based on the number and precision of object points.
size_t numberHighPrecision_
The number of high precision object points used to determine the camera pose, with range [0,...
Definition PoseQualityCalculator.h:63
size_t numberUnknownPrecision_
The number of object points with unknown precision used to determine the camera pose,...
Definition PoseQualityCalculator.h:72
size_t numberLowPrecision_
The number of low precision object points used to determine the camera pose, with range [0,...
Definition PoseQualityCalculator.h:69
size_t numberMediumPrecision_
The number of medium precision object points used to determine the camera pose, with range [0,...
Definition PoseQualityCalculator.h:66
size_t size() const
Returns the number of object points which have been used to determine the camera pose.
Definition PoseQualityCalculator.h:75
PoseQualityCalculator()=default
Creates a new quality calculator object.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15