IDS peak ICV v1.4.0
Loading...
Searching...
No Matches
CameraCalibration Class Reference

Public Member Functions

CameraCalibration create_from_plate (cls, CalibrationPlate calibration_plate)
 Creates an instance of class CameraCalibration.
 
None __init__ (self, *Any args, **Any kwargs)
 In order to create a CameraCalibration, please refer to the classmethods.
 
CalibrationResult process (self, ImageArray images)
 Applies the camera calibration and calculates the intrinsic and extrinsic camera parameters based on several views of a calibration pattern.
 

Protected Attributes

 _calibration_plate = kwargs["_calibration_plate"]
 

Detailed Description

Class for calibrating a camera.

The CameraCalibration calculates the intrinsic and extrinsic parameters, as well as the mean reprojection error.

Since
ids_peak_icv 1.1

Constructor & Destructor Documentation

◆ __init__()

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

In order to create a CameraCalibration, please refer to the classmethods.

Since
ids_peak_icv 1.1

Member Function Documentation

◆ create_from_plate()

CameraCalibration create_from_plate ( cls,
CalibrationPlate calibration_plate )

Creates an instance of class CameraCalibration.

For a camera calibration a calibration plate is needed.

Parameters
calibration_plateA calibration plate.
Returns
A new instance of CameraCalibration.
Since
ids_peak_icv 1.1

◆ process()

CalibrationResult process ( self,
ImageArray images )

Applies the camera calibration and calculates the intrinsic and extrinsic camera parameters based on several views of a calibration pattern.

Furthermore, it computes the mean reprojection error.

Note
This operation disregards any specified image regions. It processes the entire image.
Parameters
imagesA list of images containing a calibration plate in different poses.
Exceptions
MismatchExceptionIf no images are provided, or if the sizes of the images are different.
NotSupportedExceptionIf the pattern of the calibration plate is not supported or the image has an unsupported format.
TargetNotFoundExceptionIf the marker points were not found on the given image.
Since
ids_peak_icv 1.1

Field Documentation

◆ _calibration_plate

_calibration_plate = kwargs["_calibration_plate"]
protected