Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Arm Community blogs
Arm Community blogs
Automotive blog 3-exposure 20-bit HDR and 4-exposure 24-bit HDR Tuning Techniques
  • Blogs
  • Mentions
  • Sub-Groups
  • Tags
  • Jump...
  • Cancel
More blogs in Arm Community blogs
  • AI blog

  • Announcements

  • Architectures and Processors blog

  • Automotive blog

  • Embedded and Microcontrollers blog

  • Internet of Things (IoT) blog

  • Laptops and Desktops blog

  • Mobile, Graphics, and Gaming blog

  • Operating Systems blog

  • Servers and Cloud Computing blog

  • SoC Design and Simulation blog

  • Tools, Software and IDEs blog

Tags
  • Image Signal Processor (ISP)
Actions
  • RSS
  • More
  • Cancel
Related blog posts
Related forum threads

3-exposure 20-bit HDR and 4-exposure 24-bit HDR Tuning Techniques

Peng Jiang
Peng Jiang
June 8, 2023
4 minute read time.

The dynamic range of a scene in the real world exceeds camera ability to perceive due to photon response limitation of CMOS sensor. The most common solution is to use multi-exposures to capture different scene dynamic ranges and stitch them into a wider dynamic range.

In camera solutions, 4-exposure 24-bit High Dynamic Range (HDR) theoretically is more expensive and better than 3-exposure 20-bit HDR. However, the processed result of 4-exposure HDR seems worse than 3-exposure HDR on tone reproduction if sensor configuration and ISP tuning are not managed correctly.

This article describes:

  • The difference between 3-exposure HDR content and 4-exposure HDR content
  • How the Mali Image Signal Processor (ISP), especially Iridix, the local tone mapping block, processes them differently

Analysis

Figure 1 shows how 3-exposure HDR and 4-exposure HDR content are combined in the sensor side:

  • Long exposure captures the darkest intensities.
  • The medium exposure captures the dark-medium intensities.
  • The short exposure captures the medium-high intensities.
  • The very short exposures (for 4-exposure only) capture the brightest intensities.

These exposures are normalized to 20-bit or 24-bit, depending on the supported bit depth of 3-exposure or 4-exposure.

24-bit HDR intensity response and linearisation

Figure 1:  4-exposure HDR data intensity response and linearization

Note: The most advanced sensors use different architectures to control the sensitivity of the 4 exposures: dual conversion gain and/or split pixel. In this generalized example, we use names like Long and Short to explain the relative sensitivity (exposure ratio), but the integration time is not the only factor.

  • Ratio_lm stands for the ratio between long and medium exposures
  • Ratio_ms stands for the ratio between medium and short exposures
  • Ratio_svs stands for the ratio between short and very short exposures

Mali ISPs, such as Mali-C71 and Mali-C78, have 24-bit data width to process the imaging data with MSB alignment:

  • For a 3-exposure 20-bit HDR data input, the ISP left shifts 4bit to align the input to 24-bit
  • For 4-exposure 24-bit HDR data input, the ISP matches the input depth well and performs no shift operation.

As a result, when you have same long exposures, 3-exposure 20-bit HDR mode looks 16x brighter than 4-exposure 24-bit HDR mode. Figure 2 and Figure 3 show such brightness difference between a 4-exposure 24-bit image and a 3 exposure 20-bit image.

4-exposures 24-bit image without gamma

Figure 2: 4-exposure 24-bit image (no gamma encoded)
3-exposures 20-bit image without gamma

 Figure 3: 3-exposure 20-bit image (no gamma encoded)

However, the Signal Noise Ratios (SNR) for the dark pixels are same for both 3-exposures 20-bit and 4-exposures 24-bit because of the same long exposures. Applying the digital gains to the dark pixels for 4-exposures does not change the SNR. 

In the ISP, there are two kinds of digital gains:

  • Digital gains

Digital gains are applied globally to the whole image that auto-exposure strategy should control these gains carefully to avoid damaging the bright pixels by clipping. In LDR sceneries, applying a lot of digital gains would not be a problem, while in HDR sceneries, applying digital gains would probably break the highlights.

  • Iridix gains

Iridix gains are applied locally and adaptively to the image, based on the image content. Generally, more gains for dark pixels and less gains for bright pixels are desired for reproducing an HDR image.

Solution

This section describes how to tune 24-bit HDR data to align the brightness with 20-bit HDR data without breaking the highlights.

Figure 4 shows typical main blocks to process HDR data in the Mali ISPs:

  • Gamma_FE is the module to decompand, for example, the 12-bit PWL compressed data to 24-bit linear data for most blocks processing.
  • Iridix is the local tone mapping engine to compress the dynamic range from 24-bit to 14bit for the precision management, RGB gamma is the module to mapping from linear to standard gamma to display.

