Image compression methods: a guide to IP video - Part 4

February 2006 Surveillance

Without effective compression, most local area networks (LANs) transporting video data would grind to a halt, so the right compression format is crucial.

Without effective compression, most local area networks (LANs) transporting video data would grind to a halt, so the right compression format is crucial.

Image and video compression can be either lossless or lossy. In lossless compression, such as GIF, you get an identical image after decompression. The price is that the compression ratio, ie, the data reduction is limited. These formats are impractical for use in network video solutions, so several lossy compression methods and standards have been developed. The idea is to reduce things that the human eye does not notice and thereby increase the compression ratio tremendously.

Compression methods also adopt two different approaches: still image compression and video compression.

Still image compression standards

Still image compression focuses on one picture at a time. The most well known example is JPEG, originally standardised in the mid-1980s by the Joint Photographic Experts Group. JPEG viewing can be done from standard web browsers. JPEG compression can be done at different user-defined compression levels. The compression level selected is directly related to the image quality requested, and the compression achieved also depends on the image itself: the more complex and irregular the image is the larger the resultant file will be. The two images illustrate compression ratio versus image quality for a given scene at two different compression levels.

Figure 1. Compression level ‘low’ Compression ratio 1:16 6% of original file size
Figure 1. Compression level ‘low’ Compression ratio 1:16 6% of original file size

Figure 2.  Compression level ‘high’ Compression ratio 1:96 1% of original file size
Figure 2. Compression level ‘high’ Compression ratio 1:96 1% of original file size

JPEG2000 was developed by the same group as JPEG, mainly for use in medical and photographic applications. At high compression ratios it performs slightly better than JPEG, but in web browsers and other applications is still limited.

Video compression standards

Motion JPEG (M-JPEG) is the commonest standard in network video. A network camera captures individual images and compresses them into JPEG format. At frame rates of about 16 fps and above, the viewer perceives full motion video from a sequence of JPEG images. This is referred to as M-JPEG. Each individual image has the same quality, determined by the compression level chosen for the network camera or video server.

H.263 compression on the other hand targets a fixed bit rate. The downside is that when an object moves, the quality of the image decreases. H.263 was originally designed for video conferencing applications and not for surveillance where details are more crucial than fixed bit rate.

One of the best-known audio and video streaming techniques is MPEG. MPEG's basic principle is to compare successive compressed images to be transmitted. The first compressed image is used as a reference frame, and only parts of the following images that differ from the reference image are sent. The network viewing station reconstructs images based on the reference image and the 'difference data'. Despite higher complexity, MPEG video compression leads to lower data volumes than M-JPEG.

MPEG is in practice more complex, often involving additional techniques such as prediction of motion in a scene and identifying objects. MPEG-1 aims to keep the bit-rate relatively constant at the expense of a varying image quality, typically comparable to VHS video quality with a frame locked at 25 (PAL)/30 (NTSC) fps. MPEG-2 extended MPEG-1 to cover larger pictures and higher quality at the expense of a lower compression ratio and higher bit-rate, also locked at 25/30 fps.

MPEG-4 is a major development with many more tools to lower the bit-rate for a given image quality and application, and frame rate is not locked. However, most of the tools require so much processing power that they are impractical for network video.

Advanced Video Coding (AVC) is expected within the next years to replace H.263 and MPEG-4.

Advantages and disadvantages of different standards

M-JPEG is simple and widely supported. It introduces little limited delay (ie low latency) and is therefore also suitable for image processing, such as in video motion detection or object tracking. Any practical image resolution, from mobile phone display size (QVGA) up to full video (4CIF) image size and above (megapixel), is available with consistent image quality at the chosen compression ratio. The frame rate can be adjusted to limit bandwidth usage, but M-JPEG nonetheless generates a relatively large volume of image data.

