A Paper presentation on REAL TIME IMAGE PROCESSING APPLIED TO TRAFFIC QUEUE DETECTION ALGORITHM

Similar documents
Traffic Congestion Model: Challenges and Opportunities

Automated Extraction of Queue Lengths from Airborne Imagery

MOVING OBJECT DETECTION USING BACKGROUND SUBTRACTION ALGORITHM USING SIMULINK

Digital Image Processing

Analysis Of Classification And Tracking In Vehicles Using Shape Based Features

A Real-time Traffic Congestion Estimation Approach from Video Imagery

R eal-time measurement and analysis of road tra c ow parameters such as volume, speed

Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation

Connected Component Analysis and Change Detection for Images

SURVEY PAPER ON REAL TIME MOTION DETECTION TECHNIQUES

Image Analysis Lecture Segmentation. Idar Dyrdal

Looming Motion Segmentation in Vehicle Tracking System using Wavelet Transforms

Object Detection in Video Streams

5. Feature Extraction from Images

Machine learning based automatic extrinsic calibration of an onboard monocular camera for driving assistance applications on smart mobile devices

CITS 4402 Computer Vision

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,

Module 7 VIDEO CODING AND MOTION ESTIMATION

VEHICLE DETECTION AND CLASSIFICATION FOR CLUTTERED URBAN INTERSECTION

Effects Of Shadow On Canny Edge Detection through a camera

Detection and Classification of Vehicles

Motion Detection Algorithm

T O B C A T C A S E E U R O S E N S E D E T E C T I N G O B J E C T S I N A E R I A L I M A G E R Y

Boundary descriptors. Representation REPRESENTATION & DESCRIPTION. Descriptors. Moore boundary tracking

Moving Object Counting in Video Signals

3D-OBJECT DETECTION METHOD BASED ON THE STEREO IMAGE TRANSFORMATION TO THE COMMON OBSERVATION POINT

Comparison of Some Motion Detection Methods in cases of Single and Multiple Moving Objects

International Journal of Modern Engineering and Research Technology

International Journal of Computer Engineering and Applications, Volume XII, Issue I, Jan. 18, ISSN

Lecture 4: Spatial Domain Transformations

Creating Affordable and Reliable Autonomous Vehicle Systems

COMPUTER VISION. Dr. Sukhendu Das Deptt. of Computer Science and Engg., IIT Madras, Chennai

CS4733 Class Notes, Computer Vision

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7)

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations I

Motion Analysis. Motion analysis. Now we will talk about. Differential Motion Analysis. Motion analysis. Difference Pictures

Types of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection

Ch 22 Inspection Technologies

CS 4758: Automated Semantic Mapping of Environment

Idle Object Detection in Video for Banking ATM Applications

Transport System Telematics. Detailed evaluation and analysis of vision-based online traffic parameters estimation approach using lowresolution

Real Time Motion Detection Using Background Subtraction Method and Frame Difference

Digital Image Processing. Lecture # 15 Image Segmentation & Texture

Multimedia Technology CHAPTER 4. Video and Animation

Suspicious Activity Detection of Moving Object in Video Surveillance System

PERFORMANCE MEASUREMENTS OF FEATURE TRACKING AND HISTOGRAM BASED TRAFFIC CONGESTION ALGORITHMS

CHAPTER 3 SHOT DETECTION AND KEY FRAME EXTRACTION

Traffic Signs Recognition using HP and HOG Descriptors Combined to MLP and SVM Classifiers

Fundamentals of Digital Image Processing

Perception. Autonomous Mobile Robots. Sensors Vision Uncertainties, Line extraction from laser scans. Autonomous Systems Lab. Zürich.

Chapter - 2 : IMAGE ENHANCEMENT

EECS 556 Image Processing W 09. Image enhancement. Smoothing and noise removal Sharpening filters

3D graphics, raster and colors CS312 Fall 2010

Schedule for Rest of Semester

Analysis of Image and Video Using Color, Texture and Shape Features for Object Identification

EDGE BASED REGION GROWING

Mobile Human Detection Systems based on Sliding Windows Approach-A Review

Detection and Classification of a Moving Object in a Video Stream

Study on Intelligent Transportation Moving Targets Detection Based on. background Image Difference Method

(Refer Slide Time 00:17) Welcome to the course on Digital Image Processing. (Refer Slide Time 00:22)

Lane Markers Detection based on Consecutive Threshold Segmentation

FAST HUMAN DETECTION USING TEMPLATE MATCHING FOR GRADIENT IMAGES AND ASC DESCRIPTORS BASED ON SUBTRACTION STEREO

