Ncam Reality
...
Setting Up
Camera Bar Calibration

Tracking Quality

12min

Introduction

There are essentially two possible issues to look for when considering the tracking quality of the system

Noise

This is sometimes referred to as "jitter" and is essentially small erratic movements in the CG graphic when the camera is stationary. It's really important to understand a few things about noise though:

  1. To some degree it is always present, typically though with a properly calibrated camera bar and good tracking environment, then it should be imperceptible to the eye
  2. The quality of the tracking points will normally be the determining factor in how much noise is present. That is to say, you could have a perfectly calibrated camera bar but lots of noise/jitter in the graphic because you are working in a bad tracking environment (lots of moving points and changing lighting). You can never calibrate yourself out of not having enough tracking points!
  3. When using Natural tracking, it's not uncommon for noise to gradually present itself over extended usage, this is expected and can be managed in a number of ways: Locking the pointcloud or refreshing the pointcloud (either manually using alt+r or using the auto refresh option set in the Full UI preferences)

The clip below shows a representation of what we mean by noise/jitter. This page will discuss how the camera bar calibration can be improved to minimize noise due to calibration and assumes the tracking environment is adequate

Document image


Scale

Issues with scale are typically diagnosed by CG graphics gradually drifting from where they have been placed as the camera moves further from them. This typically indicates that the tracking is moving more/less than the actual camera is moving.

Some experience is required to identify whether this drifting in the graphic is due to stereo however, as it could also be caused by issues with lens calibration, witness to main relationship or even the graphic being poorly positioned in 3D space

Document image


Additionally, high pixel errors immediately after starting tracking (above 0.5), or the dropping in and out of detection of large groups of tracking points are typically indicative of a poor calibration

Before conducting any camera bar calibration, make sure that the issue you are experiencing is not a result of:

  1. Bad Lens Calibration
  2. Bad Positioning of a graphic/zero point
  3. Bad Witness to main relationship

Camera bar calibration should be treated as a last resort after confirming everything else is working as intended

Steps To Improve

Bundle Adjustment

We can try and improve the camera bar calibration by conducting what we refer to as a "Bundle Adjustment". This is a process where the camera bar improves it's calibration based off the pointcloud.

For the bundle adjustment to work well it's important that there is a good tracking environment around the camera bar

Good

  • Stable tracking points in a close to medium range to the camera bar, around 2 - 10 metres
  • Stable consistent lighting
  • Flat textured surfaces: Posters, logos etc

Bad

  • Points mostly far away, camera bar at the top of a tower, or looking out a window for example
  • Trees/foliage
  • Moving lighting
  • Reflective surfaces

Once you've set the camera bar up in an area that has good tracking, the following steps can be taken:

  1. Put the camera bar into "Raw" mode, this is done in the preferences of the Full UI
  2. Clear our the pointcloud so that we start with a fresh pointcloud
  3. Start tracking, there is no need to set an origin/zero point
  4. Move the camera bar so that around 10-30 key positions are generated, this is typically 2-3 metres of movement. Make sure the camera bar is looking at a good tracking area when doing this movement
  5. Select "Re-optimize all the parameters" from the Devices > Camera Bar > Advanced Calibration menu
Document image


Ncam Reality will attempt to improve the calibration, a pop up window will display showing the user how the calibration has been modified.

Document image


Pressing Cancel, will disregard the calibration completely, pressing Ok will temporarily save the calibration until the next time the Ncam Reality software is restarted. This is done intentionally as it allows you to test the quality of the calibration without committing permanently to it.

Start the system tracking again and decide if the tracking quality has improved. If it has, the calibration can be made permanent by choosing "Save Current Parameters" from the same "Advanced Calibration" dropdown menu

If the system seems to be operating worse than before, simply restart Ncam Reality without saving the calibration to revert to the prior calibration

After saving the updated calibration, Ncam Reality must be restarted!

The following video demonstrates the process



Issues

Refinement Failure

Occasionally the bundle adjustment can fail to resolve a solution, this is displayed to the user by the following error message:

Document image


This can be caused by trying to do a bundle adjustment with too large of a pointcloud. Try deleting the pointcloud and retrying the process with slightly less movement of the camera bar.

If the process consistently fails, it suggests that there is an underlying problem with the camera bar calibration, contact [email protected] for further troubleshooting support

Factory Reset

It is possible to revert the camera bar back to it's original calibration. This may be required if a very bad bundle adjustment has been conducted and saved to the bar for instance. Simply select "Reset To Factory Calibration" from the Devices dropdown menu