IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
WorkspaceCalibration Class Reference

Public Member Functions

 WorkspaceCalibration (IntrinsicParameters intrinsicParameters, CalibrationPlate calibrationPlate)
 Constructs a WorkspaceCalibration using the given intrinsic parameters and the specified calibration plate.
 
CalibrationResult Process (Image image)
 Calculates the camera's extrinsic parameters from a single image of a calibration plate.
 

Detailed Description

Performs a workspace calibration to determine the position and orientation of a camera relative to a physical workspace.

Workspace calibration determines the extrinsic parameters of a camera, which describe its position and orientation with respect to the workspace coordinate system.

A calibration plate is used to calculate the transformation between the camera coordinate system and the workspace coordinate system. This enables accurate mapping of 2D image points to 3D coordinates in the workspace for tasks such as measurement and localization.

The calibration process uses a single image of a calibration plate as input.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 34 of file WorkspaceCalibration.cs.

Constructor & Destructor Documentation

◆ WorkspaceCalibration()

WorkspaceCalibration ( IntrinsicParameters intrinsicParameters,
CalibrationPlate calibrationPlate )
inline

Constructs a WorkspaceCalibration using the given intrinsic parameters and the specified calibration plate.

Parameters
intrinsicParametersHolds the intrinsic camera parameters, e.g. estimated using CameraCalibration.Process().
calibrationPlateHolds the world coordinates of the reference points.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 52 of file WorkspaceCalibration.cs.

Member Function Documentation

◆ Process()

CalibrationResult Process ( Image image)
inline

Calculates the camera's extrinsic parameters from a single image of a calibration plate.

The method estimates the camera's position and orientation relative to the workspace coordinate system and calculates the mean reprojection error as a measure of calibration quality.

Note
Processes the entire image, ignoring any specified image region.
Parameters
imageAn image showing a single calibration plate.
Returns
The calibration result, including the extrinsic parameters and the mean reprojection error.
Exceptions
IcvNotSupportedExceptionThe calibration plate pattern or image format is unsupported.
IcvMismatchExceptionThe image size differs from that specified in the intrinsic parameters
IcvTargetNotFoundExceptionThe calibration plate markers are not found in the image.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 95 of file WorkspaceCalibration.cs.