Moving Vehicle Detection and Tracking using GMM and Kalman Filter on Highway Traffic

Similar documents
Evaluation of Moving Object Tracking Techniques for Video Surveillance Applications

A Hybrid Algorithm for Vehicle Detection and Tracking

Analysis Of Classification And Tracking In Vehicles Using Shape Based Features

Motion Detection Algorithm

BACKGROUND MODELS FOR TRACKING OBJECTS UNDER WATER

Moving Object Detection for Video Surveillance

Object Detection in Video Streams

Implementation of the Gaussian Mixture Model Algorithm for Real-Time Segmentation of High Definition video: A review 1

SURVEY PAPER ON REAL TIME MOTION DETECTION TECHNIQUES

A MIXTURE OF DISTRIBUTIONS BACKGROUND MODEL FOR TRAFFIC VIDEO SURVEILLANCE

MOVING OBJECT DETECTION USING BACKGROUND SUBTRACTION ALGORITHM USING SIMULINK

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

Motion Detection Using Adaptive Temporal Averaging Method

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

A Texture-based Method for Detecting Moving Objects

Vehicle Detection and Tracking using Gaussian Mixture Model and Kalman Filter

Video Surveillance System for Object Detection and Tracking Methods R.Aarthi, K.Kiruthikadevi

A NOVEL MOTION DETECTION METHOD USING BACKGROUND SUBTRACTION MODIFYING TEMPORAL AVERAGING METHOD

Gesture based PTZ camera control

Clustering Based Non-parametric Model for Shadow Detection in Video Sequences

Car tracking in tunnels

Idle Object Detection in Video for Banking ATM Applications

A Fast Moving Object Detection Technique In Video Surveillance System

Automatic Shadow Removal by Illuminance in HSV Color Space

Estimating Speed, Velocity, Acceleration and Angle Using Image Addition Method

SECTION 5 IMAGE PROCESSING 2

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering

Connected Component Analysis and Change Detection for Images

Figure 1 shows unstructured data when plotted on the co-ordinate axis

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

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

Background Subtraction for Urban Traffic Monitoring using Webcams

SIMULINK based Moving Object Detection and Blob Counting Algorithm for Traffic Surveillance

Suspicious Activity Detection of Moving Object in Video Surveillance System

Scale-invariant visual tracking by particle filtering

Moving Object Counting in Video Signals

DYNAMIC BACKGROUND SUBTRACTION BASED ON SPATIAL EXTENDED CENTER-SYMMETRIC LOCAL BINARY PATTERN. Gengjian Xue, Jun Sun, Li Song

Face Detection and Recognition in an Image Sequence using Eigenedginess

A Background Subtraction Based Video Object Detecting and Tracking Method

A physically motivated pixel-based model for background subtraction in 3D images

LANE DEPARTURE WARNING SYSTEM FOR VEHICLE SAFETY

Open Access Surveillance Video Synopsis Based on Moving Object Matting Using Noninteractive

International Journal of Modern Engineering and Research Technology

International Journal of Engineering Research and Applications (IJERA) ISSN: International Conference on Humming Bird ( 01st March 2014)

Fast Vehicle Detection and Counting Using Background Subtraction Technique and Prewitt Edge Detection

Real-time Detection of Illegally Parked Vehicles Using 1-D Transformation

A Background Modeling Approach Based on Visual Background Extractor Taotao Liu1, a, Lin Qi2, b and Guichi Liu2, c

Survey on Wireless Intelligent Video Surveillance System Using Moving Object Recognition Technology

Character Recognition of High Security Number Plates Using Morphological Operator

Face Detection Using Color Based Segmentation and Morphological Processing A Case Study

Background Initialization with A New Robust Statistical Approach

Detection and Classification of a Moving Object in a Video Stream

Looming Motion Segmentation in Vehicle Tracking System using Wavelet Transforms

On the analysis of background subtraction techniques using Gaussian mixture models

IMPROVEMENT OF BACKGROUND SUBTRACTION METHOD FOR REAL TIME MOVING OBJECT DETECTION INTRODUCTION

MORPHOLOGICAL BOUNDARY BASED SHAPE REPRESENTATION SCHEMES ON MOMENT INVARIANTS FOR CLASSIFICATION OF TEXTURES

