go1984 Performance Optimization

Similar documents
INTRODUCTION TO COMPUTER GRAPHICS

Basler IP Fixed Dome Camera. User s Manual

NexImage Burst USER S MANUAL Model # 95518, # ENGLISH

S100 Webcam. User s Manual

Mighty Scope 5M. Instruction Manual. aveninc.com

NexImage USER S MANUAL. Model # 93708, # # 95518, # ENGLISH

Aimetis Outdoor Object Tracker. 2.0 User Guide

Byte = More common: 8 bits = 1 byte Abbreviation:

Installation & User Manual Micro-Image Capture 7

Chapter 8. Representing Multimedia Digitally

Line 6 GearBox Version 2.0 Release Notes

REV.C. SmartScope 5M

March 31, Welcome to the Family Tree Maker Users Group!

Manual Datinf DigiMakeup

PC System Requirement For Dual Microscope

OCULUS ImageCam 2. Slit lamp documentation. We focus on progress

CONTENTS INTRODUCTION ACTIVATING VCA LICENSE CONFIGURATION...

Version 6. User Manual OBJECT

S101v2 Webcam with adjustable focus

Digital Microscope. User Manual

Family HD Webcam F101

AxioCam MRc 5 A World of Digital Possibilities

Motic Live Imaging Module. Windows OS User Manual

Movavi Photo DeNoise User Manual. Start here: Quick start guide Remove trial restrictions Remove noise from photos

User Guide / Rules (v1.6)

COMPACT GUIDE. Camera-Integrated Motion Analysis

COLORMUNKI DISPLAY & i1display PRO

Retina 400 THE SIMPLE AND FLEXIBLE SOLUTION FOR HIGH DEFINITION RETINAL IMAGERY NON-MYDRIATIC RETINAL CAMERA C/D AUTO 60 H X 45 V LED. 2,2 mm.

Picture Style Editor Ver Instruction Manual

pcon.planner PRO Plugin VR-Viewer

VERSION 3.5 RELEASE NOTES

DigiScope II v3 TM Aperture Scope User s Manual

HTTP transaction with Graphics HTML file + two graphics files

Setting up a Digital Darkroom A guide

CS 262 Lecture 01: Digital Images and Video. John Magee Some material copyright Jones and Bartlett

Digital Imaging and Image Editing

ID Photo Processor. Batch photo processing. User Guide

CobraCam USB III Portable Inspection Camera with USB Interface Instruction Manual

Here are additional tips that we hope you will find useful in the future.

System Requirements...2. Installation...2. Main Menu...3. New Features...4. Game Controls...8. WARRANTY...inside front cover

FILM SCANNER P Instruction Manual

User Manual. 3 MegaPixel CMOS Color Camera for Light Microscopy SC30

SKF TKTI. Thermal Camera Software. Instructions for use

Rocksmith PC Configuration and FAQ

Release Notes. Windows. v10.2

MINIMUM SYSTEM REQUIREMENTS

Using Adobe Photoshop

II. Color Policies. ChromaBlast-R Setup & Print Guide Printing an Image With The. ChromaBlast-R Ricoh GX7000 System Requirements

Technik für Möbel. SelectionProfessional 2.0 OnlineCatalogue HettCAD

Hytera. PD41X Patrol Management System. Installation and Configuration Guide

Picture Style Editor Ver Instruction Manual

Quick Start Guide for the PULSE PROFILING APPLICATION

INSTRUCTION MANUAL IP REMOTE CONTROL SOFTWARE RS-BA1

E.L.I. sprl. Orion version 6. High Resolution, 32 bits PCI Image Grabbing System For Windows 2000, XP and Seven

LECTURE 03 BITMAP IMAGE FORMATS

Image Perception & 2D Images

Kaleidoscope Kreator 2.0

Superior Radar Imagery, Target Detection and Tracking SIGMA S6 RADAR PROCESSOR

Understanding OpenGL

Operation. Camera Configuration Sequence. Minimum System Requirements CHAPTER

CHAPTER1: QUICK START...3 CAMERA INSTALLATION... 3 SOFTWARE AND DRIVER INSTALLATION... 3 START TCAPTURE...4 TCAPTURE PARAMETER SETTINGS... 5 CHAPTER2:

