IDS peak ICV v1.6.0
Loading...
Searching...
No Matches
ExtrinsicParameters Class Reference

Public Member Functions

None __init__ (self, *Any args, **Any kwargs)
 Initializes an instance of ExtrinsicParameters.
 
PointXYZ translation (self)
 Returns the translation vector associated with the extrinsic parameters.
 
PointXYZ rotation (self)
 Returns the rotation vector (Rodrigues rotation) associated with the extrinsic parameters.
 
np.ndarray transformation_matrix (self)
 Returns the transformation matrix calculated from the rotation and translation vectors.
 
bool __eq__ (self, object other)
 

Protected Attributes

peak_icv_extrinsic_parameters _parameters = kwargs["_parameters"]
 
np.ndarray|None _transformation_matrix = None
 

Detailed Description

Class for handling extrinsic parameters related to camera calibration.

This class stores and provides access to the extrinsic parameters, which include the translation, rotation, and transformation matrix.

It is a result of the camera calibration or the workspace calibration.

The extrinsic camera parameters describe the transformation between the camera's coordinate system and the world coordinate system. They can be used to convert points from the world coordinate system into the camera coordinate system.

Since
ids_peak_icv 1.1

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
*Any args,
**Any kwargs )

Initializes an instance of ExtrinsicParameters.

Since
ids_peak_icv 1.1

Member Function Documentation

◆ __eq__()

bool __eq__ ( self,
object other )

◆ rotation()

PointXYZ rotation ( self)

Returns the rotation vector (Rodrigues rotation) associated with the extrinsic parameters.

Returns
The rotation as a numpy array (3D vector).
Since
ids_peak_icv 1.1

◆ transformation_matrix()

np.ndarray transformation_matrix ( self)

Returns the transformation matrix calculated from the rotation and translation vectors.

Returns
A 4x4 transformation matrix.
Since
ids_peak_icv 1.1

◆ translation()

PointXYZ translation ( self)

Returns the translation vector associated with the extrinsic parameters.

Returns
The translation as a numpy array (3D vector).
Since
ids_peak_icv 1.1

Field Documentation

◆ _parameters

_parameters = kwargs["_parameters"]
protected

◆ _transformation_matrix

_transformation_matrix = None
protected