Detection and recognition of moving objects using statistical motion detection and Fourier descriptors

Introduction to Medical Imaging (5XSA0) Module 5

Understanding Tracking and StroMotion of Soccer Ball

An Overview of Image processing for traffic applications

Dietrich Paulus Joachim Hornegger. Pattern Recognition of Images and Speech in C++

Detection of Moving Objects in Colour based and Graph s axis Change method

Practice Exam Sample Solutions

SECTION 5 IMAGE PROCESSING 2

ADAPTIVE TRAFFIC LIGHT IN IMAGE PROCESSING BASED- INTELLIGENT TRANSPORTATION SYSTEM: A REVIEW

Change detection using joint intensity histogram

Topic 4 Image Segmentation

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Medical images, segmentation and analysis

Cover Page. Abstract ID Paper Title. Automated extraction of linear features from vehicle-borne laser data

Vision-based Frontal Vehicle Detection and Tracking

ECE 172A: Introduction to Intelligent Systems: Machine Vision, Fall Midterm Examination

A Vision System for Monitoring Intermodal Freight Trains

Implementation of Optical Flow, Sliding Window and SVM for Vehicle Detection and Tracking

Using Edge Detection in Machine Vision Gauging Applications

Advanced Video Content Analysis and Video Compression (5LSH0), Module 4

Chapter 12 3D Localisation and High-Level Processing

Human Detection. A state-of-the-art survey. Mohammad Dorgham. University of Hamburg

ISSN (Online)

Threshold-Based Moving Object Extraction in Video Streams

Stereo Vision Image Processing Strategy for Moving Object Detecting

Real-time Corner and Polygon Detection System on FPGA. Chunmeng Bi and Tsutomu Maruyama University of Tsukuba

Road Observation and Information Providing System for Supporting Mobility of Pedestrian

EE 701 ROBOT VISION. Segmentation

Edge and local feature detection - 2. Importance of edge detection in computer vision

A Street Scene Surveillance System for Moving Object Detection, Tracking and Classification

SVM CLASSIFIER FOR VEHICLE SURVEILLANCE UNDER NIGHTTIME VIDEO SCENES

Human Motion Detection and Tracking for Video Surveillance

Short Survey on Static Hand Gesture Recognition

A Review Analysis to Detect an Object in Video Surveillance System

APPLICATION OF AERIAL VIDEO FOR TRAFFIC FLOW MONITORING AND MANAGEMENT

Gesture based PTZ camera control

Defining a Better Vehicle Trajectory With GMM

EE795: Computer Vision and Intelligent Systems

Transcription:

A Paper presentation on REAL TIME IMAGE PROCESSING APPLIED TO TRAFFIC QUEUE DETECTION ALGORITHM

ABSTRACT This paper primarily aims at the new technique of video image processing used to solve problems associated with the real-time road traffic control systems. There is a growing demand for road traffic data of all kinds. Increasing congestion problems and problems associated with existing detectors spawned an interest in such new vehicle detection technologies. But the systems have difficulties with congestion, shadows and lighting transitions. Problem concerning any practical image processing application to road traffic is the fact that real world images are to be processed in real time. Various algorithms, mainly based on back ground techniques, have been developed for this purposes since back ground based algorithms are very sensitive to ambient lighting conditions, they have not yielded the expected results. So a real-time image tracking approach using edged detection techniques was developed for detecting vehicles under these trouble-posing conditions. This paper will give a general overview of the image processing technique used in analysis of video images, problems associated with it, methods of vehicle detection and tracking, pre-processing techniques and the paper also presents the real-time image processing technique used to measure traffic queue parameters.

TABLE OF CONTENTS (1) Introduction 3 (2) Signal & Image Processing applied to traffic 2.1 Digital Signal 2.2 Need for processing 4 2.3 Parameters measurable... 4 2.4 Image analysis system structure. 4 (3) Stages of image analysis 0 Pipeline preprocessing... 5 (4) Real-time image processing-queue detection algorithm 0 Methods of vehicle detection and tracking... 6 (5) Motion detection operation... 7 (6) Motion detection flowchart... 8 (7) Vehicle detection algorithm 0 Left-limit selection program 9 (8) Threshold selection program 8.1 Threshold selection... 9 8.2 Traffic Movements at Junctions. 10 8.3 Results and Discussions... 11 (9) Conclusion 12 References. 13 INTRODUCTION Digital processing is done with a digital computer or some special purpose digital hardware

