documentation

Visometry.VisionLib.SDK.Core.CameraCalibration Class Reference

Inherits Visometry.VisionLib.SDK.Core.TrackingManagerReference.

Public Member Functions

void CancelOptimization ()
 
void OptimizeCalibration ()
 Performs the optimization with the currently recorder images. More...
 
void PauseChessboardDetection ()
 Pauses the capturing of new images for the calibration. More...
 
void ResetCalibration ()
 Resets the calibration and deletes all currently recorded images. More...
 
void StartCalibration ()
 
void StartChessboardDetection ()
 Starts capturing of new images for the camera calibration. More...
 
void WriteCameraCalibration (string uri, CameraCalibrationResult calibration)
 Writes the successful camera calibration into the given file. More...
 
async Task WriteCameraCalibrationAsync (string uri, CameraCalibrationResult calibration)
 

Data Fields

string destinationURI = "local-storage-dir:VisionLib/calibration.json"
 Location used to store the camera calibration. More...
 
bool resolutionSelection = false
 Whether to offer a resolution selection. More...
 
TrackingConfiguration trackingConfiguration
 

Additional Inherited Members

- Protected Member Functions inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference
virtual bool InitWorkerReference ()
 Initializes the trackingManager and Worker member variables. More...
 
virtual void ResetReference ()
 
- Properties inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference
TrackingManager trackingManager [get]
 Reference to used TrackingManager. More...
 
Worker worker [get]
 

Member Function Documentation

◆ OptimizeCalibration()

void Visometry.VisionLib.SDK.Core.CameraCalibration.OptimizeCalibration ( )
inline

Performs the optimization with the currently recorder images.

This function will be performed asynchronously.

◆ PauseChessboardDetection()

void Visometry.VisionLib.SDK.Core.CameraCalibration.PauseChessboardDetection ( )
inline

Pauses the capturing of new images for the calibration.

This function will be performed asynchronously.

◆ ResetCalibration()

void Visometry.VisionLib.SDK.Core.CameraCalibration.ResetCalibration ( )
inline

Resets the calibration and deletes all currently recorded images.

This function will be performed asynchronously.

◆ StartChessboardDetection()

void Visometry.VisionLib.SDK.Core.CameraCalibration.StartChessboardDetection ( )
inline

Starts capturing of new images for the camera calibration.

This function will be performed asynchronously.

◆ WriteCameraCalibration()

void Visometry.VisionLib.SDK.Core.CameraCalibration.WriteCameraCalibration ( string  uri,
CameraCalibrationResult  calibration 
)
inline

Writes the successful camera calibration into the given file.

This function will be performed asynchronously.

Parameters
uriThe URI to write the calibration file to.
calibrationThe Calibration result to append to the file at the given uri.

Field Documentation

◆ destinationURI

string Visometry.VisionLib.SDK.Core.CameraCalibration.destinationURI = "local-storage-dir:VisionLib/calibration.json"

Location used to store the camera calibration.

The local-storage-dir scheme can be, which points to a writable location for each platform:

  • Windows: Current users home directory
  • MacOS: Current users document directory
  • iOS / Android: The current applications document directory

◆ resolutionSelection

bool Visometry.VisionLib.SDK.Core.CameraCalibration.resolutionSelection = false

Whether to offer a resolution selection.

If this is false, then a default resolution will be used. If this is true, then the user can select a specific resolution, which will be used for the calibration.