A beginner's guide to focus stacking

Discover the features in EOS R System cameras that make focus stacking simple with tips from macro photographer Matt Doogue.
A fully processed stack of 100 frames showing a peacock feather in close-up, taken by Matt Doogue using the Canon EOS R10's in-camera focus bracketing depth compositing function.

Focus stacking is a shooting method where you take multiple shots at slightly different focus distances ('bracketing') and then blend or 'stack' them into a single image so that more of a subject or scene is in focus. You can combine your images using editing software, or using the in-camera focus stacking tools in Canon cameras.

When you're shooting very close to your subject, you will typically use a wide aperture (low f-number) to let in as much light as possible. However, this gives you a very narrow depth of field, which means that much of the subject or the scene is out of focus. Focus stacking can unlock a world of hidden beauty and intricate detail in macro photography, but it's also ideal for landscapes when you want a scene to be sharp from front to back.

With over a decade of experience shooting for nature publications, professional macro photographer Matt Doogue is an expert at manual focus stacking. However, cutting-edge features inside Canon's EOS R System mirrorless cameras can help you achieve the same result without any editing at all. Using the Canon EOS R7 and EOS R10's in-built focus bracketing and stacking features, it's possible to get mesmerising close-ups with minimal effort.

Choosing the best beginner macro kit is important for focus stacking, but you also need practical ways to use it. In this guide, discover how Matt uses focus stacking for stunning shots of nature – both manually and in-camera. With a few tips on how to shoot macro and the latest Canon EOS R System lineup, you'll soon be capturing powerful pin-sharp photos.

Focus bracketing

A screenshot showing the Focus bracketing menu on a Canon camera with 'Focus bracketing' enabled.

Enable Focus bracketing from your camera's menu and set the number of images to be captured. The focus increment value can be increased when the subject is further from the camera or when you are working at smaller apertures. For macro subjects and wider apertures, select a smaller focus increment.

Photographer Matt Doogue crouches behind a tripod to photograph a bridge using the focus bracketing feature on the Canon EOS R7.

"To ensure that your series of images are perfectly aligned, it's essential to use a sturdy tripod to prevent camera movement between shots," advises Matt. He suggests shooting fewer images for landscape scenes than for tiny macro subjects.

Regardless of the method you use to stack your images, the first stage in the process is to take a series of pictures at different focus settings to capture the full depth of field of the subject you are photographing. This is called focus bracketing, and almost every Canon EOS R System camera has a feature that automates the process, taking a series of shots with the focus distance incremented from shot to shot, which you can then combine.

"The bracketing feature works from the nearest point of focus on your subject," Matt explains. "It automatically changes the focal distance of the lens, taking a shot at each increment that you have chosen in the menu, effectively shrinking the scene."

An image of a bridge with just the first section in focus, taken by Matt Doogue using the focus bracketing feature on a Canon EOS R7.

A shot from Matt's focus bracketing series with just the anchor in the foreground in focus. To ensure the aperture value remains constant for each frame in the series, use Aperture priority (Av) or Manual exposure mode. Taken on a Canon EOS R7 with a Canon RF 24mm F1.8 MACRO IS STM lens at 1/400 sec, f/5.6 and ISO 100. © Matt Doogue

A 'stacked' photograph, made up of a series of images shot at different focus settings, showing the whole of the scene in focus, taken by Matt Doogue on a Canon EOS R7.

A 'stacked' photograph, made up of a series of images shot by Matt at different focus settings, showing the whole of the scene in focus. Taken on a Canon EOS R7 with a Canon RF 24mm F1.8 MACRO IS STM lens at 1/400 sec, f/5.6 and ISO 100. © Matt Doogue

You will need to ensure your lens is set to autofocus (AF) mode – for lenses without an AF/MF switch, set the AF mode in the camera menu. Using a wide-angle lens means you can crop in to the final image to ensure that the whole subject remains in the frame.

Matt found the focus bracketing menu very easy to set up and use. "Once you have done a few stacks you understand what each option does," he says.

When you're ready, simply press the shutter button to start taking photos. A counter on the top corner of the LCD indicates the number of photos remaining.

In-camera focus stacking

A screenshot showing the Focus bracketing menu on a Canon camera with 'Focus bracketing' enabled.

Cameras such as the Canon EOS R7 and EOS R10 have a Depth composite function in the Focus bracketing menu that enables you to combine your captured images as a single JPEG, while also saving the individual source frames.

A screenshot showing the Focus bracketing menu on a Canon camera with 'Depth composite' enabled.

When depth compositing is enabled, you can use the Crop depth function to automatically trim the image.

The Canon EOS R7 and EOS R10 simplify the process by also stacking your sequence of images automatically in-camera, removing the need for processing work on a computer. "The ability to produce a composite image in camera is a real game-changer," says Matt. "The individual images are saved alongside a depth-composited image, so the result appears immediately. However, as the camera retains the single frames of the stack, you can also still process them yourself or use them individually."

In-camera stacking is available with every exposure mode on the EOS R7. "I would suggest using Manual (M), as this gives you full control of the camera and ultimately how the final image will look," says Matt. "You'll need a faster shutter speed to avoid camera shake when shooting handheld, which can be achieved by setting a higher ISO and wider aperture."

It's a good idea to take a test shot, to ensure you're happy with your settings, and it's also important to keep the camera stable. "I almost always use a tripod with internal stacking as I want to minimise my impact on the movement of the frames," Matt explains. However, this isn't ideal for live subjects. "In those scenarios, having a faster shutter speed and higher ISO helps to combat any unintentional movement introduced by the photographer," he adds. The EOS R7's in-built image stabilisation gives Matt extra leeway to shoot handheld.