Film Line scratch Detection using Neural Network and Morphological Filter

Segmentation by Clustering. Segmentation by Clustering Reading: Chapter 14 (skip 14.5) General ideas

Segmentation by Clustering Reading: Chapter 14 (skip 14.5)

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

A Review Analysis to Detect an Object in Video Surveillance System

Note Set 4: Finite Mixture Models and the EM Algorithm

A Survey on Moving Object Detection and Tracking in Video Surveillance System

Noise Reduction in Image Sequences using an Effective Fuzzy Algorithm

Defining a Better Vehicle Trajectory With GMM

AUTOMATIC LOGO EXTRACTION FROM DOCUMENT IMAGES

An Approach for Real Time Moving Object Extraction based on Edge Region Determination

Detecting and Identifying Moving Objects in Real-Time

Varun Manchikalapudi Dept. of Information Tech., V.R. Siddhartha Engg. College (A), Vijayawada, AP, India

Gate-to-gate automated video tracking and location

Automatic Tracking of Moving Objects in Video for Surveillance Applications

On-road obstacle detection system for driver assistance

Efficient Object Tracking Using K means and Radial Basis Function

Spatio-Temporal Vehicle Tracking Using Unsupervised Learning-Based Segmentation and Object Tracking

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

A Moving Target Detection Algorithm Based on the Dynamic Background

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

Low Contrast Image Enhancement Using Adaptive Filter and DWT: A Literature Review

DETECTION AND TRACKING OF MOVING OBJECTS WITH REAL-TIME ONBOARD VISION SYSTEM

RECENT TRENDS IN MACHINE LEARNING FOR BACKGROUND MODELING AND DETECTING MOVING OBJECTS

Video Surveillance for Effective Object Detection with Alarm Triggering

EE795: Computer Vision and Intelligent Systems

Kalman Filter Based Tracking in an Video Surveillance System

Application of partial differential equations in image processing. Xiaoke Cui 1, a *

ФУНДАМЕНТАЛЬНЫЕ НАУКИ. Информатика 9 ИНФОРМАТИКА MOTION DETECTION IN VIDEO STREAM BASED ON BACKGROUND SUBTRACTION AND TARGET TRACKING

Global Journal of Engineering Science and Research Management

CORRELATION BASED CAR NUMBER PLATE EXTRACTION SYSTEM

A Moving Object Segmentation Method for Low Illumination Night Videos Soumya. T

COMPARATIVE STUDY OF DIFFERENT APPROACHES FOR EFFICIENT RECTIFICATION UNDER GENERAL MOTION

Robust color segmentation algorithms in illumination variation conditions

Multiple Detection and Dynamic Object Tracking Using Upgraded Kalman Filter

Detection of Edges Using Mathematical Morphological Operators

An Approach for Reduction of Rain Streaks from a Single Image

Video De-interlacing with Scene Change Detection Based on 3D Wavelet Transform

A Linear Approximation Based Method for Noise-Robust and Illumination-Invariant Image Change Detection

Text Area Detection from Video Frames

Filters. Advanced and Special Topics: Filters. Filters

Vehicle Detection & Tracking

Effects Of Shadow On Canny Edge Detection through a camera

A Fuzzy Approach for Background Subtraction

Transcription:

