Dual-engine LED wall / camera color calibration. Studio Manager drives reference colors on the
wall (reference) engine, reads them back through the camera on the capture (AR) engine,
fits a 3D LUT (.cube) that describes the wall→camera color change, and (optionally) verifies and
refines that LUT against the AR engine. The resulting LUT is stored in Tracking Hub (TH) and applied
to the camera/AR service.

reference-colors.svg


1. Overview

Term

Meaning

Wall / Reference engine

Displays the reference color patches full-screen.

Capture / AR engine

Reads the camera (LIVE input); later renders the AR test scene.

Forward LUT

sent → captured: the detected change between the wall and the wall as filmed.

Inverse LUT

captured → sent: the correcting mapping (reference/analysis).

Combined LUT

The final LUT (equals the forward LUT unless the second layer refined it). Saved for both scene color spaces: BT709 sRGB and BT709 Linear.

Second layer (AR refine)

Optional: builds an AR test scene, applies the LUT, and refines it.

image-20260928-112519.png


2. Prerequisites

  • Both engines reachable on the network and ON-AIR.

  • Tracking Hub connected to the camera/AR service (required to store/apply the LUT).

  • The camera framing the LED wall; exposure/iris/white-balance set for the shot.

  • Reference and camera engine on different hosts (wall vs capture).


3. Running a calibration (operator workflow)

  1. Open the camera/AR service and go to the Properties → Color Correction expander.

  2. In Reference Engine, enter or pick the wall engine (the dropdown lists engines seen on the
    network). The service's own IP is the capture/AR engine.

  3. (Optional) Tick Show debug views only if you want to step through each second-layer pass.

  4. Click Calibrate LUT and confirm the dialog.

reference_engine_generic_ips-20260928-113048.png

  1. Confirm the creation of test scenes.

color_calibration_dialog_generic_ips-20260928-113313.png

The process requires the creation of 2 test scenes on the assigned Engines. Currently opened scenes will be closed without saving.

The calibration log window opens and streams progress:

  • Connects both engines, creates scenes.

  • Pre-flight camera check (5 sample areas must see the wall).

  • Captures the reference patch set (wall shows each color, camera reads it back): about 160 patches made of 24 ColorChecker-style colors, a 5×5×5 RGB cube and a 17-step grey ramp. Patches clipped by the camera are reported as a warning.

  • Fits the LUTs (3D RBF, optionally on top of a per-channel tone curve through the grey ramp; smoothing and curve are chosen by leave-one-out ΔE2000) and writes the results folder.

  • If the second layer is enabled, refines against the AR engine.

image-20260928-113817.png

3.1 If the camera check fails

If fewer than the required number of sample areas see the wall, a dialog shows the captured
black/white snapshots with green (pass) / red (fail) rings and offers:

  • Open Folder — open the results folder with the check snapshots.

  • Reset Areas — move the sample areas back to the default corners and centre.

  • Retry Check — re-run the check after fixing framing/exposure or moving the areas.

  • Proceed Anyway — continue despite the failure (not recommended below 3 valid areas).

  • Abort — stop.

check1.PNG

Moving the sample areas

If the wall does not cover the default positions, drag the sample areas onto the wall in the camera frame shown in the dialog, then use Retry Check. Proceed Anyway is disabled until the moved areas have been checked.
Moved areas are saved as the new default positions (SamplePoints in the configuration file); Reset Areas moves them back.

check2.PNG

Failure reasons

An area fails for one of these reasons (the log names the reason per area):

  • Black too bright — the black level is above CameraCheckAmbientMax. Reduce room light or lower the exposure.

  • White too dark — increase camera exposure/iris or the wall brightness.

  • Contrast too low — the black→white delta is below CameraCheckThreshold.

  • White clipping, contrast still low — the area is most likely not on the wall; move it.

Most failures come from the camera setup: check that iris, ISO/gain and white balance suit the production, then use Retry Check. If it still fails, abort, adjust CameraCheckThreshold / CameraCheckAmbientMax in the configuration file (see 7. Configuration file) and start the calibration again. CameraCheckMinCircles sets how many of the 5 areas must pass (default 5). Proceed Anyway skips the check for this run.

3.2 Saving the LUT

