8 #ifndef META_OCEAN_TRACKING_MAPBUILDING_POSE_ESTIMATION_H
9 #define META_OCEAN_TRACKING_MAPBUILDING_POSE_ESTIMATION_H
53 static bool determinePose(
const AnyCamera& anyCamera,
const UnifiedUnguidedMatching& unifiedUnguidedMatching,
const UnifiedGuidedMatching& unifiedGuidedMatching,
RandomGenerator& randomGenerator,
HomogenousMatrix4& world_T_camera,
const unsigned int minimalNumberCorrespondences,
const UnifiedMatching::DistanceValue& maximalDescriptorDistance,
const Scalar maximalProjectionError,
const Scalar inlierRate =
Scalar(0.15),
Indices32* usedObjectPointIds =
nullptr,
Indices32* usedImagePointIndices =
nullptr,
const HomogenousMatrix4& world_T_roughCamera =
HomogenousMatrix4(
false),
Worker* worker =
nullptr);
79 static bool determinePose(
const AnyCamera& anyCameraA,
const AnyCamera& anyCameraB,
const HomogenousMatrix4& device_T_cameraA,
const HomogenousMatrix4& device_T_cameraB,
const UnifiedUnguidedMatching& unifiedUnguidedMatchingA,
const UnifiedUnguidedMatching& unifiedUnguidedMatchingB,
const UnifiedGuidedMatching& unifiedGuidedMatchingA,
const UnifiedGuidedMatching& unifiedGuidedMatchingB,
RandomGenerator& randomGenerator,
HomogenousMatrix4& world_T_device,
const unsigned int minimalNumberCorrespondences,
const UnifiedMatching::DistanceValue& maximalDescriptorDistance,
const Scalar maximalProjectionError,
const Scalar inlierRate =
Scalar(0.15),
Indices32* usedObjectPointIdsA =
nullptr,
Indices32* usedObjectPointIdsB =
nullptr,
Indices32* usedImagePointIndicesA =
nullptr,
Indices32* usedImagePointIndicesB =
nullptr,
const HomogenousMatrix4& world_T_roughDevice =
HomogenousMatrix4(
false),
Worker* worker =
nullptr);
This class implements the abstract base class for all AnyCamera objects.
Definition: AnyCamera.h:130
This class implements a generator for random numbers.
Definition: RandomGenerator.h:42
This class implements functions to estimate camera poses using unified data structures.
Definition: PoseEstimation.h:33
static bool determinePose(const AnyCamera &anyCamera, const UnifiedUnguidedMatching &unifiedUnguidedMatching, const UnifiedGuidedMatching &unifiedGuidedMatching, RandomGenerator &randomGenerator, HomogenousMatrix4 &world_T_camera, const unsigned int minimalNumberCorrespondences, const UnifiedMatching::DistanceValue &maximalDescriptorDistance, const Scalar maximalProjectionError, const Scalar inlierRate=Scalar(0.15), Indices32 *usedObjectPointIds=nullptr, Indices32 *usedImagePointIndices=nullptr, const HomogenousMatrix4 &world_T_roughCamera=HomogenousMatrix4(false), Worker *worker=nullptr)
Determines the 6-DOF pose of a mono camera based on 2D/3D correspondences using unguided and guided m...
static bool determinePose(const AnyCamera &anyCameraA, const AnyCamera &anyCameraB, const HomogenousMatrix4 &device_T_cameraA, const HomogenousMatrix4 &device_T_cameraB, const UnifiedUnguidedMatching &unifiedUnguidedMatchingA, const UnifiedUnguidedMatching &unifiedUnguidedMatchingB, const UnifiedGuidedMatching &unifiedGuidedMatchingA, const UnifiedGuidedMatching &unifiedGuidedMatchingB, RandomGenerator &randomGenerator, HomogenousMatrix4 &world_T_device, const unsigned int minimalNumberCorrespondences, const UnifiedMatching::DistanceValue &maximalDescriptorDistance, const Scalar maximalProjectionError, const Scalar inlierRate=Scalar(0.15), Indices32 *usedObjectPointIdsA=nullptr, Indices32 *usedObjectPointIdsB=nullptr, Indices32 *usedImagePointIndicesA=nullptr, Indices32 *usedImagePointIndicesB=nullptr, const HomogenousMatrix4 &world_T_roughDevice=HomogenousMatrix4(false), Worker *worker=nullptr)
Determines the 6-DOF pose of a stereo camera based on for 2D/3D correspondences using unguided and gu...
This class implements the base class for all guided matching objects.
Definition: UnifiedMatching.h:166
Definition of a descriptor distance value.
Definition: UnifiedMatching.h:52
This class implements the base class for all unguided matching objects.
Definition: UnifiedMatching.h:227
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
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