Depth of Field Tutorial

By: John Honovich, Published on Oct 19, 2012

Ignore depth of field concerns for 95%+ of surveillance applications, despite what you hear. While this is a common consideration in digital photography, its goals and logistics differ. In this note, we explain the drivers, why it is generally not a surveillance concern and the exceptional application where it is plus what can be done.

Photographers Often Prefer Shallow Fields of View

Photographers often want to emphasize a particular subject in the field of view while essentially blurring out the background. To do this, they reduce the depth of field. Take a look at the image below. A photographer would most likely prefer the one of the right if they were showcasing the figurines:

photog depth

However, in surveillance, it is the opposite. One almost always want a very wide depth of field so that you do not lose details that might prove important for later investigations.

Drivers of Wide Depth of Field

The closer a subject is to the front of the FoV the shallower the depth of field will be. This can happen either because the subject is physically quite close to the camera or a long lens used. Here's an example from a youtube tutorial when the subject is very close:

close to camera

Notice at 3 foot, depth of field is poor but at 9 foot, it is much better.

Now, here's an example where the subject is far away but the lens is long and the subject is the front of the FoV:

Get Notified of Video Surveillance Breaking News
Get Notified of Video Surveillance Breaking News

far but tight

In Surveillance, Not a Common Issue

95%+ of real world surveillance consists of:

  • Wide angle shots (e.g., 3 - 8mm)
  • With subjects 5 or more feet away from the camera

Because of this, shallow depth of field is simply not a common field problem. Trying to deepen the FoV in these conditions will do little to no good but can cause big problems in low light.

Calculate For Yourself

Depth of Field size can be calculated mathematically. Here is a nice Depth of Field calculator we recommend.

Below is a short 3 minute video showing you the drivers and the calculator in action:

The Surveillance Exception

The most common, though still infrequent exception, is when a surveillance camera uses a long lens to observe far from the camera. Below is an example looking down a 200 foot hallway.

fuzzy far

To eliminate the shallow depth of field above, increase the F-stop to reduce the iris opening.

However, two important conditions need to be met:

  • Use a manual iris lens to close down the iris and keep it fixed there. An auto iris lens may automatically adjust the iris opening creating depth of field problems.
  • Ensure that you have lots of light 24/7 or whenever you want images. Closing down the iris will create terrible image quality with even moderate low light.

All in all, do not worry about depth of field but if you have a rare case where it is an issue, think carefully about the tradeoffs and issues involved.

Test your knowledge

Take this 6 question quiz now

4 reports cite this report:

Lens Iris Tutorial on Aug 08, 2019
Cameras, like humans, have irises, controlling the light which hits the imager and impacting image details. However, cameras have multiple types of...
Lens Focal Length Tutorial on Jul 10, 2019
3mm, 6mm, 2.8 - 9mm, 5 - 50mm, etc. Camera specifications often list lens lengths but what do they mean? These metrics are important in...
Testing EF Lenses On IP Camera on Nov 23, 2016
Glass. IP cameras are often characterized as using lower quality 'glass' and that those lenses reduce image quality. By contrast, Canon EF lenses...
A Major Flaw in Long Lenses and PTZs Found on Aug 26, 2014
Theoretically, long lenses should let you capture faces and license plates very far away. For example, over 900 feet away from a 1080p camera one...
Comments : PRO Members only. Login. or Join.

Related Reports on Tutorials

Lens Focal Length Tutorial on Jul 10, 2019
3mm, 6mm, 2.8 - 9mm, 5 - 50mm, etc. Camera specifications often list lens lengths but what do they mean? These metrics are important in...
Subnetting for Video Surveillance on Apr 30, 2019
This guide explains when subnetting is used on security networks, and how it works. We explain how to add or remove IP addresses to your range,...
Door Operators Access Control Tutorial on Apr 17, 2019
Doors equipped with door operators, specialty devices that automate opening and closing, tend to be quite complex. The mechanisms needed to...
Pole Mount Camera Installation Guide on Apr 11, 2019
Poles are a popular but challenging choice for deploying surveillance cameras outdoors. Poles are indispensable for putting cameras at the right...
ONVIF Video Surveillance Tutorial on Jan 29, 2019
ONVIF is well known within the surveillance industry as an interface to connect IP cameras and VMS systems. However, new users may find it...
Access Control Turnstiles Guide on Jan 28, 2019
Turnstiles control pedestrian access to secured areas, essentially becoming moving portions of fences, walls, or barricades for physically stop...
Cable Trenching for Surveillance on Jan 21, 2019
Trenching cable for surveillance is surprisingly complex. While using shovels, picks, and hoes is not advanced technology, the proper planning,...
H.265 / HEVC Codec Tutorial on Jan 08, 2019
H.265 support improved significantly in 2018, with H.265 camera/VMS compatibility increased compared to only a year ago, and most manufacturers...
Building Occupancy Codes and Access Control Tutorial on Nov 01, 2018
A building or room's classification can greatly impact which building codes must be followed. In terms of access control, these 'occupancy codes'...
AHJ / Authority Having Jurisdiction Tutorial on Sep 27, 2018
One of the most powerful yet often underappreciated characters in all of physical security is the Authority Having Jurisdiction (AHJ). Often,...

Most Recent Industry Reports

TMA Apologizes to Amazon / Ring on Aug 23, 2019
Not only is Amazon / Ring making major incursions into the residential security market, the organization representing the biggest incumbents, The...
China Dahua Replaces Their Software With US Pepper on Aug 22, 2019
What does a US government banned company do to improve its security positioning in the US? Well, Dahua is unveiling a novel solution, partnering...
Security Integrators Outlook On Remaining Integrators In 2025 on Aug 22, 2019
The industry has changed substantially in the last decade, with the rise of IP cameras and the race to the bottom. Indeed, more changes may be...
First GDPR Facial Recognition Fine For Sweden School on Aug 22, 2019
A school in Sweden has been fined $20,000 for using facial recognition to keep attendance in what is Sweden's first GDPR fine. Notably, the fine is...
Anyvision Facial Recognition Tested on Aug 21, 2019
Anyvision is aiming for $1 billion in revenue by 2022, backed by $74 million in funding. But does their performance live up to the hype they have...
JCI Sues Wyze on Aug 21, 2019
The mega manufacturer / integrator JCI has sued the fast-growing $20 camera Seattle startup Wyze. Inside this note: Share the court...
Dahua 4K Camera Shootout on Aug 20, 2019
Dahua's new Pro Series 4K N85CL5Z claims to "deliver superior images in all lighting and environmental conditions", but how does this compare to...
ZK Teco Atlas Access Control Tested on Aug 20, 2019
Who needs access specialists? China-based ZKTeco claims its newest access panel 'makes it very easy for anyone to learn and install access control...
Uniview Beats Intel In Trademark Lawsuit on Aug 19, 2019
Uniview has won a long-running trademark lawsuit brought by Intel, with Beijing's highest court reversing an earlier Intel win, centered on...
Suprema Biometric Mass Leak Examined on Aug 19, 2019
While Suprema is rarely discussed even within the physical security market, the South Korean biometrics manufacturer made global news this past...

The world's leading video surveillance information source, IPVM provides the best reporting, testing and training for 10,000+ members globally. Dedicated to independent and objective information, we uniquely refuse any and all advertisements, sponsorship and consulting from manufacturers.

About | FAQ | Contact