Moving Vehicle Detection and Tracing using GMM and Kalman Filter on Highway Traffic K.Trinayani M.Tech CSP Department, VR Siddhartha Engineering College, Kanuru Vijayawada-520007, Andhra Pradesh, India Mrs. B.L.Sirisha Assistant Professor VR Siddhartha Engineering College, Kanuru Vijayawada-520007,Andhra Pradesh, India ABSTRACT Vehicle detection plays an important role in maing decisions for the purpose of traffic control and management due to increasing congestion on highways. Compared to still images, video frames provide more information about how vehicles and scenarios change over time.a novel and efficient algorithm based onimage processing using ariel cameras for vehicle detection is proposed. The proposed algorithm consisting of four stages i.e, extraction of foreground from abacground using Gaussian Mixture Model, noise removal using morphological operations, vehicle detection and tracing using Kalman filter and finally vehiclecounting. Experiments are carried out over a wide range of vehicles, road segments and camera heights and an efficiency of 97% is achieved. KEYWORDS GMM, morphological operations,kalman filter 1.INTRODUCTION The goals of Intelligent Transport System (ITS) is to enhance public safety, reduce congestion, improved travel and transit information, generate cost savings to motor carriers and emergency operators, reduce detrimental environmental impacts, etc. The efficiency of an ITS is mainly based on the performance and comprehensiveness of vehicle detection technology. Vehicle detection and tracing are integral part of any vehicle detection technology, since it gathers all or part of information that are used in an effective ITS. It is defined as a system capable of detecting vehicles and measure of parameters such ascount, speed, incidents etc. vehicle detection by video cameras is one of the most promising non-intuitive technologies for large scale data collection and implementation of advanced traffic control and management schemes and is also the basis for vehicle tracing. The correct vehicle detection results in better tracing.but it is not easy as thin to detect the event or tracing the object. There are many techniques and papers introduced by many scientists for bacend process in video surveillance. Initially foreground extraction is an important tas.generally a natural bacground includes large objects such as trees, road, floor, buildings etc., each of which contains pixels with similar intensity values but intensities differ considerably with each other..foreground is extracted from bacground using Gaussian Mixture model(gmm).a Gaussian Mixture Model (GMM) is a parametric probability density function represented as a weighted sum of Gaussian densities. GMM s are used in various fields. Some of the fields are machine learning, astronomy, biochemistry and many more.in this application, GMM carries out the job of separating foreground from a bacground by learning the bacground of the scene. The application of bacgrounds subtraction involves developing an algorithm which is able to detect required object robustly and also be able to react to various changes lie illumination, starting and stopping of vehicles etc., various techniques exist for foreground extraction.in the methods based on frame differencing [1,2], a difference between consecutive frames is computed and the pixels greater than threshold are considered as foreground. In the approximate median[3], the running estimate of median is incremented by one if the input 309

310 pixel islarger thanthe estimate and decreased by one if smaller. A popular framewor of bacground modeling which is relatively close to our wor uses GMM modeling of pixels[4,5,6]. In these methods bacground modeling are performed for each pixel in the frame. The input frame pixels which are not following the model are termed as foreground pixels. Extension to GMM also exist which is adaptive GMM[7], where the number of Gaussians are assigned to each pixel and are updated over time. In all the methods based on GMM for bacground modeling, each pixel of the frame is modeled by generally 3 to 5 Gaussians. In [8], based on color change at each pixel reference image model is created. Then depending on the threshold calculatedfrom the model, foreground pixels are classified. Next is removal of noise. There are several types of noises lie median noise, mean noise, impulse noise, Gaussian noise, bilateral noise etc., but have some drawbacs (i)the median filter is a non-linear filtering technique often used to remove noise. It is widely used in digital image processing because under certain conditions it preserves edges while removing noise. The main problem of the median filter is its high computational cost. (ii)a bilateral filter is a non-linear filter, edge preserving and noise removing smoothing filter. The intensity value at each pixel in the image is replaced by a weighted average of intensity values from nearby pixels. But the drawbac is it gives false detections. (iii)the Average(mean) filter smooth data thus eliminating noise. This filter performs spatial filtering on each individual pixel in an image using the grey level values in a square or rectangular window surrounding each pixel. But the drawbac is it does not wor for more number of connected components. To overcome all these drawbacs we use morphological operations to reduce noise. Morphological image processing pursues the goals of removing these imperfections by accounting for the form and structure of video. Finally here comes vehicle detection and tracing of vehicles in avideo. Tracing algorithms have been greatly researched due to increasing interest in tracing applications together with the development of novel techniques aiming to answer the challenges of real time tracing. However despite of potential advancements it is still challenging to develop a set of standard approaches that are approximate for all the applications. The general aimbehind tracing is to estimate the target objects in video sequences over an interval. The Kalman filter is a set of mathematical equations that provides an efficient computational (recursive) means to estimate the state of process in a way that minimizes he mean of squared error. In 1960, R.E.Kalman[9] published a paper describing a recursive solution to the discrete data linear filtering problem[9].the filter is very powerful in various aspects: it supports estimations of past, present and even future states and it can do even when the precise nature of the modeled system is unnown[10]. It is used to estimate the state of linear system where state is assumed to be distributed as a Gaussian. Object tracing is performed by predicting objects position from previous position and verifying existence of object at the predicted position. Secondly the observed lielihood function and motion model must be learnt by somesample of image sequence before tracing is performed [11,12]. TheKalman filter estimates the process by using a form of feedbac control. the filter estimates the process state at some time and then obtains feedbac in the form of noisy measurements. The equations of Kalman filter falls in two groups: time update equations and measurement update equations. The time update equations are responsiblefor projecting forward the current state and error covariance estimates to obtain priori estimate for next step. The measurement update equations are responsible for feedbac. That is used for incorporating new measurement into the priori estimate to obtain an improved posterior estimate. The time update equations can also be thought of as predictor equations, while the measurement update equations can be thought of as