The word Digital implies that the information in the computer is represented and sent by variables that taken limited number of discrete values. increasing demand for road traffic data of all sorts Variation of parameters in real-world traffic Aimed to measure queue parameters accurately Algorithm has two operations: vehicle detection and motion detection Operations applied to profiles consisting sub-profiles to detect queue Motion detection is based on applying a differencing technique on the profiles of the images along the road The vehicle detection is based on applying edge detection on these profiles Digital Signal Digital systems functions more reliable, because only tow states are used (zero s and one s BINARY SYSTEM). The word signal is a function of independent variables. The signal it self carries some kind of information available for observation. By processing we mean operating in some fashion on signal to extract some useful information. In many cases the processing will be none destructive TRANEFER MODE of the given data signal. Signal processing will be done in many ways. 1. Analog signal processing 2. Digital signal processing 3. Light(Optical)wave signal processing 4. Radio frequency signal transmission DIGITAL SIGNAL PROCESSING

Image processing applied to traffic Need for processing of traffic data: - Traffic surveillance and control, traffic management, road safety and development of transport policy. Traffic parameters measurable: - Traffic volumes, Speed, Headways, Inter-vehicle gaps, Vehicle classification, Origin and destination of traffic, Junction turning.

Image analysis system structure CCTV camera ADC RAM 64k bytes Backing store 2 ¼ M-byte (data bus) DAC 16-bit Mini- Computer monitor Printer Stages of image analysis: - Image sensors used : Improved video cameras: automatic gain control, low SNR ADC Conversion: - Analog video signal received from video camera is converted to digital/binary form for processing Pre-processing: High SNR of the camera output reduces the quantity of processing enormous data flow. To cope with this, two methods are proposed: 1. Analyze data in real time - uneconomical

2. Stores all data and analyses off-line at low speed. Pipeline Preprocessing does this job Stages in Pipeline Preprocessing: (1) Spatial Averaging contiguous pixels are averaged (convolution) (2) Subtraction of background scene from incoming picture. (3) Threshold Large differences are true 1, small differences are false 0 (4) Data Compression reduces resulting data. (5) Block buffering collects data into blocks. (6) Tape Interface blocks are loaded onto a digital cassette recorder Preprocessed picture is submitted to processor as 2-D array of numbers Two jobs to be done: Green light on: - determine no. of vehicles moving along particular lanes and their classification by shape and size. Red light on: - determine the backup length along with the possibility to track its dynamics and classify vehicles in backup Methods of vehicle detection : Background frame differencing: -grey-value intensity reference image Inter-frame differencing: -incoming frame itself becomes the background for the following frame Segmentation and classification: -Sub division of an image into its constituent parts depending on the context

Queue Detection Algorithm Approach described here is a spatial-domain technique to detect queue - implemented in real-time using low-cost system For this purpose two different algorithms have been used, Motion detection operation, Vehicle detection operation Motion detection is first as in this case vehicle detection mostly gives positive result, while in reality, there may not be any queue at all. Applying this scheme further reduces computation time. 1. Motion detection operation: - a) Differencing two consecutive frames. b) Histogram of the key region parts of the frames is analyzed by comparing with the threshold value. c) Key region should be at least 3-pixel-wide profile of the image along the road. d) A median filtering operation is firstly applied to the key region (profile) of each frame and one-pixel-wide profile is extracted. e) Difference of two profiles is compared to detect for motion. Note: The size of the profile is an important parameter.

Motion Detection Algorithm Block diagram frame 1 frame 2 L+2 L+2 Median Filter Line profile 0 Line profile 1 Dif = profile 1 profile 0 No(motion) Dif<T h1 Yes(motion)

1. Motion detection operation: - f) Differencing two consecutive frames. g) Histogram of the key region parts of the frames is analyzed by comparing with the threshold value. h) Key region should be at least 3-pixel-wide profile of the image along the road. i) A median filtering operation is firstly applied to the key region (profile) of each frame and one-pixel-wide profile is extracted. j) Difference of two profiles is compared to detect for motion. k) When there is motion, the differences of the profiles are larger than the case when there is no motion. The motion can be detected by selecting a threshold value. Note: The size of the profile is an important parameter. Vehicle detection algorithm: - o Following the application of the motion detection operation, a vehicle detection operation is applied on the profile of the unprocessed image.

