Skip to content

HDR Diagnostics

Debugging and data-export tools for the HDR tone-mapping pipeline.

Available Tools

Log Metering Values

PropertyValue
TypeToggle (On / Off)
DefaultOff

When enabled, the following metering values are printed to the console every frame:

  • EV — exposure value
  • max_i — maximum scene intensity
  • min_i — minimum scene intensity
  • content_peak — detected content peak luminance

Useful for verifying that peak detection and exposure tracking behave as expected during live playback.

Export EV History to CSV

PropertyValue
TypeAction

Exports the accumulated exposure-value metering history to a CSV file. Use this to analyse metering behaviour over time in a spreadsheet or plotting tool.

Not Yet Implemented

This action is planned but not yet functional.

Export Histogram to CSV

PropertyValue
TypeAction

Exports the current frame histogram data to a CSV file. Helpful for offline analysis of luminance distribution.

Not Yet Implemented

This action is planned but not yet functional.

Debug Visualization Modes

These toggles are available via the diagnostic server REST API and dashboard. They are not exposed in the on-screen menu.

SettingConfig KeyDefaultDescription
X-Ray Heatmapvoid_xray_enabledOffRenders a luminance heatmap overlay showing tone curve compression regions
Specular Debugvoid_specular_debugOffHighlights specular pixels (above tone curve knee) in magenta
Mipmap Debugvoid_mipmap_debugOffDisplays the blurred mipmap luminance texture fullscreen
Metering Debugvoid_debug_meteringOffLogs metering values to console every frame
Visualize LUTvisualize_lutOffShow 3D LUT visualization
Visualize Gamutvisualize_gamutOffShow gamut boundary visualization
Gamut Viz Modevisualize_gamut_modergbVisualization color space: rgb, oklch, ictcp

For day-to-day use, leave all debug toggles off — they add overhead and alter the image. Enable them temporarily when diagnosing tone-mapping issues such as unexpected brightness shifts, clipping, or gamut mapping artifacts.

Main Menu > HDR Settings > Diagnostics