List of Operators ↓

A pose describes a rigid 3D transformation, i.e., a transformation consisting of an arbitrary translation and rotation. In HALCON, a pose is a tuple with 7 parameters: 3 parameters specifying the translation (TransXTransXTransXTransXtransX, TransYTransYTransYTransYtransY, and TransZTransZTransZTransZtransZ), 3 parameters describing the rotation (RotXRotXRotXRotXrotX, RotYRotYRotYRotYrotY, and RotZRotZRotZRotZrotZ). The last parameter codes the order of the translations and the rotations (as well as the direction of rotation). Further information about these parameters can be found in the documentation of create_posecreate_poseCreatePoseCreatePoseCreatePose and in the “Solution Guide III-C - 3D Vision”.

3D poses can be interpreted in two ways: First, to describe the position and orientation of one coordinate system relative to another (e.g., the pose of a part's coordinate system relative to the camera coordinate system - in short: the pose of the part relative to the camera). Following the second interpretation, a pose describes how coordinates can be transformed between two coordinate systems (e.g., to transform points from part coordinates into camera coordinates).

A pose that transforms point coordinates from coordinate system 1 (cs1) to coordinate system 2 (cs2) is denoted as . The corresponding transformation of a point given in cs1 ( ) into cs2 ( ) is denoted as

It should be noted that not the pose (as a tuple) but the transformation described by this pose is used for the multiplication and the above notation is only used for readability. Hence, the pose describes the rigid transformation that is represented by the homogeneous transformation matrix (see, e.g., the documentation of create_posecreate_poseCreatePoseCreatePoseCreatePose for further details)

Consequently, the pose describes the transformation of points from cs1 into cs2. Furthermore, as mentioned above, it also describes the transformation of the coordinate system itself, however, in reverse order: Thus, describes how coordinate system 2 must be transformed to obtain coordinate system 1, and hence, the pose of coordinate system 2 relative to system 1.

With this notation, poses can easily concatenated like homogeneous matrices, e.g. Such a concatenation can be done using e.g., pose_composepose_composePoseComposePoseComposePoseCompose.

List of Operators

Change the representation type of a 3D pose.
Create a 3D pose.
Deserialize a serialized pose.
Convert a dual quaternion to a 3D pose.
Determine the 3D pose of a circle from its perspective 2D projection.
Get the representation type of a 3D pose.
Determine the 3D pose of a rectangle from its perspective 2D projection
Compute the average of a set of poses.
Combine 3D poses given in two tuples.
Invert each pose in a tuple of 3D poses.
Convert a 3D pose to a unit dual quaternion.
Convert the rotational part of a 3D pose to a quaternion.
Compute a pose out of a homography describing the relation between world and image coordinates.
Convert a quaternion into the corresponding 3D pose.
Read a 3D pose from a text file.
Serialize a pose.
Translate the origin of a 3D pose.
Compute an absolute pose out of point correspondences between world and image coordinates.
Write a 3D pose to a text file.