|
| CameraWrapperT (ActualCamera &&actualCamera) |
| Creates a new CameraWrapperT object wrapping the actual camera model. More...
|
|
| CameraWrapperT (const ActualCamera &actualCamera) |
| Creates a new CameraWrapperT object wrapping the actual camera model. More...
|
|
VectorT2< T > | principalPoint () const |
| Returns the coordinate of the principal point of the camera image in the pixel domain. More...
|
|
T | fovX () const |
| Returns the field of view in x direction of the camera. More...
|
|
T | fovY () const |
| Returns the field of view in x direction of the camera. More...
|
|
bool | isInside (const VectorT2< T > &imagePoint, const T signedBorder=T(0)) const |
| Returns whether a given 2D image point lies inside the camera frame. More...
|
|
VectorT2< T > | projectToImage (const VectorT3< T > &objectPoint) const |
| Projects a 3D object point into the camera frame. More...
|
|
VectorT2< T > | projectToImage (const HomogenousMatrixT4< T > &world_T_camera, const VectorT3< T > &objectPoint) const |
| Projects a 3D object point into the camera frame. More...
|
|
void | projectToImage (const VectorT3< T > *objectPoints, const size_t size, VectorT2< T > *imagePoints) const |
| Projects several 3D object points into the camera frame at once. More...
|
|
void | projectToImage (const HomogenousMatrixT4< T > &world_T_camera, const VectorT3< T > *objectPoints, const size_t size, VectorT2< T > *imagePoints) const |
| Projects several 3D object points into the camera frame at once. More...
|
|
VectorT3< T > | vector (const VectorT2< T > &distortedImagePoint, const bool makeUnitVector) const |
| Returns a vector starting at the camera's center and intersecting a given 2D point in the image. More...
|
|
void | vector (const VectorT2< T > *distortedImagePoints, const size_t size, VectorT3< T > *vectors, const bool makeUnitVector) const |
| Determines vectors starting at the camera's center and intersecting given 2D points in the image. More...
|
|
LineT3< T > | ray (const VectorT2< T > &distortedImagePoint, const HomogenousMatrixT4< T > &world_T_camera) const |
| Returns a ray starting at the camera's center and intersecting a given 2D point in the image. More...
|
|
LineT3< T > | ray (const VectorT2< T > &distortedImagePoint) const |
| Returns a ray starting at the camera's center and intersecting a given 2D point in the image. More...
|
|
void | pointJacobian2nx3IF (const VectorT3< T > *flippedCameraObjectPoints, const size_t numberObjectPoints, T *jacobians) const |
| Calculates the 2x3 jacobian matrix for the 3D object point projection into the camera frame. More...
|
|
template<typename T, typename TCameraWrapperBase>
class Ocean::CameraWrapperT< T, TCameraWrapperBase >
This class implements a wrapper for an actual camera object.
- TCameraWrapperBase implements the wrapper functions necessary for the individual camera models.
- CameraWrapperT implements some additional functions necessary to fully implement all necessary functions for AnyCameraT.
- Template Parameters
-
T | The data type of a scalar, 'float' or 'double' |
TCameraWrapperBase | The base class implementing all functions necessary for the wrapped camera object. |