KODAK Dental Imaging Software. Quick Start Guide

Software package IRBIS 3

Digital Imaging - Photoshop

Digitizing Color. Place Value in a Decimal Number. Place Value in a Binary Number. Chapter 11: Light, Sound, Magic: Representing Multimedia Digitally

Operation Guide Internet Radio

OLYMPUS Digital Cameras for Materials Science Applications: Get the Best out of Your Microscope

Resizing Images By Laurence Fenn

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

inphoto ID SLR Automatic ID photography With Canon SLR camera User Guide

FTA SI-640 High Speed Camera Installation and Use

CS101 Lecture 12: Digital Images. What You ll Learn Today

23070 / Digital Camera Owner s Manual

Operating Manual. (Version 3.5)

MICROSOFT LIFECAM CINEMA August 2009

inphoto ID PS Automatic ID photography With Canon PowerShot camera User Guide

5/17/2009. Digitizing Color. Place Value in a Binary Number. Place Value in a Decimal Number. Place Value in a Binary Number

GearBox 3.1 Release Notes

Session KeyStudio. Quick Start Guide

Windows INSTRUCTION MANUAL

Digital Portable Overhead Document Camera LV-1010

Data Sheet SMX-160 Series USB2.0 Cameras

Instruction Manual. Roundshot VR Drive Metric Software release:

Digitiser USER MANUAL

ColorCode 3-D Editor Version 1.2 Manual. Make ColorCode 3-D, Auto 3-D and Standard 3-D images on your PC by ColorCode 3-D, Denmark!!!

CONTENTS. Chapter I Introduction Package Includes Appearance System Requirements... 1

Watec USB Camera. User s Manual

Windows. DxO Optics Pro v8.5 Release notes. System requirements

1. What is SENSE Batch

Quintic Software Tutorial 7c

Bitmap Vs Vector Graphics Web-safe Colours Image compression Web graphics formats Anti-aliasing Dithering & Banding Image issues for the Web

Watec USB Camera. User s Manual

UNIT 7B Data Representa1on: Images and Sound. Pixels. An image is stored in a computer as a sequence of pixels, picture elements.

HD-01e High Definition Easy Scope

Table of Contents HOL ADV

NXPowerLite Technology

Picture Style Editor Ver Instruction Manual

The screen pictures shown in this manual may differ depending on the type of computer or camera used.

SCANNING IMAGES - USER S GUIDE. Scanning Images with Epson Smart Panel and PhotoShop [for Epson 1670 scanners]

Cisco IPICS Dispatch Console

Transcription:

go1984 Performance Optimization Date: October 2007 Based on go1984 version 3.7.0.1

go1984 Performance Optimization http://www.go1984.com Alfred-Mozer-Str. 42 D-48527 Nordhorn Germany Telephone: +49 (0)5921 7139925 Fax: +49 (0)5921 7139929 http://www.logiware.de

Contents Table of Contents 1 Introduction... 1 2 Intel versus... AMD 2 3 Pause between... two frames and image size 3 4 The fundamentals... of bitmaps and JPEG files 5 5 DirectX, MJPEG... and MPEG4 8 6 Using the... original image 9 7 Optimizing... motion detection 11 8 Making best... use of MJPEG sources 13 9 Master/slave... operation 15 10 Practical... example 18 11 Editorial... information 22

1 1 go1984 Performance Optimization Introduction Introduction go1984 offers high performance and extensive functionality for problem-free, professional video surveillance. During the development of go1984 the main focus was on the performance of the system. The default settings in go1984 have been chosen to ensure that you can use the system intuitively without extensive knowledge, that the system is stable and reliable and that you can add cameras easily. Our experience shows that in 95% of all go1984 installations decompression and compression of JPG images is responsible for more than 90% of the CPU usage. Against this background, the purpose of this document is to describe the methods you can use to improve the performance of your system further. It explains the influence of the image size and pause between two frames, the fundamentals of graphics formats and the benefits and disadvantages of different image sources. Specific examples using MJPEG sources and megapixel cameras provide valuable information on simple methods of improving the overall performance of your go1984 surveillance system.