A close-up shot of a flower stamen made up of 100 frames, stacked using the Canon EOS R10's in-camera focus bracketing depth compositing function. Taken by Matt Doogue.

Matt captured this flower stamen with the Canon EOS R10's in-camera stacking feature. He recommends shooting more images for macro work than landscapes – this image is made up of 100 frames. Taken on a Canon EOS R10 with a Canon RF 100mm F2.8L MACRO IS USM lens at 1/80 sec, f/4 and ISO 200. © Matt Doogue

A fully processed stack of 150 photos showing a tiny grain of salt, taken on a Canon EOS R7 with a Canon RF 100mm F2.8L MACRO IS USM lens by Matt Doogue.

This composite image of a grain of salt is made up of 150 frames processed internally in the EOS R7. "It saves so much time not having to combine the image in post-processing software," says Matt. "I can't imagine how long it would take to process a 150-image stack on my computer." Taken on a Canon EOS R7 with a Canon RF 100mm F2.8L MACRO IS USM lens at 1/30 sec, f/7.1 and ISO 320. © Matt Doogue

The number of frames you need to shoot depends on the subject, but with in-camera stacking, Matt has been able to combine hundreds of frames for subjects as small as a grain of salt. "For landscape stacking, you would naturally use a narrower aperture or wider depth of field, so you won't need to take as many frames – especially as you're capturing larger areas of focus at one time," he explains. He also adds that with macro work, using a too-narrow depth of field when stacking can lead to diffraction – an optical effect which limits the quality of your images – and loss of light.

If you don't have a camera with a built-in stacking function, you can combine your images using software such as Canon's free Digital Photo Professional (DPP), which has a dedicated Depth Compositing tool. "DPP will align and blend the sharpest parts of each image to create a final image with an extended depth of field," says Matt.

Focus stacking in DPP

Canon's DPP is free to download for owners of EOS R System cameras. Here's how to use it to create a depth composited image.

Manual focus stacking

Despite embracing the time-saving tech in the Canon EOS R7 and EOS R10, Matt believes that manual focus stacking is still useful. "The traditional method of focus stacking is the hardest but allows more room for creativity, and it's accessible to anyone," he says. "You also have greater freedom over light choices as some of the in-built features don't work with a flash unit."

If your Canon camera doesn't offer focus bracketing or in-camera stacking, it's easy to try manual focus stacking. "The principles are the same, except the user has to take each shot and then process them into a composite stacked image," Matt explains. Manual exposure and focus are key. "Turn off autofocus (AF) and manually focus on the nearest point of your subject," he says. "Use your camera's Live View mode to zoom in on the subject and ensure precise focus if it can do so."

Lighting choices

A close-up shot of a rock showing different forms of life, such as fungi and moss, photographed on a Canon EOS R10 by Matt Doogue.

To demonstrate the EOS R10's low-light shooting and in-camera stacking capabilities, Matt decided to photograph a rock. "Rocks often house many forms of life, including fungi, moss and lichens," he says. This image is just a single frame in the process. Taken on a Canon EOS R10 with a Canon RF 100mm F2.8L MACRO IS USM lens at 1/100 sec, f/5 and ISO 500. © Matt Doogue

A fully processed stack of several images of a rock showing fungi and moss, taken by Matt Doogue on a Canon EOS R10 and processed in-camera.

Matt relied on natural light for this vibrant macro photo. "This is the result of a full stack processed internally by the EOS R10," he says. Taken on a Canon EOS R10 with a Canon RF 100mm F2.8L MACRO IS USM lens at 1/100 sec, f/5 and ISO 500. © Matt Doogue

Lighting is important whichever method you choose to use for focus stacking. Not enough light, and the shutter speed might be too slow to freeze movement, but if you add in too much, the result can be harsh. For Matt, "natural light is great at retaining the iridescence and colours of a subject, which can sometimes be made flat by external light sources."

Matt adds external lighting if the daylight isn't adequate. "Constant lights (LEDs) are accessible, lightweight and can be placed anywhere around your subject, leading to more dynamic angles," he says.

Matt's stacking settings don't change much, but he adjusts his aperture depending on subject size, how many stacks are required and the magnification. "My ISO is usually around 320 when using flash, and my shutter speed is around 1/160 sec," he notes.

Canon's focus bracketing menu takes the guesswork out of capturing multiple images, while the cutting-edge in-camera depth compositing function in the Canon EOS R10 and EOS R7 simplifies the process, saving you time by removing the need for post-processing and enabling you to focus on more creative decisions such as composition and exposure. Manual focusing is still a great approach when you need the most control.

Matt believes whatever method you use focus stacking makes the mundane look magnificent. "Focus stacking transforms the ordinary into extraordinary," he says. From macro to landscapes, Canon's easy-to-use focus stacking tools will enable you to capture striking images that are pin-sharp from front to back.


Written by Lauren Scott and Andrea Ball

Related Products

Related Articles

Best starter kit for macro

Choosing cameras, lenses and accessories for detailed macro photography.

Macro photography tips

Macro photography made simple – discover the best kit, tips and techniques.

Macro food photography

Create interesting abstracts with food using Canon macro lenses.

Top tips for landscapes

Discover the shooting techniques to help you take your landscape photos to the next level.