Getting started with RGB-D mapping on e-con Systems’ DepthVista ToF camera

e-con Systems’ DepthVista combines RGB and Time-of-Flight (ToF) depth sensing into a single USB camera system, offering a ready-to-use platform for 3D vision applications. A key feature of this setup is RGB-D mapping – the process of aligning depth data with RGB imagery to create coherent 3D representations.
Getting started with RGB-D mapping on e-con Systems’ DepthVista ToF camera Getting started with RGB-D mapping on e-con Systems’ DepthVista ToF camera

Since the RGB and depth sensors sit on separate modules, their perspectives differ slightly. To unify them, the DepthVista SDK employs pre-calibrated parameters such as the intrinsic camera matrix (focal length and optical centre), distortion coefficients, and both transformation and rotation matrices. These correct for distortion and spatial misalignment.

Through the SDK’s SetRGBDMapping API, developers can easily apply this calibration and enable RGB-D mapping. This ensures that depth information overlays accurately onto RGB images, synchronising their fields of view and resolution.

Once aligned, the SDK can generate RGB-D point clouds, essential for 3D modelling and analysis. Using intrinsic and extrinsic matrices, each pixel’s colour is projected onto corresponding depth points. The GetDeviceCalibrationParams API provides these matrices, and the mapping can be executed using a sample script (rgbdMapping.py), which runs on both Windows and Linux.

Installing the SDK requires only a few terminal or command prompt steps, with installation scripts provided for both operating systems. Once installed, the Python script lets users:

  • Select the connected camera device
  • Stream synchronised RGB and depth data
  • Capture images and 3D point clouds
  • Exit cleanly from the application

The script’s internal workflow includes device selection, enabling RGB-D mapping, fetching frames, and generating point clouds. The point cloud itself is computed by translating 2D depth values and corresponding RGB pixels into 3D coordinates using the RGB camera’s focal length and principal point.

A common error related to missing libraries (e.g., libdc1394) can occur on Linux but is easily resolved with a package install command.

Overall, DepthVista’s RGB-D mapping feature provides developers with a robust pipeline for building spatially accurate 3D vision systems.

To read the full article, click here.

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Previous Post
ATX Motherboard with Intel Core Ultra 200S powers industrial Edge

ATX Motherboard with Intel Core Ultra 200S powers industrial Edge

Next Post

Mouser bolsters ML solutions offering