Intel versus AMD 2 2 Intel versus AMD The faster the PC you choose for your video surveillance system, the better, in particular if you want to run a large number of cameras in parallel. When buying a new PC, Intel processors are preferable for go1984 as the optimized Intel libraries are more efficient for compressing and decompressing images, which has a beneficial effect on the overall performance. We will not give any specific hardware recommendations here. It is not possible to make any general statements concerning hardware because of the numerous factors involved, such as the number of cameras, the camera model, the frame rate settings in go1984 and the use of motion detection. The maximum total frame rate will depend on the performance of the hardware. The figure below assumes a resolution of 320x240 pixels at a rate of 100 frames per second (fps). In this case the minimum rate for each camera should always, where possible, be 10 fps. It is obvious that there is a linear increase in the CPU usage as the number of cameras grows, although the frame rate per camera remains the same (10 fps). With 10 cameras and a total of 100 fps, the PC is operating at full capacity. If more than 10 cameras are installed, the frame rate for each camera will decrease accordingly. With 20 cameras the maximum possible frame rate is only 5 fps per camera. It is possible to run go1984 on lower performance hardware, but this will have an impact on the frame rate of each camera. Please contact us if you have questions about your specific situation.

3 3 go1984 Performance Optimization Pause between two frames and image size Pause between two frames and image size The principle behind the choice of the pause between two frames and image size should be: as much as necessary and not as much as possible. Bear in mind that higher frame rates and image resolutions will have a negative impact on the overall performance of the system and will also require significantly more disk space and bandwidth. For example, doubling the resolution (from 320x240 to 640x480) will result in images that are four times larger. In addition, rates of between two and five frames per second are perfectly adequate in most cases. There is very little more information to be gained from higher frame rates and this will have a negative impact on performance and need considerably more disk space and bandwidth. Set the frame rate using the "Pause between two frames" slider. In the status bar below the live image you can see the current resolution and frame rate (fps).

Pause between two frames and image size 4 Generally the image is transferred to go1984 with the same resolution as it was given in the camera from the camera's web interface. However, some camera models allow you to enter a different setting for the image displayed in go1984.

5 4 go1984 Performance Optimization The fundamentals of bitmaps and JPEG files The fundamentals of bitmaps and JPEG files The images supplied by the camera can be in bitmap or JPEG format, depending on the requirements and circumstances. There may be a need to convert the image from JPEG to bitmap format (decompression) or in the reverse direction from bitmap to JPEG (compression). The dual function of a camera image: RGB24 is a two-dimensional bitmap format. In each pixel one byte is needed for the blue, green and red channels, as shown in the figure below. This means that each pixel consists of 3 bytes. As a result the size of an image with VGA resolution (640x480 pixels) is: 640 x 480 x 3 bytes = 921.6 KB or approximately 1 MB.

The fundamentals of bitmaps and JPEG files 6 JPEG is a lossy image compression standard. We will not describe the standard in detail here. The decisive factor is that the size of a compressed JPEG image with VGA resolution is only around 30 KB, depending on the compression rate, which is approximately 3% of the size of the equivalent bitmap image. IP cameras generally provide images in JPEG format. However, if the image has to be displayed or edited, it must be decompressed using a compute-intensive method to produce a bitmap image: to display the camera image (in the individual image view and central image view) to edit the image in go1984, for example rotating, mirroring or adding a caption to use active motion detection in go1984 The table below illustrates the different scenarios: Recording without display or motion detection Recording with display Recording with motion detection As a result, decompression should be avoided, wherever possible. Therefore, you should close the go1984 main window if you do not need to display a live image on the go1984 PC (tray icon mode), in order to avoid the compute-intensive decompression of the image (for display purposes). Do not display the central image view unnecessarily (for example, in the go1984 screensaver).

7 go1984 Performance Optimization The fundamentals of bitmaps and JPEG files If you use a browser to access the go1984 web server via a LAN, you should choose high bandwidth in order to avoid the server needing to recompress the images. This also applies to access via go1984 Desktop Client, where you can use the appropriate sliders to request the images in original quality: If the most important factor is performance, you should use the camera's internal motion detection function via http-event, if your camera model offers this option. To find out more about how this works, view the tutorial in the support area of http://www.go1984.com.

