8#ifndef META_OCEAN_GEOMETRY_P4P_H
9#define META_OCEAN_GEOMETRY_P4P_H
This class provides functions determining the camera's pose by a set of four 3D object and 2D image p...
Definition P4P.h:27
static bool calculatePointDistances(const Vector3 *objectPoints, const VectorD3 *imageRays, double distances[4])
Calculates four distances between camera center and the four 3D object points.
static bool pose(const AnyCamera &camera, const Vector3 *objectPoints, const Vector2 *imagePoints, HomogenousMatrix4 &world_T_camera)
Calculates the pose of a camera by a set of four image and object points.
This class is the base class for all perspective pose classes.
Definition PerspectivePose.h:27
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
VectorT2< Scalar > Vector2
Definition of a 2D vector.
Definition Vector2.h:28
AnyCameraT< Scalar > AnyCamera
Definition of an AnyCamera object with Scalar precision.
Definition AnyCamera.h:31
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition Vector3.h:29
VectorT3< double > VectorD3
Definition of a 3D vector with double values.
Definition Vector3.h:36
Namespace of the Geometry library.
Definition AbsoluteTransformation.h:20
The namespace covering the entire Ocean framework.
Definition Accessor.h:15