o To implement the algorithm in real time, two strategies are often applied: key region processing and simple algorithms. o Most of the vehicle detection algorithms developed so far are based on a o o background differencing technique, which is sensitive to variations of ambient lighting. The method used here is based on applying edge detector operators to a profile of the image Edges are less sensitive to the variation of ambient lighting and are used in full frame applications (detection). Edge detectors consisting of separable medium filtering and morphological operators, SMED (Separable Morphological Edge Detector) are applied to the key regions of the image. ( The SMED approach is applied (f) to each subprofile of the image and the histogram of each sub-profile is processed by selecting Dynamic left-limit value and a threshold value to detect vehicles. o o SMED has lower computational requirement while having comparable performance to other morphological operators SMED can detect edges at different angles, while other morphological operators are unable to detect all kinds of edges. Left-limit selection program: - This program selects a grey value from the histogram of the window, where there are approx. zero edge points above this grey value. When the window contains an object, the left-limit of the histogram shifts towards the maximum grey value, otherwise it shifts towards the origin. This process is repeated for a large no. of frames(100),and the minimum of the left-limit of these frames is selected as the left-limit for the next frame Threshold selection program:- 0

The no. of edge points greater than the left limit grey value of each window is extracted for a large no. of frames (200) to get enough parameters below and above a proper threshold value. This nos. are used to create a histogram where it s horizontal and vertical axes correspond to the no. of edge points greater than left limit and the frequency of repetition of these numbers for a period of operation of the algorithm (200 frames). This histogram is smoothed using a median filter and we expect to get two peaks in the resulted diagram, one peak related to the frames passing a vehicle and the other related to the frames without vehicles for that window. However, as it can be seen in the figure given below, there are other number of edge points (32-40) between peaks 20 & 60, which are related to those vehicles in each profile. We use statistical approach based on selecting a point on the horizontal axis, where the sum of the entropy of the points above and below this point is maximum. This point is selected as the threshold value for the next period. Traffic movements at junctions (TMJ): Measuring traffic movements of vehicles at junctions such as number of vehicles turning in a different direction (left, right, and straight) is very important for the analysis of cross-section traffic conditions and adjusting traffic lights. Previous research work for the TMJ parameter is based on a full-frame approach, which requires more computing power and, thus, is not suitable for real-time applications. We use a method based on counting vehicles at the key regions of the junctions by using the vehicle-detection method. The first step to measure the TMJ parameters using the key region method is to cover the boundary of the junction by a polygon in such a way that all the entry and exit paths of the junction cross the polygon. However, the polygon

should not cover the pedestrian marked lines. This step is shown in the figure given below. The second step of the algorithm is to define a minimum numbers of key regions inside the boundary of the polygon, covering the junction. These key regions are used for detecting vehicles entering and exiting the junction, based on first vehicle in first-vehicle-out logic. Following the application of the vehicle detection on each profile, a status vector is created for each window in each frame. If a vehicle is detected in a window, a one is inserted on its corresponding status vector; otherwise, a Zero is inserted. Now by analyzing the status vector of each window, the TMJ parameters are calculated for each path of the junction. Polygon Covered Junction Pedestrian line mark Results and Discussions: - The main queue parameters we were interested in identifying were the length of the queue, the period of occurrence and the slope of the occurrence of the queue behind the traffic lights.

To implement the algorithm in real-time, it was decided that the vehicle detection operation should only be used in a sub-profile where we expect the queue will be extended. The procedure Level>Th Level>Th Level>Th Level>Th N Y N Y N Y N Y motion detection vehicle detection D E Q T U E E C U T E I O N E D G E D E T E C T I O N

Conclusions Algorithm measuring basic queue parameters such as period of occurrence between queues, the length and slope of occurrence has been discussed. The algorithm uses a recent technique by applying simple but effective operations. In order to reduce computation time motion detection operation is applied on all sub-profiles while the vehicle detection operation is only used when it is necessary. The vehicle detection operation is a less sensitive edge-based technique. The threshold selection is done dynamically to reduce the effects of variations of lighting. The measurement algorithm has been applied to traffic scenes with different lighting conditions.

Queue length measurement showed 95% accuracy at maximum. Error is due to objects located far from camera and can be reduced to some extent by reducing the size of the sub-profiles. BIBLIOGRAPHY Digital Image Processing by Rafael C.Gonzalez and Richard E.Woods. Hoose. N: Computer Image Processing in Traffic Engineering. Rourke, A., and Bell, M.G.H.: Queue detection and congestion monitoring using mage processing, Traffic Engg. And Control. Traffic Queue Length Measurement Using an Image Processing Sensor by Masakatsu Higashikobo, Toshio Hinenoya and Kouhei Takeouchi. A Real-time Computer Vision System for Vehicle Tracking and Traffic Surveillance by Benjamin Coifman (corresponding author).

A Real-time Computer Vision System for Measuring Traffic Parameters by David Beymer, Philip McLauchlan, Benn Coifman and Jitendra Malik.