When the run completes, the Save panel appears. Enter a base name, pick the assignment in the dropdown and click Save to TH. The LUT is always written for both scene color spaces: <name>_bt709_srgb.cube (33³) and <name>_bt709_linear.cube (49³, more grid nodes in the shadows). Both files are saved to the results folder and uploaded to TH; the dropdown only decides which one is assigned to this service:

  • Assign BT709 sRGB — for services whose scenes use the BT709 sRGB working color space.

  • Assign BT709 Linear — for services whose scenes use BT709 Linear.

  • Don’t assign — upload both files only; the service keeps its current LUT.

The dropdown remembers the last choice. The LUT that is not assigned stays on TH and can be picked later from the Color Correction LUT list (see 4. Applying / switching LUTs).

image-20260928-114134.png

⚠️ If you close the log window without saving, a warning appears
("The calibrated LUT has not been saved to TH. Close without saving?"). Choose No to go back and save.


4. Applying / switching LUTs

The Color Correction panel lists the LUTs available on TH for the service. Selecting one applies it
immediately (including the first pick). The list is re-read from TH after each save. Use Clear to remove the LUT from the engine.

image-20260928-114703.png

5. The second layer (AR refine) — optional

When EnableSecondLayer = true, after the wall measurement the tool:

  1. Builds a matte scene (full-screen red rectangle).

  2. Builds an AR test scene: render sequence MULTILAYER_XR, links the matte scene, enables the
    LUT color correction, and lays out the measured reference colors as a grid of rectangles (the grid size follows the patch count). LUTs for this scene are sampled in ArSceneColorSpace (BT709 Linear).

  3. Iterates: apply candidate LUT → measure the AR grid → diff against the recorded wall colors →
    refit → repeat until the worst-patch ΔE2000 is below RefineThresholdDE2000, the mean ΔE2000 stops improving, or RefineMaxPasses is reached. The pass with the lowest mean ΔE2000 is kept and applied to the AR engine for review at the end.

If Show debug views is on, a dialog appears before the first pass (no LUT) and after every pass; close it to continue. With it off, the passes run automatically.

Each debug view shows:

  • Header — the pass and the ΔE2000 between the AR output and the wall (mean and max over all patches).

  • Image — the AR engine framebuffer with the rendered patch grid; the rings mark the sample areas.

  • Swatches — per patch: wall target (top), measured AR color (bottom), patch number and ΔE2000.

debugview1.PNGdebugview2.PNGdebugview3.PNG

The left view is the starting point: the AR test scene with an identity LUT, compared against the wall colors the camera recorded during the calibration. The middle view is the same scene after the first refine pass with the calibrated LUT applied: the mean error drops from 17.45 to 0.78, below the just-noticeable level of about 1. The right view shows pass 2, where the refined LUT halves the mean error again to 0.39; the worst patch stays at about 2.4, so the refinement continues until the mean stops improving or RefineMaxPasses is reached. The snapshots are saved in the results folder as ar_pass0.png, ar_pass1.png, …


6. Output files

Each run writes to C:\\ProgramData\\vizrt\\StudioManager\\ColorCorrection\\Results_<yyyyMMdd_HHmmss>\\:

File

Description

calibration_forward.cube

sent → captured — the first-pass / wall-vs-filmed change. Always saved.

calibration_inverse.cube

captured → sent — inverse/analysis.

calibration_combined.cube

The final LUT (= forward unless the second layer refined it), BT709 sRGB, 33³.

<name>_bt709_srgb.cube

Written by Save to TH: the final LUT for BT709 sRGB scenes (33³). Also uploaded to TH.

<name>_bt709_linear.cube

Written by Save to TH: the final LUT for BT709 Linear scenes (49³). Also uploaded to TH.

calibration_review_ar.cube

Second layer only: the final LUT sampled for the AR test scene, applied to the AR engine for review.

calibration_identity.cube

Second layer with Show debug views only: identity LUT for the before-refinement baseline.

ar_pass*.png

Second layer with Show debug views only: AR framebuffer snapshot per pass (ar_pass0.png = before refinement).

measurements.csv

Per-patch Sent_RGB and Captured_RGB.

calibration_report.txt

ΔE2000 statistics (avg / max / p95) for wall vs camera, LUT fit and leave-one-out; the chosen RBF smoothing and tone curve, worst patches and clipping warnings.

preflight_black.png / preflight_white.png

Camera check snapshots.

snapshots\\snap_*.png

Per-patch camera snapshots.

Per-pass candidate LUTs (calibration_refine_p*.cube) are used during refinement and deleted
at the end — they are not kept.