MPEG has the advantage of lower data volumes than M-JPEG, except at low frame rates as described below. If the available network bandwidth is limited or high frame rates with restricted storage space restraints, MPEG may be the preferred. It provides a relatively high image quality at a lower bit-rate (bandwidth usage). However, higher complexity in encoding and decoding leads to higher latency. Note too that MPEG-2 and MPEG-4 are subject to licensing fees. The graph below compares bandwidth use for M-JPEG and MPEG-4 for a given image scene with motion. At lower frame rates, where MPEG-4 compression cannot make extensive use of similarities between neighbouring frames, and due to the overhead generated by the MPEG-4 streaming format, the bandwidth needed is similar to M-JPEG.

Does one compression standard fit all?

Here are the points to consider when choosing a compression standard:

* What frame rate is required?

* Is the same frame rate needed at all times?

* Is recording/monitoring needed at all times, or only on motion/event?

* For how long must the video be stored?

* What resolution is required?

* What image quality is required?

* What level of latency is acceptable?

* How robust/secure must the system be?

* What is the available network bandwidth?

* What is the budget for the system?

For more information contact Roy Alves, Axis Africa, 011 548 6780, [email protected]





Share this article:
Share via emailShare via LinkedInPrint this page



Further reading:

Safer spaces through smart surveillance
NEC XON Surveillance
Advances in facial recognition technology are transforming surveillance from a mere recording tool into an intelligent, integrated system that enhances real-time safety, moving beyond the traditional expansion of CCTV efforts.

Read more...
Next generation of AI-powered video telematics
IoT & Automation Surveillance Transport (Industry)
Webfleet, Bridgestone’s fleet management solution in South Africa, has launched Webfleet Video 2.0, an AI-powered solution designed to enhance fleet safety, security, compliance with local regulations and operational efficiency through real-time video insights.

Read more...
Key design considerations for a control room
Leaderware Editor's Choice Surveillance Training & Education
If you are designing or upgrading a control room, or even reviewing or auditing an existing control room, there are a number of design factors that one would need to consider.

Read more...
Smart cities and the role of video security
Surveillance Integrated Solutions
As cities around the world continue to embrace smart technology, including IoT that not only connects to people, but also the surrounding activity, the integration of advanced video security systems is crucial to ensure safety and efficiency in environments.

Read more...
How intrusion protection helps secure O&G operations
Surveillance Perimeter Security, Alarms & Intruder Detection Industrial (Industry)
For O&G operators in Africa, physical security remains one of the biggest considerations, particularly when it comes to perimeter protection and the ability to mitigate intruder-related incidents.

Read more...
Axis secures the Waterfront
Surveillance Entertainment and Hospitality (Industry) Retail (Industry)
Axis Communications shares insight into its longstanding partnership with the V&A Waterfront, one of Africa’s premier retail and mixed-use precincts, through its latest, updated customer success story.

Read more...
Advanced surveillance storage from ASBIS
Infrastructure Surveillance Products & Solutions
From a video storage solutions perspective, SkyHawk drives, designed for DVRs and NVRs, offer high capacity, optimised firmware, and a reliability workload rating of hundreds of terabytes per year.

Read more...
Open and collaborative logistics systems
Hikvision South Africa Surveillance Logistics (Industry) AI & Data Analytics
E-commerce and other high-volume logistics operations need open and collaborative technology ecosystems that drive efficiencies, throughput and digital transformation. Hikvision discusses the benefits of harnessing open and collaborative systems in the logistics market.

Read more...
4K HDR camera for mobility
Surveillance Transport (Industry)
e-con Systems has introduced a 4K HDR front-view camera, engineered to deliver reliable, long-range imaging for mobility applications such as delivery robots, autonomous vehicles, and off-road vehicles.

Read more...
The future of the surveillance channel
Duxbury Networking Technews Publishing Elvey Security Technologies SMART Security Solutions Surveillance
The video surveillance market has evolved from camera-based specifications to integrated solutions that solve customers’ problems. Moreover, the growth of AI and cloud has changed the channel even more, with more to come.

Read more...