HDR and Tone Mapping in .NET

Perform HDR, Tone Mapping and image processing with the SharpStitch .NET library

SharpStitch HDR features summary

  • HDR image creation
  • Tone mapping
  • Exposure fusion
  • Exposure estimation
  • Support for embedding in UI (background processing, progress reporting and cancellation)
  • Support for over 50 image formats, including JPEG 2000, HD Photo, HDR formats and RAW camera formats


Have a project in mind? Contact us for a free demo!

Contact Us

HDR Image Creation And Processing

HDR image can be created from multiple images of varying exposures (both exposure time change and aperture change is supported) or from 16-bit RAW image format. HDR images have 32-bit color depth and can be further processed (resizing, gamma correction, blur etc.). Images in sRGB color space are converted to linear RGB for true HDR creation.



Tone Mapping

HDR image is usually of too high contrast to be displayed on traditional devices (LCD displays). Tone mapping algorithm can adjust HDR image to be displayed such that most details are visible even on low dynamic range display. Global tone mapping processes each pixel the same way regardless of its position and neighborhood. Local tone mapping takes neighboring pixels into account, often leading to dramatic detail enhancement.

SharpStitch contains both global and local tone mapping operators.

Tone Mapping 1
Tone Mapping 2

Exposure Fusion

Exposure fusion algorithm bypasses the traditional process of composing and then tone mapping HDR image. It simply combines a set of images in a clever way creating a single "fused" image. Exposure fusion combines images on multiple resolutions and with three criteria (contrast, saturation, exposure).

Following images show source images and the fused image.

Exposure Fusion
Exposure Fusion result

Exposure Estimation

Knowing image exposures is essential for creating true HDR images which does not look flat.

SharpStitch supports extracting exposure values directly from EXIF metadata as well as estimating them from image data.

HDR Exposure Estimation 2
HDR Exposure Estimation

Extensive GUI Support

You can easily create a GUI around any image processing, or integrate it into your existing design.

You can use C# or Visual Basic .NET, WinForms or WPF. You can also use SharpStitch on the server-side.

SharpStitch library contains classes wrapping the entire HDR workflow, and other image processing workflows as well.

It supports asynchronous processing on background, progress reporting and cancellation.

Contact us today to get a free demo

Whether you need HDR creation, image stitching, or any specific image processing task, you can use the SharpStitch .NET library.

Contact Us