corrector equations. The time update projects the current state estimate ahead in time. The measurement update adjusts the projected estimate by an actual measurement at that time. 2.PROPOSED METHOD In order to detect and trac vehicles efficiently on roads we use Gaussian mixture model and Kalman filter. Foreground is detected from moving vehicles in video frames and there after vehicles are traced from detected results. Figure1 shows the flowchart of our proposed method. 2.1Gaussian Mixture Model A Gaussian Mixture Model (GMM) is a parametric probability density function represented as a weighted sum of Gaussian mixture densities. GMM s are commonly used as a parametric model of probability distribution of continuous measurements. In order to give better understanding of the algorithm used for bacground subtraction the following steps were adopted to achieve desired results: 1. Firstly, we compare each input pixels to the mean 'μ' of associated components. If the value of a pixel is close enough to a chosen components mean then that component is considered as matched component. In order to be a matched component the difference between the mean and pixel component must be smaller compared to component standard deviation. 2.Secondly, update Gaussian weight, mean and standard deviation to reflect new obtained pixel value. In relation to non-matched components the weights w decreases whereas the mean and standard deviation remain same. 3 Thirdly, here we identify which components are parts of bacground. To do this a threshold value is applied to the component weights 'w'. 4. Fourthly, in the final step we determine the foreground pixels. Pixels that are identified as foreground doesn t match which any other components that are determined as bacground The probability given in a mixture of K Gaussians is shown in (1) p( x) j 1 wj. N( x / j, j) 1 Where Gaussian j 1 wj is the prior probability of j th wj 1and 0 wj 1 For d dimensions, the Gaussian distribution of a vector shown in (2) N( x /, ) 1 (2 ) 1 exp( 2 T d / 2 ( x) 1 ( x )) 2 Where is the mean and is the covariance matrix. 1 2 d T x ( x, x... x ) is Figure.1: Flowchart of proposed method 311

2.2Morphological Operations Morphological operations are used to remove noise. Commonly used morphological operations are dilation, erosion, closing, opening, thinning, thicening, seletalization etc., Out of these the two basic morphological operations are dilation and erosion. Dilation: Dilation is typically applied to binary images,but there are versions that wor on grey scale. The basic effect of operator on binary imageis to gradually enlarge the boundaries of regions of foreground pixels(i.e., white pixels typically). Thus areas of foreground pixels grow in size while holes within those regions become smaller. Erosion:Erosion is typically applied to binary images, but there are versions that wor on grey scale. The basic effect of operator on binary image is to erode awaythe boundaries of regions of foreground pixels (i.e., white pixels typically). Thus areas of foreground pixels shrin in size while holes within those regions become larger. 2.3Kalman Filter Kalman filter is also nown as Linear Quadratic Estimation (LQE), is an algorithm that uses series of measurements observed over time, containing noise and other inaccuraciesand produces estimates of unnown variables that tend to be more precise than those based on a single measurement alone. More formally, the Kalman filter operates recursively on streams on noisy input data to produce a statistically optimal estimate of the underlying system state.kalman filter have numerous applications. Common applications are guidance, navigation and control of vehicles, particularly aircraft and spacecraft. The algorithm wors in two step processs. One is predict and other is update and is shown in Figure2. Figure.2: Kalman filter The predict state uses the estimate from the previous time step to produce an estimate of the state at the current time step. This predicted state estimate is also nown as priori estimate because,although it is an estimate of the state at the current time step, it does not include observation information from the current time step. In the update phase, the current a priori prediction is combined with current measurements information to refine state estimate. This improved estimate is termed as aposteriori state estimate. Equations for prediction is given in (3),(4) Predict state estimate x Ax ˆ Bu 3 ˆ 1 1 Predicted estimated covariance T p Ap A Q4 Equations for updation is given in (5),(6),(7) Kalman gain T T ( )! p H Hp H R 5 Update state estimate x ˆ ˆ ( ˆ x z Hx ) 6 Update estimated covariance p ( I H) p 7 312

