8 #ifndef META_OCEAN_CV_DEPTH_RECTIFIER_H
9 #define META_OCEAN_CV_DEPTH_RECTIFIER_H
54 static bool rectify(
const AnyCamera& cameraA,
const AnyCamera& cameraB,
const HomogenousMatrix4& world_T_cameraA,
const HomogenousMatrix4& world_T_cameraB,
const Frame& frameA,
const Frame& frameB,
const PinholeCamera& pinholeCamera,
Frame& rectifiedFrameA,
Frame& rectifiedFrameB,
HomogenousMatrix4& world_T_rectifiedA,
HomogenousMatrix4& world_T_rectifiedB,
const bool useTangentMapping,
Worker* worker =
nullptr);
This class implements the abstract base class for all AnyCamera objects.
Definition: AnyCamera.h:130
This class implements frame rectification functions.
Definition: Rectifier.h:34
static bool rectify(const AnyCamera &cameraA, const AnyCamera &cameraB, const HomogenousMatrix4 &world_T_cameraA, const HomogenousMatrix4 &world_T_cameraB, const Frame &frameA, const Frame &frameB, const PinholeCamera &pinholeCamera, Frame &rectifiedFrameA, Frame &rectifiedFrameB, HomogenousMatrix4 &world_T_rectifiedA, HomogenousMatrix4 &world_T_rectifiedB, const bool useTangentMapping, Worker *worker=nullptr)
Rectifies two images with given camera profile and camera pose.
static bool resampleCameraImageWithOptionalTangentMapping(const Frame &sourceFrame, const AnyCamera &sourceCamera, const SquareMatrix3 &source_R_target, const AnyCamera &targetCamera, Frame &targetFrame, LookupCorner2< Vector2 > *source_OLT_target=nullptr, Worker *worker=nullptr, const unsigned int binSizeInPixel=8u, const void *borderColor=nullptr, const bool useTangentMapping=false)
Re-samples a camera image which has been captured with a camera profile as if the image would have be...
static bool detemineRectificationRotation(const HomogenousMatrix4 &world_T_cameraA, const HomogenousMatrix4 &world_T_cameraB, Quaternion &world_R_rectified)
Returns the rotation between the rectified pinhole camera(s) and world for two camera poses.
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements a 2D lookup object with values at the bins' corners defining the individual loo...
Definition: Lookup2.h:636
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15