Editing an ImageLesson 55 of 78

Contents

Editing an Image

Lesson 55 of 78. Sign in to keep your place.

Module 6 · Compositing: making two pictures one

Two exposures of one scene, and how not to make it look like HDR

9 min read

Two ways to combine a bracket, and why one of them has a lookExposure fusion, as enfuse does itPicks the best-exposed pixels from each frame,weighted by how well exposed they areNever builds a high-dynamic-range file at all,so nothing has to be tone mapped downMore natural for less effort, which is whyphones do this for every shotalign_image_stack and enfuse are two freecommand lines, from HuginHDR merge plus tone mappingBuilds the full range in floating point, thencompresses it to something displayableThe compression flattens global contrast;local contrast is raised to hide thatHalos at every strong edge, because localcontrast compares each pixel to a blurredneighbourhoodThe cure is less of it and a smaller radius,or not tone mapping at allThe grey, halo-ringed appearance is not a fashion, it is the mechanism: reducing global contrast tofit fifteen stops into a display makes the picture flat, and restoring local contrast to compensateputs a bright band along every roofline. A hand-masked blend of two exposures beats both and takes tenminutes.
The grey, halo-ringed appearance is not a fashion, it is the mechanism: reducing global contrast to fit fifteen stops into a display makes the picture flat, and restoring local contrast to compensate puts a bright band along every roofline. A hand-masked blend of two exposures beats both and takes ten minutes.

Figure

The problem: the scene exceeds the sensor

A room with a window. Expose for the room and the window is pure white. Expose for the window and the room is black. The scene’s dynamic range (perhaps 14 or 15 stops) exceeds what a single exposure can hold with detail at both ends.

The answer is more than one exposure. Bracket: three frames at −2, 0 and +2 stops, or five at one-stop intervals for an extreme case. Use a tripod, or at minimum brace the camera, and shoot in rapid succession.

The important detail: change the shutter speed, not the aperture. Changing aperture changes depth of field between frames, so the images will not align in sharpness. Most cameras’ auto-bracket does this correctly; check.

Two ways to combine them, and they give different results

Exposure fusion picks the best-exposed pixels from each frame and blends them, weighted by how well-exposed each one is. It never builds a high-dynamic-range image at all; it goes straight to a normal-range result. This is what enfuse does, and it is what Photoshop’s Merge to HDR produces when you use the more conservative settings.

HDR merge plus tone mapping first builds a genuine high-dynamic-range file holding the full range in floating point, then compresses that range down to something displayable. The compression is the tone mapping, and it is where the characteristic look comes from.

For most photographs, fusion gives a more natural result with less effort. Tone mapping gives more control and more opportunities to produce something that announces itself.

Why tone-mapped HDR looks like that

The grey, flat, halo-ringed, over-detailed look is not a fashion. It is the mechanism.

To fit 15 stops into a displayable range, a tone mapper has to reduce global contrast substantially, which is why the image goes flat and grey. To stop it looking flat, it then increases local contrast, using exactly the blurred-neighbourhood comparison from the tone module. And local contrast at a large radius produces halos at every strong edge, which is why tone-mapped photographs have bright bands around every roofline and dark bands inside them.

Knowing that tells you the cure: less local contrast, and a smaller radius. Or avoid tone mapping and use fusion.

The manual method, which is better

The result most professionals actually use, and it takes ten minutes:

  1. Load two or three exposures as layers in one document, aligned.
  2. Put the one exposed for the shadows at the bottom, the one exposed for the highlights on top.
  3. Add a luminosity mask to the top layer so it applies only where the underlying image is bright.
  4. Refine the mask by hand where needed.

That is it. You are choosing, per tonal region, which exposure to show, with a mask that has no edges anywhere, which is why it produces no halos at all. This is the technique from the luminosity mask lesson doing the job it is best at.

For a window in a room specifically: mask the window exactly (a rectangular selection usually) rather than by luminosity, because the boundary is a real hard edge and pretending otherwise gives a glow around the frame.

Alignment and ghosting

Alignment. Handheld brackets shift between frames. Photoshop’s Auto-Align Layers handles it; align_image_stack, part of Hugin and free, does it from the command line and is excellent:

Bash
align_image_stack -m -a aligned_ img1.jpg img2.jpg img3.jpg
enfuse -o merged.tif aligned_*.tif

That is a complete free exposure-fusion pipeline in two lines.

Ghosting. Anything that moved between frames (leaves, people, cars, water) appears in several positions at once, blended into a smear. Deghosting algorithms pick one frame as the reference for moving regions.

The manual fix is more reliable: pick one frame as the base for the moving area and mask the others away from it. A person walking through a bracketed scene is a mask, not an algorithm.

Free tools

  • Hugin (align_image_stack) and enfuse: alignment and fusion, free, excellent, command line.
  • Luminance HDR: free, cross-platform, several tone mapping operators including Mantiuk and Fattal. Useful for learning what the operators do.
  • darktable: has its own HDR merge, and separately its exposure and tone equaliser modules can recover a remarkable amount from a single raw file, which is often enough that bracketing is unnecessary.
  • GIMP: blend layers with luminosity masks manually, exactly as described above.
  • Phones already do this. Every modern phone camera bracket-and-fuses automatically for every shot, which is why phone photographs of backlit scenes look better than a dedicated camera’s single frame.

When one raw file is enough

A modern raw file holds 12 to 14 stops. For a scene with 11 or 12 stops of range, a single well-exposed raw plus shadow recovery gives a clean result with no alignment, no ghosting and no bracketing.

The test: expose so the highlights are just below clipping, then lift the shadows in the developer and look at the noise. If it is acceptable, you did not need a bracket. If the shadows are noisy and blotchy, you did: the sensor’s noise floor is the real limit, and it is why bracketing still exists on cameras that claim 14 stops.

The position

The purpose of combining exposures is to produce an image that looks like the scene looked to you, which a single exposure could not. That is a defensible reason and it is what the eye does continuously by adapting as it scans.

Where it stops being defensible is the same place as everywhere else: when the combination asserts something the scene did not contain. A blended interior showing the real view through the window is honest. A blended interior with a view from a different day is a composite, and the estate agency conversation from the previous lesson applies.

Every lesson here is open. Your progress is recorded once you pass the Design, before Any Software exam.

Check your understanding

A photographer merges a three-frame bracket of a cathedral interior with an HDR tone mapper and gets bright bands along every column edge and a flat grey overall look. What produced both symptoms?

Pick the one you would defend. Your answer stays private.

Next lesson · 9 minMany frames, one view, and the pivot point that matters

Stuck on something?Ask Neema, your AI tutor

How to cite: Addaly (2026) ‘Two exposures of one scene, and how not to make it look like HDR’, in Editing an Image. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/image-editing/exposure-blending-and-hdr (Accessed: 13 October 2026).