How to Keep a Blurred Background When Focus Stacking a Small Object
To keep a blurred background when focus stacking a small object, capture overlapping focus positions through the object’s depth, stopping once its farthest required detail is sharp. Keep the background well behind the object. If the merged image develops uneven blur, restore the background from one aligned source frame while retaining the stacked subject.
This workflow suits a stationary tabletop subject, such as a small ceramic ornament. The goal is a detailed object against a soft background, with a controlled transition around its edges. You will need a camera with adjustable focus, stable support, consistent lighting, and stacking software; the editing steps below use Photoshop, with an alternative for Helicon Focus.
Why can focus stacking change the background?
Focus stacking combines sharp regions from photographs taken at different focus distances. It extends the depth represented sharply in the composite, but the software still has to decide what to do with areas that remain unfocused. Those decisions can change the background’s appearance. Adobe describes its Auto-Blend Layers command as combining differently focused images through layer masks. Adobe: Auto-Blend Layers command overview
Two problems need different fixes. If you continue focusing past the object, later frames may contain more recognizable background detail. If every background remains soft but the composite becomes grainy or patchy, the merge itself may be responsible. Zerene’s documentation specifically notes that extra unfocused frames can contribute noise or a less defocused background, particularly with its PMax method. Zerene Stacker: FAQs
The practical implication is to inspect both the source photographs and the composite. When an unwanted feature already appears in a source frame, change the capture range or setup. When it appears only after merging, investigate blending or retouching.
How should you arrange the object and background?
Create the background blur before taking the stack. Increase the distance between the object and backdrop, then examine the result at your intended framing. Nikon explains that greater subject-to-background separation can produce visible background blur even at apertures such as f/8. There is no single required separation distance for every lens and setup. Nikon: Bokeh for Beginners
For a tabletop arrangement, place the ornament toward the front of the surface and move the backdrop farther behind it. Check the background while focused on both the nearest and farthest parts of the ornament. This endpoint check is a useful practical test: approve the background across the focus range you actually intend to use.
Choose an aperture by checking subject detail as well as blur. A wider aperture produces shallower depth of field, while a smaller aperture increases the depth covered in each photograph. Canon identifies shallow depth of field as a way to separate a macro subject from its surroundings. Canon: Macro Photography: How to Look Sharp!
As an illustrative starting point, compare f/4, f/5.6 and f/8 at the same framing, adjusting exposure for each test. Select the setting that gives useful detail and an appealing background. These are test settings, not universal prescriptions: Nikon’s focus-shift guidance recommends considering the aperture at which the particular lens produces good definition, while explaining that excessive stopping down introduces diffraction. Nikon: Focus Shift, the Basics: Stacking Focus
How far through the object should you focus?
Identify the nearest detail that must be sharp and the farthest detail that belongs in the finished stack. For an ornament, these might be its front rim and rear decorative ridge. Use those points to define the capture range.
Capture in a consistent direction, with enough overlap that each required surface is sharp in at least one photograph. Keep the viewpoint and lighting stable. Helicon’s current user guide identifies consistent focus steps, minimal movement, consistent illumination and a stable viewpoint as key capture conditions. Helicon Focus 9 User Guide
Use this sequence:
- Stabilize the camera and object, and establish the composition.
- Keep aperture, exposure and white balance consistent throughout the sequence.
- Focus on the nearest required detail and take the first frame.
- Advance focus in small increments, checking that adjacent sharp regions overlap.
- Continue until the farthest required detail is clearly covered.
- Review the sequence before changing the setup.
Allow a small margin at each endpoint if needed to ensure coverage, then select the useful frames for processing. Avoid extending the sequence across the backdrop merely because an automated bracketing routine can continue. Zerene recommends endpoint margins to avoid missed focus, but also documents the possible background contributions of unnecessary frames. Zerene Stacker: FAQs
Judge frame count by coverage. In an illustrative 12-frame sequence, frames 1–10 might cover the ornament while frames 11–12 add no useful subject detail. Try the first ten as the working stack, retaining all originals. If a required surface is soft in every frame, capture it again; changing the merge settings cannot supply a sharply recorded version that is absent.
How do you make the initial stack in Photoshop?
Apply consistent raw adjustments before combining the photographs. Load the selected frames as layers; from Lightroom Classic, Adobe’s documented route is Photo > Edit In > Open as Layers in Photoshop. Select the layers, choose Edit > Auto-Align Layers, and use Auto. Then choose Edit > Auto-Blend Layers > Stack Images. Adobe: How to focus stack in Lightroom in 5 steps
Before Auto-Blend, preserve an untouched copy of the aligned layer whose background you prefer. Keep that copy hidden and exclude it from the blend selection. This preserves a background source in the same aligned document coordinates for the next step.
Inspect the result before flattening. If Auto-Blend is unavailable, check the layer and image types: Adobe documents support for RGB and Grayscale images, with exclusions including Smart Objects and Background layers. Preserve originals before converting working copies into supported pixel layers. Adobe: Auto-Blend Layers command overview
How do you restore one smooth background without losing subject detail?
Use the preserved, aligned source frame as a selective background overlay. This is a practical compositing approach derived from Photoshop’s masking tools: a mask lets you reveal the source background while hiding its partly focused object. Adobe documents masks on both layers and groups, including masks that initially hide the entire layer. Adobe: Add layer masks
Follow these steps:
- Keep the blended subject layers together beneath the preserved source layer.
- Make the source layer visible at the top of the document.
- Add a black mask by Alt-clicking the layer-mask icon on Windows or Option-clicking on macOS.
- Select the mask thumbnail and paint white over open background areas to reveal the source photograph.
- Work toward the object’s outline with a smaller brush, keeping stacked detail visible.
- Toggle the overlay off and on to check for erased edges, doubled contours or changes in brightness.
Choose the source frame for its background and its suitability around the outline. The frame with the softest distant detail may have a large blurred fringe from the object itself. Do not paint that fringe into an otherwise sharp edge. Use another aligned source locally if it provides a cleaner transition, and keep masks editable while checking the result.
In Helicon Focus 9 Pro, the Retouching tab offers a Copy from source brush for replacing output areas with corresponding pixels from a selected, aligned source. Select the frame with the desired background and retouch the affected area. The manual states that this retouching functionality is available in the Pro version. Helicon Focus 9 User Guide
What should you change when the result still looks wrong?
Use the location of the defect to choose the next action. This diagnostic sequence combines source-frame inspection with the documented differences between stacking methods and source-based retouching.
| What you see | What to inspect | Next action |
|---|---|---|
| Recognizable background detail | Later source frames | Exclude frames beyond useful subject coverage; increase backdrop separation when reshooting. |
| Grain or patchiness in open background | Composite versus a preferred source | Restore that region from the aligned source. |
| A soft band across the object | The same surface in every source frame | If no frame records it sharply, reshoot with closer focus spacing. |
| A bright or dark outline | Source fringes and the background mask | Refine the mask locally and try a cleaner source near that edge. |
| Doubled contours | Alignment and changes between frames | Inspect alignment and reshoot if the object or camera moved substantially. |
If you use Zerene Stacker, compare DMap and PMax before committing to extensive retouching. Its documentation says DMap better preserves original smoothness and colors, while PMax is stronger at retaining difficult detail but tends to increase noise and contrast. That makes DMap worth testing for a smooth backdrop, with the choice still dependent on the object’s structure. Zerene Stacker: How To Use It
How do you know the photograph is finished?
Check the composite at 100% for missing detail, broken outlines and abrupt changes in the background. Then inspect it at the intended display size to judge whether the object and background form a convincing whole. Compare the finished background with the source frame you selected, especially around small openings and projecting details.
Keep the layered working file before exporting. A successful result gives every chosen part of the object adequate detail, preserves the background softness you approved during capture, and maintains a clean transition between them. Limiting the focus range and retaining one aligned background frame make those decisions easier to control.
Sources
- Auto-Blend Layers command overview — Adobe
- FAQs — Zerene Stacker
- Bokeh for Beginners — Nikon
- Macro Photography: How to Look Sharp! — Canon U.S.A.
- Focus Shift, the Basics: Stacking Focus — Nikon
- Helicon Focus 9 User Guide — Helicon Soft
- How to focus stack in Lightroom in 5 steps — Adobe
- Add layer masks — Adobe
- How To Use Zerene Stacker — Zerene Systems
