Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

SS3pA1-A8.

qxp 2/27/07 10:11 AM Page A1

Understanding IP Video for

o for
Brought to You by

Presented by

Part 1 of 4
MARCH 2007 — www.securitysales.com A1
SS3pA1-A8.qxp 2/27/07 10:11 AM Page A2

Understanding IP Video for


Part 1 of 4

Using Camera Specs to


Solve IP Application Issues
Networked video surveillance
systems are at the forefront of
the convergence of IT and
physical security. However, no
matter what the delivery
method, the proven, time-tested
principles of CCTV system
design remain vital. Applying
these theories to IP-based
systems can help overcome
some inherent shortcomings.

By Bob Wimmer
Principal
Video Security Consultants
cctvbob@aol.com

AT A GLANCE
• Although IP video represents an
exciting new age, the principles
of proper CCTV system design
still apply
• Whether IP or not, understand-
ing camera specifications and
W elcome to the latest of Security Sales & Integration’s acclaimed
“D.U.M.I.E.S.” series: “Understanding IP Video for D.U.M.I.E.S.” Brought
to you by Pelco, this four-part series has been designed to educate read-
ers about networked video — the next phase of surveillance technology following the
quantum leap from analog to digital CCTV systems. “D.U.M.I.E.S.” stands for dealers, users,
managers, installers, engineers and salespeople.
terms such as lux, IRE and AGC There has been much debate recently about the direction CCTV video is heading. Many
are essential to obtaining desir-
individuals believe analog video and some of its theories will become obsolete as Internet
able results from a video system
protocol (IP)-based surveillance becomes dominant within the industry.
installation
This belief begs the question: Why then is fundamental CCTV theory a necessity when
• IP cameras tend to be trickier to everything is headed toward digital? The following points can easily answer this question:
deploy in outside applications
due to lighting factors • The output quality of any IP circuit is only as good as the input
• How an image is captured has not changed through the years
• Paying close attention to f-stop
ratings and signal-to-noise ratios • Lighting, image detail and image quality are still a top propriety
(SNR) are key to achieving opti- There is a saying that rings true: “Images one sees, such as colors created by a sunset, are
mal images from IP cameras still analog.” With this in mind, let’s review the basics of solid CCTV system design and ana-
lyze how those elements can be transitioned into today’s emerging IP-based systems.

A2 www.securitysales.com — MARCH 2007


SS3pA1-A8.qxp 2/27/07 10:11 AM Page A3

Let’s compare two typical published


CCD Camera Block Diagram IP camera specifications:

Camera 1:
External sync
inputs • Pan/tilt/zoom (p/t/z) MPEG4/JPEG
CCD network IP camera
• 26x optical zoom, pan range of
CCD drive Sync generator
digital digital 340° and tilt range of 115°
• Day/night function to provide
optimized sensitivity
Analog
Micro computer
digital BLC
• Minimum illumination — color:
2.2 lux (50 IRE, F1.6, AGC on);
black-and-white: 0.3 lux (50 IRE,
A/D converter AGC A/D Encoder D/A Video out F1.6, AGC on)
sample/hold gamma correction converter digital converter
Camera 2:
• Fully configurable MPEG4 com-
At their source, all IP cameras are analog. It is a proven fact that any digital system, pression engine
whether it is an IP camera, digital multiplexer or digital recorder, relies on the overall • Optimal synchronization of audio
quality of the video input for success. and video
• Motorized pan and tilt capability
IP Cameras Designed 2 Ways the analog signal into a networked- with click-to-move on image
At their source, all IP cameras are based format. Although this formation • 64/128-bit WEP encryption
analog. requires two separate units, it is pre- • Built-in intelligent motion de-
It is a proven fact that any digital ferred in some outdoor applications due tection
system, whether it is an IP camera, to cable distance requirements.
digital multiplexer or digital recorder, Whichever method you select, there Now, which one of these IP cameras
relies on the overall quality of the is one thing common to both: The is rated for indoor use only? The an-
video input for success. Understand- conversion from an optical image to a swer is Camera 2. The reasoning be-
ing camera specifications and how format that can be applied to the en- hind this selection is simple. Most IP
they can affect video quality in an IP coding section of the camera system. cameras (about 80 percent) are de-
system is a challenge. There are cam- signed for indoor applications in
era parameters and features that can Effects of Lighting on IP Cameras which there is usually an abundance
contribute to success or failure. Understanding camera specifica- of available light to produce a quality
To help reduce confusion and elim- tions can be very useful to any surveil- image (50 lux or greater), while out-
inate other pitfalls, we first must re- lance application. This holds true for door applications can encounter
view basic IP camera system designs. both IP and non-IP camera systems. available light levels as low as .1 lux.
In the first design, an integrated op-
tics package (IOP) and an IP interface
(encoder) are combined into a single Integrated IP Camera Block Diagram
equipment housing. This design adds
to the overall size and power require-
ment of the camera package, as well Analogvideo
Analog video output
output BNC
as some cable distance issues that will
board
Ethernet board