7. Configuration file

Settings live in C:\\ProgramData\\vizrt\\StudioManager\\ColorCorrection.xml. The file is created
with defaults on first run; edit values and re-run (no rebuild needed). Unknown/missing elements fall
back to the defaults below.

image-20260928-115123.png

Capture / measurement

Element

Default

Description

CaptureLiveSource

BUILT_IN*IMAGE*LIVE1

Camera LIVE input source on the capture engine.

CaptureWidth

1920

Framebuffer capture width (px).

CaptureHeight

1080

Framebuffer capture height (px).

SampleRadius

30

Radius (px) of the sample disc per area/patch.

SettleMs

2000

Fixed wall→camera settle per patch (used when AutoSettle is false).

AutoSettle

True

Auto-measure the camera round-trip delay and use it as the settle.

WallPort

6100

Reference (wall) engine TCP port.

CapturePort

6100

Capture (AR) engine TCP port.

Pre-flight camera check

Element

Default

Description

SkipCameraCheck

False

Skip the black/white "sees the wall" check entirely.

CameraCheckThreshold

0.3000

Minimum black→white luminance delta for an area to pass.

CameraCheckMinCircles

5

Number of the 5 sample areas that must pass.

CameraCheckAmbientMax

0.1500

Maximum black-level (ambient) allowed per area.

SamplePoints

(not set)

Positions of the 5 sample areas (normalized 0..1), written when the operator moves them in the camera check dialog. Not set = corners and centre.

LUT / color space

Element

Default

Description

LutSize

33

3D LUT grid size for BT709 sRGB LUTs (33³). BT709 Linear LUTs always use 49³, the largest that fits TH's 3 MB file limit.

LutColorSpace

BT709_SRGB

Last choice of the save panel's assign dropdown (BT709_SRGB, BT709_LINEAR or NONE); preselects it next time. Set by the UI.

PatchCubeLevels

5

RGB cube levels per axis in the patch set (5 = 125 cube patches, about 160 patches in total). Below 2 = the legacy 32-patch set.

PatchGreySteps

17

Steps of the neutral grey ramp in the patch set.

EnableToneCurve

True

Allow a per-channel tone curve through the grey patches under the 3D RBF (used only when leave-one-out prefers it).

WallColorConvertMode

1

Wall color-space conversion: 1 = sRGB→Linear (SET_RGB_CONVERT BT709_SRGB BT709_LINEAR), 2 = flipped (Linear→sRGB), 3 = none (plain COLOR SET).

Second layer (AR refine) — optional

Element

Default

Description

EnableSecondLayer

False

Enable the AR test-scene refine/verify. Off = layer-1-only (no AR scene workflow).

RefineThresholdDE2000

1.0

Converge when the worst AR-vs-wall ΔE2000 drops below this (about 1 = just noticeable). Replaces the old RGB-distance key RefineThresholdDE.

RefineMaxPasses

5

Maximum refine passes.

ArApplySettleMs

1500

Wait (ms) after applying a LUT to the AR engine before measuring.

ArRenderSequence

MULTILAYER_XR

Render sequence set on the AR test scene (BACKGROUND*ALPHA SET). Empty = leave scene default.

ArSceneColorSpace

BT709_LINEAR

Working color space of the second layer's AR test scene; candidate, identity and review LUTs are sampled in it.

Not in the config file (supplied per run): the Reference Engine host (from the UI) and the
capture/AR host (the service IP). The Show debug views checkbox is set per run as well. The AR scene extent (740 × 420) and the 24 ColorChecker base colors are fixed in code; the patch set and the AR grid follow PatchCubeLevels / PatchGreySteps.


8. Troubleshooting

Symptom

Likely cause / action

Captured colors too bright / lifted blacks

Camera over-exposed or wrong color-space; compare measurements.csv shadow patches to a known-good run. Check camera iris/gain/white balance and WallColorConvertMode.

Camera check fails on some areas

Reduce room light, adjust exposure, or re-frame so the wall fills those areas; use Retry Check.

Wall colors render brighter than sent (e.g. 0.486 → 184 not 124)

Engine gamma-encoding the sent value — set WallColorConvertMode = 1.

LUT not applied after picking it

Fixed — the first dropdown pick now applies. The list is re-read from TH after each save.

Second-layer ΔE ~0 but AR doesn't match visually

Framebuffer measurement can't see the composite; verify on the actual AR output, not the engine framebuffer.