Technical Specs
where π is the focal length after rectiο¬cation in pixels and π‘ is the stereo baseline in meters, which was determined
during calibration. These values are also transferred over the GenICam interface (see Custom GenICam features
of the rc_visard, Section 8.1.1).
Note: The rc_visard reports a focal length factor via its various interfaces. It relates to the image width for
supporting different image resolutions. The focal length π in pixels can be easily obtained by multiplying the
focal length factor by the image width in pixels.
Please note that equations (6.2.1) assume that the coordinate frame is centered in the middle of the image. The
following ο¬gure shows the deο¬nition of the image coordinate frame.
Fig. 6.2.1: The image coordinate frameβs origin is deο¬ned to be at the imageβs center β π€ is the image width and
β is the image height.
The same equations, but with the corresponding GenICam parameters are given in Image stream conversions
:(Section 8.1.3).
The set of all object points computed from the disparity image gives the point cloud, which can be used for 3D
modeling applications. The disparity image is converted into a depth image by replacing the disparity value in
each pixel with the value of π
π§
.
Note: Roboception provides software and examples for receiving disparity images from the rc_visard via GigE
Vision and computing depth images and point clouds. See http://www.roboception.com/download.
6.2.3 Conο¬dence and error images
For each disparity image, the rc_visard provides an error image and a conο¬dence image, which give uncertainty
measures for each disparity value. These images have the same resolution and the same frame rate as the disparity
image. The error image contains the disparity error π
πππ
in pixels corresponding to the disparity value at the same
image coordinates in the disparity image. The conο¬dence image contains the corresponding conο¬dence value π
between 0 and 1. The conο¬dence is deο¬ned as the probability of the true disparity value being within the interval
of three times the error around the measured disparity π, i.e., [π β 3π
πππ
, π + 3π
πππ
]. Thus, the disparity image
with error and conο¬dence values can be used in applications requiring probabilistic inference. The conο¬dence and
error values corresponding to an invalid disparity measurement will be 0.
The disparity error π
πππ
(in pixels) can be converted to a depth error π§
πππ
(in meters) using the focal length π (in
pixels), the baseline π‘ (in meters), and the disparity value π (in pixels) of the same pixel in the disparity image:
π§
πππ
=
π
πππ
Β· π Β· π‘
π
2
.
(6.2.2)
Combining equations (6.2.1) and (6.2.2) allows the depth error to be related to the depth:
π§
πππ
=
π
πππ
Β· π
π§
2
π Β· π‘
.
With the focal length and baselines of both rc_visard models and the typical disparity error π
πππ
of 0.5 pixels, the
depth error can be visualized as shown below.
6.2. Stereo matching 34