Where A is the state transition model which is applied to the previous state x 1 B is the control input model which is applied to the control vector u Q the covariance of process noise H the observation model R the covariance of the observation noise Observation or measurement, z of the true state x is given in (8) 8 z s H x v v is observation noise 3.SIMULATION RESULTS The simulation results are shown which gives good detection and tracing of moving objects under different conditions. The performance is good and results are shown below. Figure 3 is input frame, Figure 4 is the output obtained after GMM is applied. Figure 5 is the output obtained after applying morphological operations and finally Figure 6 gives the output after Kalman filter is applied. Figure3: Input Frame Fig.4: Output after GMM Fig.5: Output after Morphological Operations 313

Fig.6: Output after Kalman Filter The below Table.1 provides the accuracy of various vehicle detection methods based on the previous experiments Table.1: Comparison with other methods Method Efficiency N.Friedma,S.Russell.et al., 66% D. S. Lee. et al., 70% Francesca Manerba.et al., 80% N. McFarlane, C. Schofield et.al., 60% GaganBansal et. Al 87% Proposed method 97% 4.CONCLUSION Moving object tracing is evaluated for various surveillance and vision analysis. The first phase is segmenting the object using Gaussian mixture model which gives better understanding of grouping objects. Then the second phase is to improve the quality of video by applying morphological operations on the output obtained after GMM for better result. In the next phase vehicle detection and tracing is done using Kalman filter algorithm which gives good results. These algorithms can also be extended for night time traffic in future with good efficiency. REFERENCES [1] R. Jain and H. Nagel. On the analysis of accumulativedifference pictures from image sequences of real world scenes. 1(2):206 213, 1979.IEEE Trans. PatternAnalysis and Machine Intelligence. [2] L. Li and M. Leung. Integrating intensity and texture differences for robust change detection. IEEE TransImage Processing, 11(1):105 112, 2002. [3] N.McFarlane and C. Schofield. Segmentation and tracing of piglets in images.machine Vision and Applications, 8(3):187 193, 1995. [4] N. Friedman and S. Russell. Image segmentation in video sequences: a probabilistic approach, 1997. Proc.13th Conf. Uncertainty Artificial Intelligence. [5] D. S. Lee. Effective gaussian mixture learning for video bacground subtraction. IEEE Trans. Pattern analysisand machine intelligence, 27(5):827 832, 2005. [6] C. Stauffer and W. Grimson. Adaptive bacground mixture models for real-time tracing. Proc. IEEE CSConf. Computer Vision and Pattern Recognition,2(1):246 252, 1999. [7] Z. Zivovic. Improved adaptive Gaussian mixture model for bacground subtraction. Proc. International Conf. on Pattern Recognition, 2(1):28 31, 2004. 314

[8] Dongpyo;Woontac. A bacground subtraction for a vision-based user interface. Proceedings of ICICS-PCM, 1:263 267, 2003. [9] Kalman, R. E.: A new approach to linear filtering and prediction problems, Transaction of the ASME-Journal of Basic Engineering, 35 45, March 1960 [10]Francesca Manerba, Jenny Benois-Pineau, Riccardo Leonardi, and Boris Mansencal, Multiple moving objectdetection for fast video content description in compressed domain, EURASIP J. Adv. Signal Process, vol. 2008, no. 1, 2008,pp. 1 13 [11] WatadaJunzoMusaZalili, Jain Lashmi C., and Fulcher John.,.," Human Tracing: A State-of- ArtSurvey.", KES 2010, Part II, LNAI 6277, pp. 454 463, 2010. [12] G. Welch and B. Gary. An introduction to Kalman filters. InSIGGRAPH 2001 course, 2001 315