Skip to content

Transformations🔗

On this topic🔗

2D Transformations🔗

affine_trans_pixelAffineTransPixel: Apply an arbitrary affine 2D transformation to pixel coordinates.

affine_trans_point_2dAffineTransPoint2d: Apply an arbitrary affine 2D transformation to points.

deserialize_hom_mat2dDeserializeHomMat2d: Deserialize a serialized homogeneous 2D transformation matrix.

gen_image_warp_mapGenImageWarpMap: Generate an image map based on non-regular correspondence points.

hom_mat2d_composeHomMat2dCompose: Multiply two homogeneous 2D transformation matrices.

hom_mat2d_determinantHomMat2dDeterminant: Compute the determinant of a homogeneous 2D transformation matrix.

hom_mat2d_identityHomMat2dIdentity: Generate the homogeneous transformation matrix of the identical 2D transformation.

hom_mat2d_invertHomMat2dInvert: Invert a homogeneous 2D transformation matrix.

hom_mat2d_reflectHomMat2dReflect: Add a reflection to a homogeneous 2D transformation matrix.

hom_mat2d_reflect_localHomMat2dReflectLocal: Add a reflection to a homogeneous 2D transformation matrix.

hom_mat2d_rotateHomMat2dRotate: Add a rotation to a homogeneous 2D transformation matrix.

hom_mat2d_rotate_localHomMat2dRotateLocal: Add a rotation to a homogeneous 2D transformation matrix.

hom_mat2d_scaleHomMat2dScale: Add a scaling to a homogeneous 2D transformation matrix.

hom_mat2d_scale_localHomMat2dScaleLocal: Add a scaling to a homogeneous 2D transformation matrix.

hom_mat2d_slantHomMat2dSlant: Add a slant to a homogeneous 2D transformation matrix.

hom_mat2d_slant_localHomMat2dSlantLocal: Add a slant to a homogeneous 2D transformation matrix.

hom_mat2d_to_affine_parHomMat2dToAffinePar: Compute the affine transformation parameters from a homogeneous 2D transformation matrix.

hom_mat2d_translateHomMat2dTranslate: Add a translation to a homogeneous 2D transformation matrix.

hom_mat2d_translate_localHomMat2dTranslateLocal: Add a translation to a homogeneous 2D transformation matrix.

hom_mat2d_transposeHomMat2dTranspose: Transpose a homogeneous 2D transformation matrix.

hom_mat3d_projectHomMat3dProject: Project an affine 3D transformation matrix to a 2D projective transformation matrix.

hom_vector_to_proj_hom_mat2dHomVectorToProjHomMat2d: Compute a homogeneous transformation matrix using given point correspondences.

point_line_to_hom_mat2dPointLineToHomMat2d: Approximate an affine transformation from point-to-line correspondences.

projective_trans_pixelProjectiveTransPixel: Project pixel coordinates using a homogeneous projective transformation matrix.

projective_trans_point_2dProjectiveTransPoint2d: Project a homogeneous 2D point using a projective transformation matrix.

serialize_hom_mat2dSerializeHomMat2d: Serialize a homogeneous 2D transformation matrix.

vector_angle_to_rigidVectorAngleToRigid: Compute a rigid affine transformation from points and angles.

vector_field_to_hom_mat2dVectorFieldToHomMat2d: Approximate an affine map from a displacement vector field.

vector_to_anisoVectorToAniso: Approximate an anisotropic similarity transformation from point correspondences.

vector_to_hom_mat2dVectorToHomMat2d: Approximate an affine transformation from point correspondences.

vector_to_proj_hom_mat2dVectorToProjHomMat2d: Compute a projective transformation matrix using given point correspondences.

vector_to_proj_hom_mat2d_distortionVectorToProjHomMat2dDistortion: Compute a projective transformation matrix and the radial distortion coefficient using given image point correspondences.

vector_to_rigidVectorToRigid: Approximate a rigid affine transformation from point correspondences.

vector_to_similarityVectorToSimilarity: Approximate an similarity transformation from point correspondences.

3D Transformations🔗

affine_trans_point_3dAffineTransPoint3d: Apply an arbitrary affine 3D transformation to points.

deserialize_hom_mat3dDeserializeHomMat3d: Deserialize a serialized homogeneous 3D transformation matrix.

hom_mat3d_composeHomMat3dCompose: Multiply two homogeneous 3D transformation matrices.

hom_mat3d_determinantHomMat3dDeterminant: Compute the determinant of a homogeneous 3D transformation matrix.

hom_mat3d_identityHomMat3dIdentity: Generate the homogeneous transformation matrix of the identical 3D transformation.

hom_mat3d_invertHomMat3dInvert: Invert a homogeneous 3D transformation matrix.

hom_mat3d_rotateHomMat3dRotate: Add a rotation to a homogeneous 3D transformation matrix.

hom_mat3d_rotate_localHomMat3dRotateLocal: Add a rotation to a homogeneous 3D transformation matrix.

hom_mat3d_scaleHomMat3dScale: Add a scaling to a homogeneous 3D transformation matrix.

