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

Camera Course Winter 2020 on Jan 10, 2020
This is the only independent surveillance camera course, based on in-depth product and technology testing. Lots of manufacturer training exists...
Getting Started With Your IPVM Membership on Dec 02, 2019
Here's how to get started and get the most out of your IPVM membership. Books for Members All members can download the 3 member-only books below...
2020 IP Networking Book Released on Jan 06, 2020
The new IP Networking Book 2020 is a 280 page in-depth guide that teaches you how IT and telecom technologies impact modern security systems,...
Startup Spectral Edge RGB+IR Claims "Unique Low Light Performance Tech" on Apr 03, 2019
This UK startup, born out of university research, is boldly proclaiming that they deliver "Unique low light performance tech for video surveillance...
Manufacturer Favorability Guide 2019 on Jun 12, 2019
The 259 page PDF guide may be downloaded inside by all IPVM members. It includes our manufacturer favorability rankings and individual...
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...
Camera Field of View (FoV) Guide on Nov 13, 2019
Field of View (FoV) and Angle of View (AoV), are deceptively complex. At their most basic, they simply describe what the camera can "see" and seem...
Wide Dynamic Range (WDR) Guide on Oct 01, 2019
Understanding wide dynamic range (WDR) is critical to capturing high quality images in demanding conditions. However, with no real standards, any...
Biggest Low Light Problems 2019 on Nov 08, 2019
Over 150 integrators responded to our survey question: "What are the biggest problems you face getting good low-light images?" Inside, we share...
IPVM Opens 12,000 Sqft Testing Facility on Dec 16, 2019
IPVM is proud to announce the opening of the world's first video surveillance testing facility that will allow us to significantly expand our...

Most Recent Industry Reports

'Severe Impact' Mercury Security 2020 Leap Year Firmware Issue on Jan 17, 2020
One of the largest access controller manufacturers has a big problem: February 29th. Mercury Security, owned by HID, is alerting partners of the...
Apple Acquires XNOR.ai, Loss For The Industry on Jan 16, 2020
Apple has acquired XNOR.ai for $200 million, reports GeekWire. This is a loss for the video surveillance industry. XNOR.ai stunned the industry...
Installation Course January 2020 - Last Chance on Jan 16, 2020
Thursday, January 16th is your last chance to register for the Winter 2020 Video Surveillance Installation Course. This is a unique installation...
Halo Smart Vape Detector Tested on Jan 16, 2020
The Halo Smart Sensor claims to detect vaping, including popular brand Juul and even THC vapes. But how well does it work in real world...
PRC Government Entity Now Controlling Shareholder of Infinova / March Networks on Jan 16, 2020
A PRC government entity is now the controlling shareholder of US security manufacturer Infinova as well as its wholly-owned subsidiary March...
Network Cabling for Video Surveillance on Jan 15, 2020
In this guide, we explain the fundamentals of network cabling for video surveillance networks, how they should be installed, and the differences in...
ONVIF Trashed Statement, Confirms Dahua and Hikvision Still Suspended on Jan 15, 2020
ONVIF has 'trashed' the suspension statement for Dahua, Hikvision, Huawei, etc. but confirms to IPVM that those companies are all still...
Wyze Smart Door Lock Test on Jan 14, 2020
Wyze's inexpensive cameras have grabbed the attention of many in the consumer market, but can the company's new smart lock get similar...
Wesco Wins Anixter on Jan 13, 2020
Despite Anixter earlier arguing that Wesco's bid was inferior to CD&R's by nearly 10%, Anixter confirmed that they are taking Wesco's 3.1%...
Anixter Resisting Takeover From Competitor, Bidding War Emerges, Wesco Wins on Jan 13, 2020
Mega distributor Anixter is going to be acquired but by whom? Initially, Anixter planned to go private, being bought by a private equity firm....