Академический Документы
Профессиональный Документы
Культура Документы
1 of 15
http://www.cam-it.org/index.php?topic=5424.0
Search
Login
News:
Online since 10/30/2008
Home
Help
Search
Downloads
Login
Register
Cam It! Hardware & Technology General Talk How to measure FOV on your camera
Advertisment:
Cheap Laptops
Work At Home
Social Networking
Free Ringtones
Weather Report
previous next
Pages: [1]
Go Down
Author
MaxIcon
Hero Member
Posts: 2129
Field of view (FOV) specs are an important part of selecting a camera. Many
vendors don't do a very good job of measuring or defining FOV, and
traditional FOV calculators don't work well with M12 lenses. The important
number with FOV is the angle, which lets you calculate the width and height
of the image at any distance.
More detail later, but for now, here's a simple, inexpensive way to measure
actual FOV on any camera you can get to. The math sounds a little
complicated, but it's really not if you do it step by step.
Overview:
To calculate FOV, you need to measure the width of the image and the
distance from the camera's sensor to the measuring point. By holding a
ruler a fixed distance from the camera and taking a snapshot, you can get
both of these numbers at once.
Here are the basic steps:
1. Assemble the ruler
2. Hold the ruler against the camera's face, just below the lens
3. Rotate the ruler slowly to make sure you get a straight horizontal
alignment in some frames.
4. Repeat with the ruler to the side of the lens and oriented up and down to
get vertical FOV, if you want it.
5. Play back the camera's recording, choose a frame with a clear, straight
image of the ruler, and capture the image if you want.
06/01/2017 23:20
2 of 15
http://www.cam-it.org/index.php?topic=5424.0
Any size ruler or threaded rod can be used. Longer threaded rods are easier
to reach the camera with, but give less FOV range with a particular ruler.
You can also put labels on the ruler for the angles, so you can read a
ballpark number off immediately. I used 2 x 12" rods with a coupling so I
could test both styles.
Here are the FOVs you can measure with these setups:
36" ruler - 108 degrees with a 12" threaded rod, 71 degrees with a 24" rod.
48" ruler - 123 degrees with a 12" threaded rod, 87 degrees with a 24" rod.
The shorter rod gives a greater FOV range, but requires you to get closer to
the camera, while the 2' rod gives you a bit more reach and requires a 48"
ruler to get above 70 degrees.
The plastic cap protects the camera from the ends of the threaded rod, and
06/01/2017 23:20
3 of 15
http://www.cam-it.org/index.php?topic=5424.0
adds a little extra length to make up for the length that the wing nut grabs.
The rod will often be 1/2" short because of the length that goes through the
ruler, but this doesn't make a big difference in the numbers. You can
measure the rod length to get more accurate number. I assume the sensor is
about 1" behind the front glass, but it's probably a little more, and may be
different for your camera.
To assemble it:
- Drill a 1/4" hole in the center of the ruler (18" on a 36" ruler, 24" on a 48"
ruler).
- Turn the 2 nuts about an inch onto the threaded rod.
- Insert the rod into the hole in the ruler, with the long part on the number
side of the ruler.
- Turn the wing nut onto the rod on the back side of the ruler until the rod is
flush with the wing nut. You want this side to be as short as possible but
still secure.
Turn the first nut to hold the ruler tight against the wing nut.
Turn the second nut to lock against the first nut and keep it from moving.
Turn a plastic cap on the other end of the rod. Anything that will fit, not
move a lot, and protect the camera from the threaded rod will work.
Here's the assembled device, laid out on a flat surface with a Dahua 2100N.
The vertical FOV can be measured by turning the camera sideways:
Once it's assembled, you can get the numbers a couple of ways:
06/01/2017 23:20
4 of 15
http://www.cam-it.org/index.php?topic=5424.0
Hik 3MP DS-2CD2032 bullet, 4mm lens, mounted out front. Lighting was
06/01/2017 23:20
5 of 15
http://www.cam-it.org/index.php?topic=5424.0
not good and the numbers are harder to read, but it's still easy to tell where
it ends:
06/01/2017 23:20
6 of 15
http://www.cam-it.org/index.php?topic=5424.0
From these pics, we can see the high and low end of the yardstick, and
figure the width. Once we know that, we plug the numbers into this
formula:
2 * arctan (width/(distance*2))
Width = (highest ruler number) - (lowest ruler number)
Distance = threaded rod length plus 1 (assuming the sensor is about 1"
behind the faceplate or dome). These can be measured more accurately to
get better numbers.
Hik calculations:
If you use the Hik pic above, it uses a 24" threaded rod, so the numbers
become:
2 * arctan ((highest-lowest)/((distance + 1) * 2)
2 * arctan (45.25 - 5.5)/(25 * 2)
2* arctan (39.75/50)
2 * arctan 0.795
2 * 38.5
77 degrees horizontal FOV for the Hik 3MP bullet with the 4mm
lens.
The Hik spec is 75.8 degrees, and this is pretty close. They don't say which
06/01/2017 23:20
7 of 15
http://www.cam-it.org/index.php?topic=5424.0
resolution this is for, but it matches 1080p spec pretty well, and the 3MP
image calculates up at about 69 degrees.
Dahua 2100N calculations:
The Dahua version uses a 12" rod, so the numbers work out like this:
2 * arctan ((highest-lowest)/((distance + 1) * 2)
2 * arctan ((32.75-15.25)/((12 + 1) * 2)
2 * arctan 17.5/26
2 * arctan 0.67
2 * 33.9 degrees
67.8 degrees, but we'll just call it 68 degrees, because we don't really have
1/10 degree accuracy here.
68 degrees horizontal FOV for the Dahua 2100N with the 3.6mm
lens
The Dahua spec is 70 degrees, so they're not too far off.
Arctan!
It's easy until you get to the arctan part, because who messes with trig?
Luckily, there are a bunch of ways of getting this number, and the easy ones
are google or your phone.
Google will calculate it if you put this in the search field (I copy and paste
the x number from the Windows calculator):
arctan x in degrees
where x is the results above. In this case:
arctan 0.795 in degrees
and it gives you 38.48... Multiply that times 2, and that's your FOV - 77
degrees. We're not that precise, so you can round off the decimal points,
and you're done.
One you know this, you can calculate coverage for any distance using an
FOV calculators. If you change the lens, just measure it again, and you'll
know the new FOV.
Other options for the arctan calculations:
Smartphone scientific calculators will also give you the arctan. The Iphone
calculator goes into scientific mode if you turn it sideways, and hitting the
"2nd" button switches from tan to arctan, which they show as tan-1.
You can also create an Excel spreadsheet that will calculate it, or give you a
table of FOV vs distance numbers. The Excel formula is this:
=(180/PI())*2*(ATAN(width/(2*distance))), where width and distance would
point to the cells with those numbers.
You can also set up a formula to go backwards and calculate what width
equals what angle, like so:
=(TAN((width*(PI()/180))/2))*2*angle, where width and angle would
contain the cell numbers that have that info.
This will give you the place to mark angles on the ruler, say for every 10
06/01/2017 23:20
8 of 15
http://www.cam-it.org/index.php?topic=5424.0
I'll post more on the background later for the tech geeks out there, but this
is the starting point to measure your own FOVs.
Last Edit: September 29, 2013, 05:31:31 am by MaxIcon
MoridinTX
Logged
06/01/2017 23:20
9 of 15
Newbie
Posts: 20
http://www.cam-it.org/index.php?topic=5424.0
camera
Wow, awesome
information
Reply #1 on:
September MaxIcon.
29, 2013, Thanks for all the effort!
01:13:44 am
Logged
[OS: Windows 7 ULT x64bit SP1, Blue Iris v3.35.00 PC: i5 3570, 8GB, 3/7200/2TB Raid
Array]
[1-Acti E44] [2-Hikvision DS2132i]
Outsync
Global Moderator
Hero Member
Posts: 695
MaxIcon
Hero Member
Posts: 2129
Here's another useful way of looking at this info with pixels per foot (ppf)
calculations.
By doing the measurement above, you are measuring the average pixels per
foot (or whatever), as well as the FOV angle. With this, you can extrapolate
the ppf for any distance, which helps with things like license plate capture or
face recognition, and deciding if your lens size will work for you.
You can use meters or whatever for this as well; whatever works for you is
good.
Using the Hik 1080p example above:
Hik Pixels per Foot (ppf):
Hik horizontal pixels: 1920
Distance to ruler: 25"
Width of FOV: 39.75"
Dividing the resolution by the width gives pixels per inch, and multiplying
that times 12 gives pixels per foot 25 inches away from the camera:
1920/39.75 = 48.3 ppi
48.3 * 12 = 579.6 ppf; let's call it 580 ppf for simplicity.
That's quite a lot of pixels per foot, but we're only 25" away from the
camera, so now we need to figure out how many ppf at different distances.
Each time we double the distance, we cut the ppf in half. To make it simple,
we'll calculate the ppf one foot away from the camera.
To get the ppf at 12":
Divide the distance to the ruler (25") by 12" to give the distance in feet.
06/01/2017 23:20
10 of 15
http://www.cam-it.org/index.php?topic=5424.0
06/01/2017 23:20
11 of 15
http://www.cam-it.org/index.php?topic=5424.0
mikebaxa
Newbie
Posts: 20
Thanks for this information. It really helps us newbies know what to look
for in cameras, and even more importantly, what we can expect to to get out
of the camera before buying it.
Logged
Advertisement
bp2008
Hero Member
Posts: 1247
06/01/2017 23:20
12 of 15
http://www.cam-it.org/index.php?topic=5424.0
A google docs spreadsheet with all this prepared (FOV and PPF calculations)
and some measurements from various common cameras would be a great
resource.
Logged
videocheez
Full Member
Posts: 156
MaxIcon
Hero Member
Posts: 2129
License plate capture is all about pixels per foot, so figuring out about what
you'd get with a 12mm lens is important. Here's a thread that discusses
plate capture and distances, and if you search on license plate, you'll find
others. I got some longer lenses to test recently, but haven't had time to do
anything with them yet.
http://www.cam-it.org/index.php?topic=5511.0
Logged
videocheez
Full Member
Posts: 156
Quote from: MaxIcon on November 13, 2013, 11:08:15 pm
License plate capture is all about pixels per foot, so figuring out about what you'd get with a
12mm lens is important. Here's a thread that discusses plate capture and distances, and if
you search on license plate, you'll find others. I got some longer lenses to test recently, but
haven't had time to do anything with them yet.
http://www.cam-it.org/index.php?topic=5511.0
06/01/2017 23:20
13 of 15
http://www.cam-it.org/index.php?topic=5424.0
Good info. I think I live without capturing the plates for now. I like the
recommendation of getting a long lens dedicated to capturing license plates.
I just think it would be cool to see the plates of any one who parks in front
of my house. The MO of the crooks in my town has not been to park in front
of the house and then break in. They have usually been on foot, hop the
fence and break down the back door.
Logged
Dell Server PE840 Windows 2003 Server R@ Standard Editions SP2 Intel Xeon X3220
@2.4GHz 2GB RAM w/4 Logitech 700e POE cameras & 2 3 Dahua ESC-HFW2100N cameras
and 1 Dahua IPC-HFW3300C
MaxIcon
Hero Member
Posts: 2129
I'll roll up all the camera measurements in this post to make them easier to
find and compare. If it has a ?, it means I haven't measured that part yet.
Hikvision DS-2CD2032-I Resolutions:
3MP = 2048 x 1536
1080P = 1920 x 1080
720P = 1280 x 720
OEM 4.0mm lens - Hik's original lens
3MP = 69 degrees H, ? degrees V
1080P = 77 degrees H, ? degrees V
720P = ? degrees H, ? degrees V
06/01/2017 23:20
14 of 15
http://www.cam-it.org/index.php?topic=5424.0
cqxiaozhao
Newbie
Posts: 1
Pages: [1]
Go Up
previous next
Cam It! Hardware & Technology General Talk How to measure FOV on your camera
go
Advertisment:
06/01/2017 23:20
15 of 15
http://www.cam-it.org/index.php?topic=5424.0
Mobile Theme
06/01/2017 23:20