typical ISP main blocks to process HDR data

Figure 4: typical ISP main blocks to process HDR data

To tune iridix by compressing the dynamic range from 24-bit to 14bit, you can apply a much steeper Asymmetry Curve to amplify the dark regions while we may use moderate asymmetry curve for 20-bit HDR data and increase the dark_enh setting to amplify the dark region in further.

The following table shows the different iridix effect under different combination of asymmetry curve, dark_enh and strength_inroi with 20-bit and 24-bit image data.

Figures Digital Gain Dark_enh Strength_inroi
Figure 5: Experiment 1 – 20-bit 2x 7000 100
Figure 6: Experiment 2 – 24-bit 8.75x 7000 170
Figure 7: Experiment 3 – 24-bit 8.75x 14000 170

 3-exposures 20-bit iridix processed result with default asymmetry curve

Figure 5: 3-exposure 20-bit iridix processed result with default asymmetry curve
4-exposures 24-bit iridix processed result with default asymmetry curve

Figure 6: 4-exposure 24-bit iridix processed result with default asymmetry curve
4-exposures 24-bit iridix processed result with steeper asymmetry curve

Figure 7: 4-exposure 24-bit iridix processed result with steeper asymmetry curve

Conclusion

The Mali ISP can maximize the 24-bit HDR content reproduction with the use of iridix local tone mapping. After the tunning, 24-bit solution has better highlights preservation and the same level dark intensities perception as 20-bit solution.

Anonymous
  • Yang Chen
    Yang Chen over 1 year ago in reply to Peng Jiang

    Thank you very much. Jiang. 

    I believe ADAS is one region of computer vision. Do you think we should use GTM on ADAS solution?

    And the reason to use GTM rather than LTM. It's GTM can provide a more stable image for algorithm. Is it? How do you think?

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • Peng Jiang
    Peng Jiang over 1 year ago in reply to Yang Chen

    Not really, digital gain is controlled by AE, in this example, digital gain 8.75x doesn't break the highlights.  

    GTM or LTM is dependent on use-case generally, for human vision, LTM is recommended. For computer vision, or some specific case, GTM could be selected. 

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • Yang Chen
    Yang Chen over 1 year ago in reply to Peng Jiang

    Would it make bright area over exposure when using digital gain?
    I am thinking of using the GTM funciton of Iridix.
    Do you have any recommanded LUT for GTM that could share? 
    Thanks

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • Peng Jiang
    Peng Jiang over 1 year ago in reply to Yang Chen

    Digital gain(global) 

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • Yang Chen
    Yang Chen over 1 year ago

    Thank you for sharing this. 
    You set 8.75x digital gain to the 24-bit iamge. Here meas digital gain or Iridix gain?

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Automotive blog
  • Building an on-device multimodal assistant for automobiles

    Aaron Ang
    Aaron Ang
    In this blog post, learn how we are only starting to see what is possible when powerful, privacy-first AI runs directly in your car.
    • September 18, 2025
  • Building safe and scalable automotive systems with Functional Safety, containers, and DDS

    odinlmshen
    odinlmshen
    Build safe, modular SDV systems on Arm with functional safety, containerized workloads, and DDS-based real-time communication.
    • July 27, 2025
  • Driving the future of autonomous development: Deploying Open AD Kit on Arm Neoverse

    odinlmshen
    odinlmshen
    Accelerate SDV development with Arm’s new Learning Path: deploy Open AD Kit on Neoverse to simulate AV stacks using SOAFEE, ROS 2, and Docker.
    • June 6, 2025
  • I Develop For
    • AI
    • Automotive
    • Embedded and Microcontrollers
    • IoT
    • Laptops and Desktops
    • Mobile, Graphics, and Gaming
    • Servers and Cloud Computing
  • Learn
    • Documentation
    • Learning Paths
    • On-Demand Videos
  • Community and Blogs
    • Communities
    • Blogs
    • Developer Events
    • Discord
    • Forums
    • Groups
  • Support
    • Open a Support Case
    • My Support Cases
    • Product Support Forums
    • Documentation
    • Downloads
    • Licensing
    • Support and Training Options
  • CPU and Hardware
    • Architectures
    • Compare IP
    • Compute Subsystems
    • Corstone
    • Memory Model Tool
    • Performance Analysis
    • Processors
    • Reference Designs
  • About Arm
    • Leadership
    • Arm Offices
    • Careers
    • Contact Us
    • Newsroom
    • Trust Center

arm
  • Cookie Policy
  • Glossary
  • Terms of Use
  • Privacy Policy
  • Accessibility
  • Subscription Center
  • Trademarks
Copyright © 1995-2025 Arm Limited (or its affiliates). All rights reserved.