IDS peak ICV v1.2.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

Definition at line 14 of file extrinsic_parameters.py.

Constructor & Destructor Documentation

◆ __init__()

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

Initializes an instance of ExtrinsicParameters.

Since
ids_peak_icv 1.1

Definition at line 31 of file extrinsic_parameters.py.

Member Function Documentation

◆ __eq__()

bool __eq__ ( self,
object other )

Definition at line 95 of file extrinsic_parameters.py.

◆ 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

Definition at line 60 of file extrinsic_parameters.py.

◆ 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

Definition at line 73 of file extrinsic_parameters.py.

◆ 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

Definition at line 47 of file extrinsic_parameters.py.

Field Documentation

◆ _parameters

_parameters = kwargs["_parameters"]
protected

Definition at line 40 of file extrinsic_parameters.py.

◆ _transformation_matrix

_transformation_matrix = None
protected

Definition at line 44 of file extrinsic_parameters.py.