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 : Members only. Login. or Join.

Related Reports

Facial Recognition 101 on Mar 18, 2020
Facial recognition interest, use and fear is increasing. This guide aims to teach you the fundamentals of facial recognition. Inside we...
Silicon Valley Cybersecurity Insurance Startup Coalition Profile on Mar 20, 2019
Many industry people believe cybersecurity insurance is not worth it, as the voting and debate in our Cybersecurity Insurance For Security...
Vivotek Favorability Report 2019 on Jan 29, 2019
Taiwanese video surveillance manufacturers, even relatively large ones like Vivotek, have lost ground in the PRC-China-driven race to the bottom....
Camera Height / Blind Spot Added to IPVM Camera Calculator on Oct 18, 2018
IPVM has added camera height and blind spot estimation to the Camera Calculator. This is especially helpful for those who need to mount cameras up...
Inputs/Outputs For Video Surveillance Guide on Aug 24, 2018
While many cameras have Input/Output (I/O) ports, few are actually used and most designers do not even consider them. However, a good understanding...
Uniview Intrusion Analytics and VMD Tested on Aug 13, 2018
IPVM's IP Camera Analytics Shootout featuring Avigilon, Axis, Bosch, Dahua, Hanwha, Hikvision created some ill will with a Uniview distributor who...
Integrator Technician Field Software Usage (Statistics) on May 07, 2018
Maintaining accurate notes and documentation from field technicans is a difficult and important task for a security integrator operation. Keeping...
$800 Axis Thermal Camera Examined on Jan 02, 2018
Axis is releasing two of the lowest cost thermal IP cameras ever. But will low cost be enough to spur adoption? In this note, we examine the 2 new...
ADI 'In The Dark' About Low Light on Aug 07, 2017
ADI's recent post on 'How To See Better In the Dark' makes basic mistakes, promoting outdated technical claims. Missing: Super Low...
Importance of Sales To Integrators - Statistics on Jun 23, 2017
One of the top trends in the industry over the past few years has been the rise of across-the-board sales (e.g.: Hikvision Sales, Dahua Sale,...

Most Recent Industry Reports

Hikvision Illicitly Uses Back To The Future In Marketing on Jul 03, 2020
NBCUniversal told IPVM that Hikvision UK's ongoing coronavirus marketing campaign using NBCUniversal's assets was not allowed. Hikvision mass...
Verkada: "IPVM Should Never Be Your Source of News" on Jul 02, 2020
Verkada was unhappy with IPVM's recent coverage declaring that reading IPVM is 'not a good look' and that 'IPVM should never be your source of...
Vintra Presents FulcrumAI Face Recognition on Jul 02, 2020
Vintra presented its FulcrumAI face recognition and mask detection offering at the May 2020 IPVM Startups show. Inside this report: A...
Uniview Wrist Temperature Reader Tested on Jul 02, 2020
Uniview is promoting measuring wrist temperatures whereas most others are just offering forehead or inner canthus measurements. But how well does...
Dahua USA Admits Thermal Solutions "Qualify As Medical Devices" on Jul 02, 2020
Dahua USA has issued a press release admitting a controversial point in the industry but an obvious one to the US FDA, that the thermal temperature...
Access Control Online Show - July 2020 - With 40+ Manufacturers - Register Now on Jul 01, 2020
IPVM is excited to announce our July 2020 Access Control Show. With 40+ companies presenting across 4 days, this is a unique opportunity to hear...
Hanwha Face Mask Detection Tested on Jul 01, 2020
Face mask detection or, more specifically lack-of-face-mask detection, is an expanding offering in the midst of coronavirus. Hanwha in partnership...
UK Government Says Fever Cameras "Unsuitable" on Jul 01, 2020
The UK government's medical device regulator, MHRA, told IPVM that fever-seeking thermal cameras are "unsuitable for this purpose" and recommends...
Camera Course Summer 2020 on Jun 30, 2020
This is the only independent surveillance camera course, based on in-depth product and technology testing. Lots of manufacturer training...
Worst Over But Integrators Still Dealing With Coronavirus Problems (June Statistics) on Jun 30, 2020
While numbers of integrators very impacted by Coronavirus continue to drop, most are still moderately dealing with the pandemic's problems, June...