Encoder board
Encoder board

Image drivers
Image drivers
processing
processing
board
I/Oboard

be discussed later in this series. How-


Imager
Imager
Video
Video

AC input
input Lens
Ethernet

AC Lens
ever, some of the advantages com-
I/O

pared to other system designs include


Ethernetoutput
output RJ-45
RJ-45
single installation requirements, Ethernet

equipment location management and


IP
IPcamera
camera
ease of wiring, just to mention a few.
The second design involves incorpo-
In this camera design, an integrated optics package (IOP) and an IP interface (encoder) are
rating two separate units, one consisting
combined into a single equipment housing. Some of the advantages of this design include
of the camera and optics, while the other single installation requirements, equipment location management and ease of wiring.
includes the encoder, which converts

MARCH 2007 — www.securitysales.com A3


SS3pA1-A8.qxp 2/27/07 10:11 AM Page A4

Understanding IP Video for

There is an old saying applicable


Camera With IP Encoder Block Diagram here that goes something like this:
“The big print gives and the small
Analog video
In Out print takes away.” The data sheet pro-
vides the amount of light required,

Ethernet board

Encoder board

Image drivers
processing
I/O Board
but how was that number calculated?

Imager
Video
Lens
AC input

Ethernet Output RJ-45


Mystery of the IRE Unit Explained
An IRE unit is a measurement de-
Encoder CCD camera signed by the Institute of Radio Engi-
This camera design involves incorporating two separate units, one consisting of the neers, now called IEEE or the Institute of
camera and optics, while the other includes the encoder, which converts the analog sig- Electrical and Electronic Engineers. The
nal into a networked-based format. Although this formation requires two separate units, measurement indicates the amount of
it is preferred in some outdoor applications due to cable distance requirements. signal strength generated by a camera,
or in the case of an IP camera, the output
Whether the camera is comprised clear as to why no concern for light lev- of the IOP (integrated optics package).
of a single unit or two combined as- els is declared. Especially since all qual- Typically, there are 140 IRE units asso-
semblies, when considering any IP ity cameras can produce great video at ciated with a 1V peak-to-peak (p-p) full-
camera for a low-light/outdoor appli- the 10 foot-candle or 10.7-lux level. strength video signal (1 IRE = .00714V).
cation, the camera sensitivity param- Outdoor applications require more The introduction of the IRE unit makes
eter must be comprehended. information in order to select the prop- luminance level values much easier to
Let’s take a close look at the sensitivity er IP camera or to ensure quality video understand and communicate.
specifications of Camera 1. The color vs. images. According to the “Outdoor A video signal is divided into two
black-and-white should be no mystery, Light Levels” chart, it is now necessary sections. The first section is the vertical
but what about the rest of the informa- to list the camera sensitivity, especially and horizontal synchronization sig-
tion? Divide and conquer is always a when the overall light levels fall below nals. This unit is used in the ITU-R
good rule to follow when trying to un- 1 foot-candle or 10-lux levels. BT.470, which defines PAL, NTSC and
derstand multilayered specifications. Using our sample camera’s color SECAM EIA-170A standards and is
Let’s begin with the value of 2.2 lux. specification, it becomes apparent this used to lock up the video equipment in
Lux is a light unit for measuring illu- camera was designed for low-light ap- order to produce a stable image. The
mination. It is defined as the illumina- plication. But how low? Again, refer- standard level, which supports a true
tion of a surface when the luminous ring the “Outdoor Light Levels” chart, signal, is listed as 40 IRE units.
flux of 1 lumen falls on an area of 1m2. it appears this camera should produce
It is also known as lumen per square a video image during light levels equal
meter, or meter-candelas. to a deep twilight condition. The ques-
Outdoor Light Levels
Some camera specifications also tion now arises: Will the quality of the Condition Illumination
list illumination in foot-candles. A image be acceptable? Let’s find out. FC LUX
foot-candle is the light intensity (illu-
Sunlight 10,000 107,527
mination) of a surface at a distance of
1 foot from a source of 1 candela. It is
Indoor Light Levels Full daylight 1,000 10,752.7
equal to 1 lumen per square foot (1FC
Overcast day 100 1,075.3
Condition Illumination
= 1 lm ft2. A quick conversion follows: Very dark day 10 107.53
FC LUX
1 foot-candle equals 10.7 lux. Twilight 1 10.75
Warehouse 13.9 150 Deep twilight 0.1 1.08
Manufacturing 18.5-93 200-100 Full moon 0.01 0.108
Indoor Vs. Outdoor Applications
Retail stores 69.7 750 Quarter moon 0.001 0.0108
For the most part, IP cameras have
Office work 46.4 500 Starlight 0.0001 0.0011
been designed for indoor or high light
level applications. Camera 2’s specifi-
Banks 18.5-46.4 200-500 Overcast night 0.00001 0.0001
cations easily confirm this fact by not Detail work 139.4-185.8 1,500-2,000
Light levels in outdoor environments
including any information on the The illumination levels cameras have encompass a much higher degree of
amount of light required to produce a to work with indoors is shown in foot- variance than those indoors. Some ap-
candles (FC) and lux across a half- plications demand cameras designed
video image. Referring to the “Indoor for extremely low-level lighting.
dozen environments.
Light Level” chart, it becomes very

A4 www.securitysales.com — MARCH 2007


SS3pA1-A8.qxp 2/27/07 10:11 AM Page A5

input parameters and many of them lens’ performance is known as the f-


Make-up of a Video Signal require a minimum of 50 IRE units in stop rating of the lens. The camera spec-
order to function properly. ification sheet lists the minimum f-stop
Secondly, in the case of an integrat- rating of the test lens used in producing
ed IP camera, the encoder board may the camera performance specifications.
try to amplify the video signal up to The f-stop deals with the iris of a lens
the 100-IRE levels, which can cause a and how well the lens can pass light. To
grainy, or noisy, image file and thus better understand how this works let’s
increase the bits per second transfer make a comparison to the human eye.
1V peak to peak or 140 IRE units rate on a network. As light becomes brighter, the iris of your
eyes closes to allow only the proper
A video signal is divided into two sec- F-Stop Determines Performance amount of light to reach your retina and
tions: the vertical and horizontal syn- Throughout a given day, the amount produce a quality image. It is the same
chronization signals; and the actual
video signal strength from the camera. of illumination reaching a scene de- with the lenses used in IP cameras.
Typically, there are 140 IRE units asso- pends on the time of day and atmos- A growing concern in lens selection
ciated with a 1V peak-to-peak, full- pheric conditions. Direct sunlight pro- is the minimum f-stop rating of the
strength video signal. duces the highest contrast scene, lens, or how well it operates at low
allowing maximum identification of light levels. With the increased use of
The second section of the meas- objects. On a cloudy or overcast day, IP cameras for outdoor usage this
urement is the actual video signal the objects in the scene receive less concern has become a very real issue.
strength from the camera. The reason light, resulting in less contrast. Even with advancing technology, IP
IRE is a relative measurement is be- To produce an optimum camera pic- color cameras require more light to
cause a video signal may be any am- ture under the wide variation in light produce the same quality picture as a
plitude. A value of 100 IRE is defined levels (such as occurs when the sun is black-and-white surveillance camera.
as the range from black to white in a obscured by clouds), an automatic-iris The f-stop rating of any lens is given
video signal to produce a high-quali- camera system is required. Typically, by the ratio of the focal length of the
ty, full video signal. A value of 0 IRE scene illumination measured in foot- lens divided by the actual mechanical
corresponds to the zero voltage value candles or lux can vary over a range of diameter of the iris opening of that
during the blanking period. 10,000 to 1 (or more), which exceeds the lens as follows:
With all of that stated, the simple fact operating range of most cameras for
is since the video strength measured in producing good quality video images. F-stop rating = F (focal length in mm)
IRE units is linear, the greater the IRE To overcome this situation, lenses ————————————————
level the stronger the video signal. with auto iris are incorporated. Howev- D (iris opening in mm)
Returning to our camera example er, all lenses have a rating to specify
with a rating of 2.2 lux @50 IRE (see their ability to pass light at low-light The lower the f-stop rating of the
“Camera Output Comparison”), we levels, as well as handle extreme light- lens, the “faster,” or greater, the light-
can see the difference of 100 IRE out- ing conditions. The term indicating the gathering capability of the lens. The
put vs. 50 IRE. In order to produce the
higher quality image, more than 4.4 Camera Output Comparison
lux of light would be required.
Some at this point might say, “So
what? The video image is still accept-
able, so what is all of the concern?”
The answer is it isn’t just the reduced
quality of the video but also what this
loss of IRE units will do the overall
scheme of things.
First, for the IP system that incor-
porates individual encoders, each en-
coder must convert the analog video 100 IRE output 50 IRE output
signal into digital. This is accom- Here we see the difference in image quality when 100 IRE unit output is compared to 50
IRE unit output. Even though the image on the right might still seem acceptable, it will
plished via an A/D (analog-to-digital)
likely suffer degradation during video processing.
encoder. Each encoder has a set of

MARCH 2007 — www.securitysales.com A5


SS3pA1-A8.qxp 2/27/07 10:12 AM Page A6

Understanding IP Video for

movement, why bother saving the in-


IRE Output Level Vs. Lighting formation? Conversely, any move-
Full video ment will be detected and the com-
pression process will begin.
Video signal

Many people refer to IP cameras as


intelligent cameras; and they are up to
video
Usable a point. But the IP compression en-
gine cannot tell the difference be-
tween actual movement and excessive
0 20 50 100 IRE AGC noise. Consequently, in many
cases the bit image rates as well digital
Video quality
storage devices will suffer.
AGC is a compromise. It is incorpo-
Video image quality improves as the level of IRE units increases. IP systems that con-
rated to improve camera sensitivity at
vert analog video into digital use encoders that may require a minimum of 50 IRE units
in order to function properly. In the case of an integrated IP camera, the encoder board a price. Without AGC, the camera used
may amplify the video signal up to the 100-IRE level, which can cause a grainy image. in this example would require more
than 22 lux of light to produce a 50-
normal minimum f-stop rating of a However, what does AGC have in com- IRE signal output.
typical lens is between f1.0 to f1.8. mon with IP cameras? First, for those
Since every camera requires a lens who are unfamiliar with the function High SNR Helps Offset AGC Issues
to produce an image, the specifica- of AGC, a quick primer is in order. What areas can be improved to help
tion will list the type of lens used in The purpose of AGC is to increase the AGC situation?
the testing phase of the camera. In the sensitivity of the camera during The enemy of picture clarity and
this case, the lens selected was a fixed low-light level applications. This fea- compression engine is noise; this elec-
lens with an f-stop rating of f1.6. ture is a compromise because it will tronic noise is present to some extent in
If an integrator has the ability to se- amplify the video signal to improve all video signals. Noise manifests itself
lect different lenses, he or she must image strength, but at the same time as snow or graininess over the whole
ensure that the rating of the lenses is it also amplifies the random noise picture on the monitor. Signal-to-noise
equal to or less than what’s shown in generated by the circuitry within the ratio (SNR) compares the amount of
the data sheet. If not, again the video camera. This amplification of noise noise generated within the camera to
output strength from the camera will causes a grainy image that randomly that of the video signal strength. The
suffer. The end results could mean no moves about the scene. higher the number (measured in dB),
video images or excessive image file So, how can AGC affect the per- the better the noise characteristics
sizes for both storage and transmis- formance of an IP camera? IT person- and the less grainy the picture will be,
sion of the video signal. nel probably already know the an- especially at low light levels.
As a helpful hint, the f-stop rating swer, but non-IT types may require
of lenses is logarithmic, which means an explanation.
every single f-stop increase in a lens MPEG4 compression uses what is Lens F-Stops
will decrease the amount of light called temporal reduction as one of its
passed through that lens by 50 percent. compression methods. This is the cor- Light loss
10lux

Common f-stops are listed as f1.0; relation between adjacent frames in a


f1.4; f2.0; f2.8; f4.0; f5.6. This fact also sequence. This information is the
5lux

will hold true when installing any basis for MPEG as well as the H.26*
zoom lens on an IPO camera. The rat- series of compression standards.
2.5lux

ing of a zoom lens is always the best In temporal reduction, two types of
rating. As one zooms in on an object, image arrangements are analyzed.
1.25lux

the amount of light will decrease on The first one is a full representation of
f1.0 f1.4 f2.0 f2.8 f4.0
that camera’s sensing device, causing the viewed image. This is known as
lower video output levels. the I-frame and is encoded as a single The f-stop rating of lenses is logarith-
image, with no reference to any past mic, which means every single f-stop
How AGC Impacts IP Cameras or future images. In some circles, it is increase in a lens will decrease the
Many people are already familiar also referred to as the Key-frame. The amount of light passed through that
lens by 50 percent.
with automatic gain control (AGC). logic for temporal asks, if there is no

A6 www.securitysales.com — MARCH 2007


SS3pA1-A8.qxp 2/27/07 10:12 AM Page A7

Note that every time a video signal


is processed in any way, noise is intro- Typical Testing Setup for Camera Sensitivity
duced. This noise cannot be reduced
by correction equipment; it is intro-
duced at the source. A common source Foot-candles
of noise: when AGC is introduced at a or
lux
camera in very low lighting conditions.
What is the reason for all of these
concerns for a little-understood data
sheet parameter? The answer is sim-
ple: as more and more dealers turn to Reflectance
IP systems and digital motion detec-
tion, the SNR becomes very important. F-stop IRE
This is because to IP cameras with ouput
built-in activity detection, noise is In their specifications, camera manufacturers list the direct
viewed as motion. If not properly un- amount of light that the camera requires to produce an
derstood, IP networks, as well as mass- image. Many give you the f-stop rating of the lens that is
used, the output signal strength (measured in IRE units) and
storage devices, can soon reach their whether the AGC is incorporated to produce the numbers
maximum transmission and storage listed in the data sheet.
limits with very little actual useful in-
formation. Cameras with a SNR greater a little-known fact about camera speci- As an example, let’s use the camera
than 50dB are highly recommended fication that holds a big punch. specifications that we have been ap-
when used in networking situations. Camera manufacturers list the di- plying throughout this article. This
rect amount of light that the camera specification was based on an 89.9-
What Specifications Don’t Tell You requires to produce an image. Many percent reflective test pattern. If this
While some of today’s manufactur- give you the f-stop rating of the lens camera was located in an outdoor as-
ers publish the exact procedures and that is used, the output signal strength phalt parking lot (5 percent to 10 per-
criteria they used in order to provide (measured in IRE units) and whether cent), it would require at least 9 to 10
you with their camera’s sensitivity, the AGC is incorporated to produce lux of light to perform within the lim-
other manufacturers assume everyone the numbers listed in the data sheet. its set by the data sheet.
is already knowledgeable on how spec- However, one test item is missing:
ifications are determined. Well, there is What was the reflectance factor of the Image Enhancement Is on Deck
test pattern used in the procedure? All of the items discussed in this ar-
Reflected light in the real world set ticle will control the output quality of
Reflectance Factor Chart of parameters, especially in the sur- any IP solutions surveillance systems
Empty asphalt parking lot 5% veillance arena, varies from 5 percent to some extent.
to 95 percent depending on the type For the most part, indoor or high
Parkland, trees, grass 20% of scene. light level areas seem to suit IP cam-
Red brick 35% The test percentage used by most is eras well and do not pose too many
referenced as either 75 percent or 89.9 concerns. However, as the IP revolu-
Unpainted concrete 40%
percent and is determined by the tion advances to outdoor or low-light
Parking lot with cars 40% test pattern incorporated when testing applications, broader background
Aluminum building 65% the camera’s sensitivity. After review- knowledge will be necessary.
ing the reflectance chart, it does not The next installment of this
Glass windows and hallways 70%
take long before most can realize that “D.U.M.I.E.S.” series will discuss fea-
Snow cover landscape 85% real-world surveillance operates with tures that will enhance IP camera
Manufacturers usually fail to disclose a great deal less reflectance than that image quality, as well as address basic
the reflectance factor of the test pat- offered by the camera’s specifications. system layouts. ■
tern used to derive camera specifica- This difference between the actual
tions. This is important because reflect- and data-sheet reflectance indicates Robert (Bob) Wimmer is president of Video Security
ed light in the real world varies from 5 Consultants and has more than 35 years of experi-
that the minimum sensitivity printed
percent to 95 percent depending on the ence in CCTV. His consulting firm is noted for tech-
type of scene. on the data sheet will require much nical training, system design, technical support and
more lighting when used in these areas. overall system troubleshooting.

MARCH 2007 — www.securitysales.com A7

You might also like