hom_mat3d_scale_localHomMat3dScaleLocal: Add a scaling to a homogeneous 3D transformation matrix.

hom_mat3d_to_poseHomMat3dToPose: Convert a homogeneous transformation matrix into a 3D pose.

hom_mat3d_translateHomMat3dTranslate: Add a translation to a homogeneous 3D transformation matrix.

hom_mat3d_translate_localHomMat3dTranslateLocal: Add a translation to a homogeneous 3D transformation matrix.

hom_mat3d_transposeHomMat3dTranspose: Transpose a homogeneous 3D transformation matrix.

point_pluecker_line_to_hom_mat3dPointPlueckerLineToHomMat3d: Approximate a 3D affine transformation from 3D point-to-line correspondences.

pose_to_hom_mat3dPoseToHomMat3d: Convert a 3D pose into a homogeneous transformation matrix.

projective_trans_hom_point_3dProjectiveTransHomPoint3d: Project a homogeneous 3D point using a projective transformation matrix.

projective_trans_point_3dProjectiveTransPoint3d: Project a 3D point using a projective transformation matrix.

serialize_hom_mat3dSerializeHomMat3d: Serialize a homogeneous 3D transformation matrix.

vector_to_hom_mat3dVectorToHomMat3d: Approximate a 3D transformation from point correspondences.

Dual Quaternions🔗

deserialize_dual_quatDeserializeDualQuat: Deserialize a serialized dual quaternion.

dual_quat_composeDualQuatCompose: Multiply two dual quaternions.

dual_quat_conjugateDualQuatConjugate: Conjugate a dual quaternion.

dual_quat_interpolateDualQuatInterpolate: Interpolate two dual quaternions.

dual_quat_normalizeDualQuatNormalize: Normalize a dual quaternion.

dual_quat_to_hom_mat3dDualQuatToHomMat3d: Convert a unit dual quaternion into a homogeneous transformation matrix.

dual_quat_to_screwDualQuatToScrew: Convert a unit dual quaternion into a screw.

dual_quat_trans_line_3dDualQuatTransLine3d: Transform a 3D line with a unit dual quaternion.

dual_quat_trans_point_3dDualQuatTransPoint3d: Transform a 3D point with a unit dual quaternion.

screw_to_dual_quatScrewToDualQuat: Convert a screw into a dual quaternion.

serialize_dual_quatSerializeDualQuat: Serialize a dual quaternion.

Misc🔗

convert_point_3d_cart_to_spherConvertPoint3dCartToSpher: Convert Cartesian coordinates of a 3D point to spherical coordinates.

convert_point_3d_spher_to_cartConvertPoint3dSpherToCart: Convert spherical coordinates of a 3D point to Cartesian coordinates.

Poses🔗

convert_pose_typeConvertPoseType: Change the representation type of a 3D pose.

create_poseCreatePose: Create a 3D pose.

deserialize_poseDeserializePose: Deserialize a serialized pose.

dual_quat_to_poseDualQuatToPose: Convert a dual quaternion to a 3D pose.

get_circle_poseGetCirclePose: Determine the 3D pose of a circle from its perspective 2D projection.

get_pose_typeGetPoseType: Get the representation type of a 3D pose.

get_rectangle_poseGetRectanglePose: Determine the 3D pose of a rectangle from its perspective 2D projection

pose_averagePoseAverage: Compute the average of a set of poses.

pose_composePoseCompose: Combine 3D poses given in two tuples.

pose_invertPoseInvert: Invert each pose in a tuple of 3D poses.

pose_to_dual_quatPoseToDualQuat: Convert a 3D pose to a unit dual quaternion.

pose_to_quatPoseToQuat: Convert the rotational part of a 3D pose to a quaternion.

proj_hom_mat2d_to_poseProjHomMat2dToPose: Compute a pose out of a homography describing the relation between world and image coordinates.

quat_to_poseQuatToPose: Convert a quaternion into the corresponding 3D pose.

read_poseReadPose: Read a 3D pose from a text file.

serialize_poseSerializePose: Serialize a pose.

set_origin_poseSetOriginPose: Translate the origin of a 3D pose.

vector_to_poseVectorToPose: Compute an absolute pose out of point correspondences between world and image coordinates.

write_poseWritePose: Write a 3D pose to a text file.

Quaternions🔗

axis_angle_to_quatAxisAngleToQuat: Create a rotation quaternion.

deserialize_quatDeserializeQuat: Deserialize a serialized quaternion.

quat_composeQuatCompose: Multiply two quaternions.

quat_conjugateQuatConjugate: Generate the conjugation of a quaternion.

quat_interpolateQuatInterpolate: Interpolation of two quaternions.

quat_normalizeQuatNormalize: Normalize a quaternion.

quat_rotate_point_3dQuatRotatePoint3d: Perform a rotation by a unit quaternion.

quat_to_hom_mat3dQuatToHomMat3d: Convert a quaternion into the corresponding rotation matrix.

serialize_quatSerializeQuat: Serialize a quaternion.