Multi Camera Setups

The NxLib provides a number of functions to simplify the usage of multi camera setups. Before cameras can be combined into a single capture system, they have to be calibrated together. To do this, you can use the calibration wizard that is contained in NxView. Simply select two cameras that you want to calibrate together and follow the instructions on the screen. After the calibration, the relative position and orientation of the two cameras is known and saved into one of the camera’s EEPROM.

Each camera can store one link (relative position and orientation) to another coordinate system. The linked coordinate system can either be another camera, or a coordinate system that is specified in the Links node.

Links

Warning

In the link calibration procedure, you can choose the trigger signals (see here for more details to the trigger definitions). It is not recommended to select the software trigger mode, because it can lead to poor calibration results within the link calibration procedure.

Reference Coordinate Systems

As each camera stores exactly one transformation into a destination coordinate system, a multi camera setup can always be seen as a tree of linked cameras. The link is stored as a transformation, together with the name of the destination coordinate system in the camera’s Link node. The destination coordinate system (which is stored in the camera’s Target node) can either be the serial number of another camera or the name of a coordinate system that is found in the Links node. By default, some of the NxLib’s commands use the coordinate system “Workspace” to refer to the workspace system.

CameraTree

Whenever a camera computes coordinates, it recursively follows its link and transforms the coordinates accordingly. The link chain stops when a coordinate system has an empty target node or the target coordinate system does not exist below the Links node. The coordinates will be returned relative to the top-most coordinate system that can be reached this way.

Note

  • In case your link tree contains loops, cameras with links ending in the loop will use their own camera coordinate system as reference.

  • When your link tree is broken apart into multiple trees, all root nodes are assumed to be equivalent (i.e. linked by an identity transformation).