8 #ifndef META_OCEAN_TRACKING_MULTI_VIEW_PLANE_FINDER_H
9 #define META_OCEAN_TRACKING_MULTI_VIEW_PLANE_FINDER_H
47 explicit inline operator bool()
const;
77 inline MultiViewPlaneFinder::operator bool()
const
79 return imagePointCorrespondences.size() >= 2;
This class implements a 3D plane finder that determines a plane within several frames taken from diff...
Definition: MultiViewPlaneFinder.h:27
static bool determineInitialPoses(const PinholeCamera &pinholeCamera, const HomogenousMatrix4 &poseFirst, const Plane3 &plane, const Vectors2 &imagePointsFirst, const std::vector< Vectors2 > &imagePointsSuccessive, HomogenousMatrices4 &posesSuccessive)
Determines the poses that correspond to the given sets of image point correspondences and the given r...
static bool determinePlaneFromTwoViews(const PinholeCamera &pinholeCamera, const HomogenousMatrix4 &poseFirst, const Plane3 &roughPlane, const ConstIndexedAccessor< Vector2 > &imagePointsFirst, const ConstIndexedAccessor< Vector2 > &imagePointsSecond, HomogenousMatrix4 &poseSecond, Plane3 &plane)
Determines the initial plane from two individual views.
bool determinePlane(const PinholeCamera &pinholeCamera, Plane3 &plane, HomogenousMatrices4 &poses, const HomogenousMatrix4 &initialPose=HomogenousMatrix4(Vector3(0, 0, 1)), const Plane3 &initialPlane=Plane3(Vector3(0, 0, 1), 0)) const
Determines the initial 3D plane and the corresponding 6DOF poses of the camera.
This class implements a 3D plane finder without any previous knowledge about the plane or the camera ...
Definition: PlaneFinder.h:32
std::vector< HomogenousMatrix4 > HomogenousMatrices4
Definition of a vector holding HomogenousMatrix4 objects.
Definition: HomogenousMatrix4.h:73
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition: Vector3.h:22
PlaneT3< Scalar > Plane3
Definition of the Plane3 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with single ...
Definition: Plane3.h:24
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