DirectX, MJPEG and MPEG4 5 8 DirectX, MJPEG and MPEG4 The following figure explains the differences between the different image sources in the case of motion-based recording. DirectX sources (webcam, analog camera via capture card) MPEG4 sources MJPEG sources Poor Performance Poor Performance Good Performance Often results in poor performance because of the camera driver and the required compression from BMP to JPEG. Time-consuming decompression from MPEG4 to BMP and compression from BMP to JPEG necessary resulting in poor performance. JPEG image is already available. Decompression only needed for display or motion detection, therefore generally offers the best performance. Although no decompression is needed for DirectX sources, because the image is supplied in bitmap format, the performance of the drivers is often poor and the bandwidth needed is very high (~1 MB per VGA image). In the case of MPEG4 sources, the decompression process is more time-consuming and more compute-intensive than with MJPEG sources. Every image from DirectX or MPEG4 sources must be compressed into JPEG format. This requires around 1.3 times as much computing power as decompression. Therefore we recommend the use of video servers rather than capture cards (DirectX) with analog cameras.

9 6 go1984 Performance Optimization Using the original image Using the original image Wherever possible you should use the original JPEG image from the IP camera in go1984. The image can then be transferred one-to-one, without needing to be decompressed and compressed, which is highly compute-intensive. The following example illustrates this: Rotating the image in the camera: Rotating the image in go1984:

Using the original image 10 Click on the JPG button in go1984 to use the original image from the recording source (this is the default setting). Although it is no longer possible to edit the image, for example rotating, mirroring or adding a caption, this can almost always be done by the camera, which results in a significant improvement in the overall system performance.

11 7 go1984 Performance Optimization Optimizing motion detection Optimizing motion detection During motion detection the image is divided into segments 8x8 pixels in size, which are then analyzed more closely for movement. For an image with VGA resolution (640x480 pixels) this involves investigating 4800 segments. At a frame rate of 5 fps, this results in 24,000 segments per camera per second. (In comparison an image with a resolution of 320x240 pixels and a frame rate of 2 fps has "only" 2400 segments per second.) The default is to analyze every individual image, which means that the images also need to be decompressed. However, it is generally sufficient to analyze one or two images per second. You can modify the number of images being investigated using the motion detection settings. Particularly in the case of high frame rates, we recommend changing this figure in order to achieve significant performance improvements. Examples: Pause between wo frames (fps) Only analyze every xth image Number of images analyzed per second 100 (10,0) 10 1 200 (5,0) 5 1 500 (2,0) 2 1 In this case the decisive factor is to avoid (or reduce) the decompression of the images, which requires around 10 times as much computer power as the analysis. However, if the image is also being displayed, it will need to be decompressed from JPEG to bitmap format in any case, and the benefits of analyzing only every xth image will be lost.

Optimizing motion detection 12 In some circumstances you will find that scenes you have recorded do not cover the entire period that you wanted as the motion is registered slightly later because of the setting described above. In this case you should simply increase the pre-alarm buffer (Pre alarm recording).

13 8 go1984 Performance Optimization Making best use of MJPEG sources Making best use of MJPEG sources After you have connected the PC running go1984 with the MJPEG camera, the images will start arriving from the camera. If you do not set the required frame rate at the camera level, the maximum number of images will be supplied, regardless of the setting in go1984. Superfluous frames will then be dropped, which places an unnecessary load on the network and the PC, as the following figure shows. In this case go1984 fetches an image every 200 ms, while the camera makes five images available during this time. This approach is necessary in go1984 in order to guarantee that the images create a live impression, without a time lag. Therefore, when using MJPEG cameras you should not only set the required frame rate, wherever possible, in go1984, but you should also set the maximum frame rate at the camera level and ensure that the two rates are the same. It is worth mentioning that this approach is not needed with JPEG cameras, as they use a handshake at http level.

Making best use of MJPEG sources 14 In the case of Axis cameras, you should set the required frame rate (in this case 5) in the fields Req_fps and Fps in the Video->Properties tab, in the form of a whole number with no decimal places. These two parameters access the same value, but may have different names depending on the firmware.

