Staying Sharp: Getting to Grips with Autofocus

By Geoff Harris

How your camera’s autofocus works

Do you understand how your camera’s autofocus works? Unless you're of the old school of photography it's more than likely that you'll autofocus on a regular basis. However, like most aspects of photography a little knowledge will help predict when autofocus is ideal and when it can go horribly wrong. When autofocus fails then the result is a blurry picture and, if you're like me, a sense of disappointment that that's another one for the bin.

Images shot for the Northumberland National Park Authority in the Cheviot Hills, June 27 2012, Autofocus, Phase detection, AF point selection, Contrast detection, AF-S, One Shot mode, AI Servo, AF-C, predictive focus, Live View

Phase detection AF is ideal for fast moving subjects.

Autofocus is well named. It's focusing that's automatic thanks to some clever technology inside the camera. The nature of this technology will depend on the type of camera you use. Typically DSLR cameras with an optical viewfinder use a technology called phase detection. Mirror-less cameras, compacts, and DSLRs when set to Live View, use a technology called contrast detection.

Springtime daffodil growing in an English country garden, Autofocus, Phase detection, AF point selection, Contrast detection, AF-S, One Shot mode, AI Servo, AF-C, predictive focus, Live View

This is the sort of scene that really confuses a camera when automatic AF point selection is used. The camera didn't know where I wanted to focus, so I had to step in and manually select the required AF point.

Although they ultimately do the same job the two technologies don't go about that job in the same way. The practical upshot is that phase detection is very fast. However, it trades off speed for accuracy (that's not to say phase detection isn't accurate – it's just not 100% accurate 100% of the time). Contrast detection is slower, often far, far slower. However, this tardiness is compensated for by the fact that contrast detection is very accurate.

To get round the slowness of contrast detection some cameras offer a function called Servo AF. When activated the camera continually adjusts focus so that when it's time to take the shot only a slight (and therefore quick) adjustment to autofocus will be needed. There is a drawback to Servo AF of course (there's no such thing as a free lunch...). Driving the motors inside the lens to adjust focus requires battery power. Use servo AF constantly and you may find your camera running out of juice more quickly than expected.

Actor dressed in Georgian costumes for a themed event at Belsay Hall, Northumberland, England, Autofocus, Phase detection, AF point selection, Contrast detection, AF-S, One Shot mode, AI Servo, AF-C, predictive focus, Live View

The ability to move the AF point comes in very useful when shooting off-centre subjects.

Phase detection autofocus uses a series of sensors, clustered in a diamond or rectangular shape. The location of the sensors relative to the picture can be seen by looking at the AF points in the camera's viewfinder. Typically the sensors are found in the centre of the viewfinder. Your camera either selects which AF point to use automatically (usually by selecting the AF point that covers the object closest to the camera) or allows you to select the AF point manually. This latter option is very useful when shooting off-centre subjects or when the subject you want to focus on isn't the closest thing to the camera.

You can usually set autofocus to stop once focus has been achieved (One Shot mode in Canon speak, AF-S in Nikon lingo) or continually focus until the shutter button is pressed down fully (AI Servo or AF-C). The latter option uses predictive focus to follow a moving subject, swapping between AF points to keep focus locked. Until the subject moves outside the cluster of sensors that is.

Fully grown Red Deer stag in Glen Etive in the Scottish Highlands, Scotland, Autofocus, Phase detection, AF point selection, Contrast detection, AF-S, One Shot mode, AI Servo, AF-C, predictive focus, Live View

Typically it's the eyes of a subject that should be sharp. Phase detection is sometimes not accurate enough to achieve this. Some camera offer functions that allow you calibrate AF for a particular lens.

This is one way that contrast detection has phase detection beat. Contrast detection isn't limited to a cluster of AF points. Generally you can move the AF point virtually anywhere on the LCD and the camera will focus precisely there.

Close-up of a poppy growing in a pasture field near Bamburgh, Northumberland, England, Autofocus, Phase detection, AF point selection, Contrast detection, AF-S, One Shot mode, AI Servo, AF-C, predictive focus, Live View

When I want absolute AF accuracy (and speed isn't an issue) I'll use Live View and the camera's contrast detection system.

The camera that I use on a regular basis uses both systems. Neither is perfect, but it's good to have both. Phase detection (looking through the viewfinder) is great when shooting action shots. Contrast detection (in Live View) is perfect when shooting relatively static subjects, such as flowers in macro (with the added bonus that it's possible to zoom into the Live View display to check that the camera's focusing exactly where I want it to).

Geoff Harris

I am a journalist and photographer and currently work as the Deputy Editor of Amateur Photographer (AP) - http://www.amateurphotographer.co.uk the oldest weekly photographic magazine in the world. Before that I served as the editor of Digital Camera, Britain's best-selling photography magazine, for five years. During my time as editor it became the UK's top selling photo monthly and won Print Publication of the Year at the 2013 British Media Awards. As well as being lucky enough to get paid to write about photography, I've been fortunate to interview some of the greatest photographers in the world, including Elliott Erwitt, Don McCullin, Martin Parr, Terry O'Neill and Steve McCurry. This has been a wonderful learning experience and very influential on my photography. Beyond writing, I am a professional portrait, travel and documentary photographer, and reached the finals of the 2016 Pink Lady Food Photographer of the Year competition. I am a Licentiate of the Royal Photographic Society and hope to take my Associateship whenever I can find the time. In addition I write about well being/personal development and antiques collecting for a range of other titles, including BlueWings, the in-flight magazine of Finn Air.

Stay updated

Receive free updates by email including special offers and new courses.

You can unsubscribe at any time

Photography

Related posts

Our best selling courses

Awards & Accreditations

  • CPD Accredited (provider 50276)
  • Good Web Guide
  • Red Herring Winner
  • Education Investor Awards 2021 - Finalist
  • Royal Horticultural Society
  • Digital Education Awards 2023 Winner for Digital Health and Wellbeing Learning Product of the Year
  • Digital Education Awards 2023 Winner for Adult Home Learning Product of the Year