Back to Aurora Vision Library website

You are here: Start » Function Reference » Computer Vision » Camera Calibration » ShiftWorldPlane

ShiftWorldPlane


Header: AVL.h
Namespace: avl
Module: Calibration

Shifts world plane along its normal vector.

Applications: Correction of already calibrated world plane. Useful for avoiding recalibration when, for example, the product thickness on a conveyor belt changes by a known amount.

Syntax

C++
C#
 
void avl::ShiftWorldPlane
(
	const avl::RectificationTransform& inTransform,
	double inDeltaZ,
	avl::RectificationTransform& outTransform
)

Parameters

Name Type Default Description
Input value inTransform const RectificationTransform&
Input value inDeltaZ double 0.0D The world plane will be shifted by given amount in direction perpendicular to the grid. Positive translations move plane away from camera.
Output value outTransform RectificationTransform&

Errors

List of possible exceptions:

Error type Description
DomainError Camera model in inTransform is not defined.
DomainError Homography matrix in inTransform is not defined.
DomainError Shifting world plane with non pinhole camera models (e.g. telecentric) is not supported yet.