(Hdr)¶
Parameters controlling the high dynamic range (HDR) functionality.
HDR creates a high dynamic range image from two internal exposures.
Some scenes contain very bright and very dark regions which a single exposure cannot capture simultaneously. HDR solves this by capturing up to two internal exposures and merging them into a single image:
a long exposure that captures shadows and mid-tones, and
a short exposure that captures highlights.
The exposure configured in Exposure/Value is treated as the total exposure budget for the HDR capture. The Split divides it between the two internal exposures.
Only the final merged HDR image is delivered to the host. The two internal frames are combined and tone-mapped onto a single common output scale.
See the HDR guide for information how to set up HDR.
Note
When Automatic is enabled, the camera decides on its own whether HDR is needed and how to split the exposure. It uses the same targets as the rest of the automatic brightness control, see AutoBrightness/Target.
Note
(Hdr) and MultiExposureFactor are mutually exclusive. MultiExposureFactor is ignored while the HDR split or automatic HDR are enabled.
Note
HDR is only available for B-, C- and CR-series cameras.
JSON Format¶
- Type
Object
Extending the dynamic range¶
A single exposure has one usable window that can slide along the scene, but cannot stretch to cover both deep shadows and bright highlights at once. HDR uses two exposures whose ranges overlap, so that together they span the whole scene.
The total exposure is divided between the two internal frames as follows:
Frame |
Exposure time |
Role in the merged image |
|---|---|---|
Long |
exposure × (1 − split) |
shadows and mid-tones |
Short |
exposure × split |
highlights |
The long frame provides the shadows and mid-tones. Wherever the long frame saturates, the corresponding pixels are taken from the short frame instead. Both contributions are mapped onto one common output scale.
Auto Exposure Area Of Interest (AOI)¶
The auto exposure AOI has a strong influence on the quality of the HDR results. Consider a box with bright, specular objects on a black floor, where the box is your area of interest. Without an AOI, the HDR algorithm tries to capture the dark floor and the bright objects, which degrades the image inside the box and results in a sub-optimal point cloud. Setting an auto exposure area of interest ensures that the HDR algorithm only optimizes the relevant parts of the image.