15 9 go1984 Performance Optimization Master/slave operation Master/slave operation As already described, the decompression process (JPEG to bitmap) required for motion detection is highly compute-intensive. This applies in particular to megapixel cameras, as a resolution of double the size involves decompressing and analyzing an area four times the size. In this example an image is being recorded by a megapixel camera using motion detection. Although the image is available in megapixel resolution, it makes little sense to apply the motion detection process to the megapixel image. It would be preferable to apply the motion detection process to a version of the image with a lower resolution and, if motion is detected, to transfer the megapixel image one-to-one, without needing to decompress the image from JPEG to bitmap format. This can be achieved by setting up the camera twice on go1984 and receiving images in two different resolutions. However, it must be possible for two different resolutions to be specified and for the camera to supply images in parallel in different resolutions. In the following we will refer to the camera which provides the lower resolution images for motion detection as the slave and the megapixel camera which records the image as the master.

Master/slave operation 16 Firstly you add the cameras in go1984. "Master" "Slave" Then you deactivate the link between the master recording and the motion detector signal of the master camera.

17 go1984 Performance Optimization Master/slave operation You then set up a new link between the trigger and the motion detector signal of the slave camera, which will cause the master image to be recorded if motion is detected. Next you deactivate the motion detection function of the master camera and the recording function of the slave camera. The process is now complete. The master camera begins recording when the slave camera detects motion. As only a small area of the image, corresponding to one-sixteenth of the megapixel resolution, has to be decompressed from JPEG to bitmap format, this saves almost 94% of the computing time otherwise required for decompression if the megapixel image is not displayed in parallel.

Practical example 18 10 Practical example The following example will explain the differences between a system with poor performance and a system with the ideal configuration. In total there are five networked cameras in the system, which are used to detect motion. The live image does not need to be displayed. Four of the cameras are Axis cameras with VGA resolution (640x480 pixels) and a frame rate of 5 fps, while the final camera is a Mobotix megapixel camera (1280x960 pixels) recording one frame per second, (which makes a total of 21 fps). The PC is an AMD Athlon XP 1800+ with 1.49 GHz and 1024 MB RAM, running Windows XP Professional and SP2. 1) Poor configuration The frame rate of the Axis cameras was not specifically set at camera level Every individual image is analyzed and therefore decompressed for motion detection The images from the Axis cameras are captioned (time stamp) in go1984, which means that, as well as being decompressed, every image has to be compressed from bitmap to JPEG format The CPU usage is 100%, which means that the system can only provide around 8 frames per second, instead of the required 21.

19 go1984 Performance Optimization Practical example 2) Ideal configuration The frame rate of the Axis cameras is set to 5 at camera level Only one in every five images from the Axis cameras is analyzed and therefore decompressed The caption (time stamp) is set up in the Axis cameras, which means that the images do not need to be compressed from bitmap to JPEG format A dummy camera (160x120 pixels) is set up for the Mobotix camera's motion detection function. As a result, instead of using the megapixel image, the image from the dummy camera (Mobotix slave) is decompressed and analyzed. The Axis 210 cameras' internal motion detection function is used via http-event and therefore the images do not need to be decompressed and analyzed. The CPU usage is now only 30% and images are being produced at a rate of 21 fps.

Practical example 20 As a comparison, the configurations described above were tested on a Pentium 4 HTT with 3.20 GHz and 2048 MB RAM, running Windows Vista Ultimate. In this case the poor configuration results in CPU usage of 60-70%, but the frame rate of 21 fps (previously it was only 8 fps) is achieved.

21 go1984 Performance Optimization Practical example In contrast the CPU usage with the ideal configuration is only 5%.

Editorial information 22 11 Editorial information logiware gmbh Alfred-Mozer-Str. 42 D-48527 Nordhorn Germany Telephone: +49 (0)5921 7139925 Fax: +49 (0)5921 7139929 Website: http://www.go1984.com Sales e-mail address: sales@logiware.de Support e-mail address: support@logiware.de All company and/or product names are trademarks and/or registered trademarks or brands of the relevant manufacturers. Subject to technical changes. Errors excepted.