Canon first introduced the Focus Bracketing feature in the Canon EOS RP mirrorless interchangeable lens camera. The Canon EOS R5 and Canon EOS R6 were next.
- Solved: Focus Stacking - Canon Community
- Cached
- Focus Stacking With The Canon 5DS R: Canon EOS-1D / 5D / 6D ...
- Canon 750d Focus Bracketing
What is Canon EOS Focus Bracketing?
The Canon EOS 750D (called the Canon EOS Rebel T6i in North America) is a new DSLR camera that boasts 24 megapixels, 19-point autofocus system, Wi-Fi connectivity with NFC pairing and a touch-screen interface. Other key features of the 750D / T6i include burst shooting at 5fps, a vari-angle 3-inch LCD screen with 1,040k dot resolution, ISO range of 100-25,600, 14-bit image processing and Canon. What is focus stacking and why is it needed? When your camera is really close to the subject, depth of field will be very shallow. For example, if you are using a 100mm lens, at a distance of 50cm (nearly 10 inches from your subject) with an aperture as small as f/16, the area which is acceptably sharp is just 1.9 cm (about 3/4 of an inch).
When enabled, the focus bracketing feature instructs the camera to take a series of pictures with the lens' focus distance setting increasing between each image captured until the specified number of images are captured or until infinity focus is reached. The resulting set of images can then be focus stacked during post-processing with the result being an increased depth of field, potentially by a significant amount, while avoiding the softening effects of diffraction caused by very narrow apertures use.
This technique is commonly used in macro photography as the depth of field is typically extremely shallow at very close focus distances. Landscape photographers frequently use this technique to keep entire scenes that include a close foreground subject in focus.
Here are two illustrations:
Keep in mind that the depth of field difference is much more obvious in the full-resolution images.
The Canon Focus Bracketing Settings
There are four settings used to control the focus bracketing feature.
- Activate Focus Bracketing (Enable/Disable)
- Input number of shots (2 to 999)
- Focus increment (1-10)
- Exposure smoothing (Enable/Disable)
Solved: Focus Stacking - Canon Community
Hopefully, the first option is self-explanatory. The feature is either enabled or disabled.
The number of shots instructs the camera to capture up to the specified number of images. I say 'up to' because the camera stops taking photographs when infinity focus distance is reached and this may only require a small number of images regardless of the number of shots setting. Use this setting to limit the camera to a shorter focus distance range, or set the number very high to ensure that all distances including infinity are covered.
The focus increment setting is definitely the vaguest on this list. This setting deals with the granularity of the focus distance adjustment between each shot with 1 requesting fine increments and 10 requesting wide increments. Specific distance changes are not able to be input and with the depth of field increasing with distance, a non-specific increment value makes sense. Focus brackets always start with the initial focus distance and proceed toward infinity (the ending distance cannot be directly specified). 'The wider the pre-set lens aperture, and the closer the lens is to the subject for the first shot, the finer the focus increments should normally be, and the more Focus Bracketed shots should be dialed-in.'
Exposure smoothing is disabled by default, but when enabled, the camera keeps image brightness consistent through the image set. This feature is primarily useful for compensating for light transmission losses when lenses, especially macro models, are focused at very close distances.
Optional is for the camera to create a new folder on the memory card before the bracketed sequence starts, making it easy to separate a potentially large number of images. Tapping the 'Folder +' icon creates a new folder and subsequent images are saved there.
Which Lenses are Officially Supported by Focus Bracketing?
Canon engineers have specified that only the lenses listed below are officially compatible with the focus bracketing feature. However, reports exist of additional lenses appearing to be supported by this feature. While it seems safe to say that all RF lenses will be supported, that expectation was not initially confirmed by Canon. We also do not know why official compatibility is limited to this a list of lenses, though the lenses on this list seem like logical choices for use with this feature.
The initial list for the R5 and R6 is significantly expanded:
Cached
'We absolutely cannot guarantee proper Focus Bracketing operation when third-party lenses are attached.' [Canon]
Additional Notes
- The camera should be tripod mounted or similarly motionless during focus bracketing capture
- JPEG or RAW file capture is supported
- Only creative zone exposure modes are supported (P, Tv, Av, Fv, or M)
- To ensure consistency, exposure settings, ISO, AWB, and Picture Style settings are locked-in with the first shot regardless of the mode selected
- In M or Av mode, any aperture can be selected, though a relatively narrow aperture such as f/8 or f/11 reduces the number of shots needed
- The lens must be in AF mode for focus bracketing to work, though full-time manual focus can be used after half-pressing the shutter release to begin the sequence capture
- Any subjects that are in motion during the bracketing capture will likely create ghosting in the final image
- Accommodate focus breathing as the lens may magnify the scene differently as the focus distance is adjusted
- Lighting changes during capture may create uneven brightness in the final image
- Proper exposure should be confirmed before initiating a focus bracketing sequence
- Focus bracketing in progress can be canceled the same way it was started, by pressing the shutter release button
- After the last frame, the lens should be focused on or beyond the most distant element that is desired to be in focus. Otherwise, more frames are needed.
Intelligence Built In
'... Canon engineers have revealed nothing about the calculation process involved in the Focus Bracketing feature. We can infer that the system is factoring-in the lens (and focal length) in use; the actual lens aperture in effect; and the initial sharp focus distance applied by the photographer. In other words, it’s probably safe to assume that the amount of focus deviation at Level 3, from shot-to-shot with a 100mm macro lens, initially focused at its nearest focus distance and with an aperture of f/4, is different than it would be at level 3 with the 16-40mm lens at f/11, pre-focused at 4 or 5 feet away for the first in a series of landscape shots.'
Still, it seems that this process could be further automated. If the camera could be informed of the desired far focus distance, either directly input into the camera or selected via the lens (perhaps make infinity the default), the camera would be able to automatically calculate both the focus increment and the number of shots.
Focus Stacking After Capture
All of the images captured by Focus Bracketing are stored on the memory card. Each set of images can be used to simply select the single best-focused option. Or, more typically, further processing via 'focus stacking' is required. This process cannot be done in-camera and probably most of us would not want to wait while our cameras did this task.
There are a number of software applications that support focus stacking, including very popular Adobe products, but focus stacking is now included in Canon Digital Photo Professional's composite tool. Initially introduced in version 4.10 with support for the Canon EOS R, EOS RP, and EOS 5D Mark IV, the DPP compositing tool comes highly recommended, especially for some of its processing features including the ability to adjust the amount of background blur in a final stacked result. DPP creates a folder in the same folder the stacked result (JPG or TIF format) is being written to. Binary files are stored in this folder including a large file for each image used in the stack along with a data file. These files are required for the adjustment functionality and can be deleted after the image is finished.
Canon's DPP software is provided free with Canon EOS cameras (I use DPP a lot).
Canon's Focus Stacking is Really Easy
The Christmas cactus that spends most of the year looking rather mundane, essentially green foliage in a pot, finally opened a single bloom. These blooms last only a couple of days, they are irresistibly-beautiful, and I decided that testing the EOS RP's focus stacking feature was a good excuse to photograph this one.
For this first focus bracketing and stacking attempt, I mounted a Canon EF 100mm f/2.8L IS USM Macro Lens to the EOS RP via an Adapter and mounted both on a tripod. It was a cloudy day, so I positioned the flower in diffused ambient light with a bright wall behind it.
The 100mm f/2.8L IS macro lens, like many others, has a significant amount of focus breathing with the subject being magnified very differently at the ends of the necessary focus adjustment range. The final focus stack image framing will be the same as the most-tightly-framed image in the stack (and retains the original pixel dimensions) and thus the composition was adjusted for the tightest framing.
The ambient light was not changing much and that means a manual exposure is usually ideal. With the end goal of focus stacking being to have tremendous depth of field, it makes sense to use a narrow aperture and f/11 is a nice compromise between a good amount of depth of field and the softening effects of diffraction. ISO 100 was selected for the lowest amount of noise possible and a couple of test shots proved that a 0.5 second shutter speed yielded the correct brightness. Note that testing exposure before initiating a focus bracketing sequence is important – 50 or 900 images are not necessary for this. The 2-second self-timer was used to initiate the relatively long captures.
With the camera in AF mode, the closest focus distance required by the stack needs to be selected at the beginning of the capture. I opted to place one of the camera's single (spot) AF points on the closest part of the flower. Alternatively, The focus distance could have been adjusted after half-pressing the shutter release (or setting only the back AF-button for AF). I enabled focus bracketing, guessed that I would need 25 images, guessed that '4' sounded like a good focus increment number and figured that exposure smoothing would minimally do no harm in this case.
Upon the shutter release being pressed, the camera paused 2 seconds and then captured the promised number of frames. When the bracketing was completed, the lens' focus distance was beyond everything I wanted to be in focus, confirming that enough exposures were captured.
Upon reviewing the images in DPP, I discovered that only 14 were needed for complete depth of field coverage in this example. After selecting those 14 images, the depth compositing tool was selected (Alt+Shift+B) and the Execute button was pressed, accepting the defaults. After quickly erasing the background using the paint fill tool in Photoshop and doing some very minor cleanup, the result is what you see here.
In the above examples, the first row shows full images reduced in size. The second row shows significantly-cropped images that better show the depth of field comparison. The last two rows show 100% crops.
This was a very easy process and the result looks great.
Also check out the Canon EOS R5 Focus Stacking at the Somesville Bridge and Selectmen's Building example. Again, the process was easy, and the results are superb.
Thanks, Rudy!
A big 'Thanks!' goes out to Canon USA's Rudy Winston for significant assistance in putting this article together. The quotes included above are his.
A different way to handle autofocusing
Normally, when you press your shutter button half way down, the camera determines the exposure needed and, if autofocusing is switched on, it will focus the lens as well. You can opt to have the focusing done just once (One-shot) or have the camera continually refocus on whatever passes across its autofocus points (AI Servo).
Most photographers get by for years without ever thinking about changing how and when the lens is focused. This is understandable – if the normal method works, why change it?
However, focusing with the shutter button half pressed can be tiring if you want to focus initially and then wait for the right moment to take the picture. Your finger must remain static in order to stop the camera re-focusing when you press the shutter button and you may find that you accidentally press the shutter releasebefore you’re ready. Switching to manual focusing is a possible solution, but there is a way to use autofocus with a greater degree of control.
Separate functions
Many professional photographers change the way their autofocus operates by removing the focus from the shutter release button altogether. The task of autofocusing is instead transferred to the AF-ON button, which is conveniently located on the back of the camera under your right thumb. It has become known as ‘back button focusing’ (BBF).
Once set up, BBF allows you to quickly focus on a subject by pressing the AF-ON button and then recompose the shot without the camera altering the focus when you press the shutter release button.
Focus Stacking With The Canon 5DS R: Canon EOS-1D / 5D / 6D ...
If you set your focus mode to AI Servo, pressing the AF-ON button will focus as if you had selected One-shot mode. If you keep the AFON button pressed, it will track focus.
Sport photographers often use AI Servo focusing with BBF. They can just take their thumb off the AF-ON button if an unwanted subject wanders into frame during shooting (which might throw the focus off the main subject).
Canon 750d Focus Bracketing
Custom Function settings allow you to control the function of the AF-ON button – some photographers set it up to activate focus while pressed and others like it to temporarily disable focus. Try it out and see what works for you.