Detection of Moving Object using Continuous Background Estimation Based on Probability of Pixel Intensity Occurrences

Similar documents
Object Detection in Video Streams

Video Surveillance for Effective Object Detection with Alarm Triggering

Moving Object Detection for Video Surveillance

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

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

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

Human Motion Detection and Tracking for Video Surveillance

Research Article Model Based Design of Video Tracking Based on MATLAB/Simulink and DSP

Motion Detection Using Adaptive Temporal Averaging Method

AUTOMATIC OBJECT DETECTION IN VIDEO SEQUENCES WITH CAMERA IN MOTION. Ninad Thakoor, Jean Gao and Huamei Chen

Background Initialization with A New Robust Statistical Approach

A Fast Moving Object Detection Technique In Video Surveillance System

SURVEY PAPER ON REAL TIME MOTION DETECTION TECHNIQUES

A PRACTICAL APPROACH TO REAL-TIME DYNAMIC BACKGROUND GENERATION BASED ON A TEMPORAL MEDIAN FILTER

SHADOW DETECTION USING TRICOLOR ATTENUATION MODEL ENHANCED WITH ADAPTIVE HISTOGRAM EQUALIZATION

A Texture-Based Method for Modeling the Background and Detecting Moving Objects

Fast Denoising for Moving Object Detection by An Extended Structural Fitness Algorithm

International Journal of Innovative Research in Computer and Communication Engineering

Background Image Generation Using Boolean Operations

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

Automatic License Plate Recognition in Real Time Videos using Visual Surveillance Techniques

Video Stabilization, Camera Motion Pattern Recognition and Motion Tracking Using Spatiotemporal Regularity Flow

Nearest Clustering Algorithm for Satellite Image Classification in Remote Sensing Applications

A Feature Point Matching Based Approach for Video Objects Segmentation

Efficient Moving Object Segmentation Algorithm Using Background Registration Technique

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

A Texture-Based Method for Modeling the Background and Detecting Moving Objects

An Edge-Based Approach to Motion Detection*

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

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

Unsupervised Video Analysis for Counting of Wood in River during Floods

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

Object Tracking System Using Motion Detection and Sound Detection

Detecting the Moving Object in Dynamic Backgrounds by using Fuzzy-Extreme Learning Machine

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

/13/$ IEEE

A Background Subtraction Based Video Object Detecting and Tracking Method

Object Detection in a Fixed Frame

Moving Object Detection and Tracking for Video Survelliance

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

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

Background Subtraction for Effective Object Detection Using GMM&LIBS

BACKGROUND MODELS FOR TRACKING OBJECTS UNDER WATER

SVM CLASSIFIER FOR VEHICLE SURVEILLANCE UNDER NIGHTTIME VIDEO SCENES

International Journal of Modern Engineering and Research Technology

Fast Lighting Independent Background Subtraction

On the analysis of background subtraction techniques using Gaussian mixture models

Multiple Detection and Dynamic Object Tracking Using Upgraded Kalman Filter

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

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

A Noval System Architecture for Multi Object Tracking Using Multiple Overlapping and Non-Overlapping Cameras

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

Queue based Fast Background Modelling and Fast Hysteresis Thresholding for Better Foreground Segmentation

Real Time Motion Detection Using Background Subtraction Method and Frame Difference

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

Background Subtraction in Video using Bayesian Learning with Motion Information Suman K. Mitra DA-IICT, Gandhinagar

REVIEW AND EXPERIMENT OF THE DIFFERENT METHODS FOR MOVING OBJECT EXTRACTION FROM A LIVE VIDEO INTRODUCTION

Adaptive Background Learning for Vehicle Detection and Spatio- Temporal Tracking

Adaptive Background Mixture Models for Real-Time Tracking

Automatic Video Object Segmentation and Tracking from Non-Stationary Cameras

A Novel Video Enhancement Based on Color Consistency and Piecewise Tone Mapping

Non-linear Parametric Bayesian Regression for Robust Background Subtraction

Evaluation of Moving Object Tracking Techniques for Video Surveillance Applications

Backpack: Detection of People Carrying Objects Using Silhouettes

Support Vector Machine-Based Human Behavior Classification in Crowd through Projection and Star Skeletonization

Spring semester 2008 June 24 th 2009

Visual Monitoring of Railroad Grade Crossing

Face Liveness Detection Using Euler Method Based On Diffusion Speed Calculation

Motion Detection Based on Local Variation of Spatiotemporal Texture

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

A Novel Compression for Enormous Motion Data in Video Using Repeated Object Clips [ROC]

Mean shift based object tracking with accurate centroid estimation and adaptive Kernel bandwidth

Connected Component Analysis and Change Detection for Images

Color Image Segmentation

APPLICATION OF SAD ALGORITHM IN IMAGE PROCESSIG FOR MOTION DETECTION AND SIMULINK BLOCKSETS FOR OBJECT TRACKING

Comparative Analysis of 2-Level and 4-Level DWT for Watermarking and Tampering Detection

Moving Shadow Detection with Low- and Mid-Level Reasoning

Real-Time and Accurate Segmentation of Moving Objects in Dynamic Scene

Background Subtraction based on Cooccurrence of Image Variations

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

Critical Performance Analysis of Object Tracking Algorithm for Indoor Surveillance using modified GMM and Kalman Filtering

Traffic Video Segmentation Using Adaptive-K Gaussian Mixture Model

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

Segmentation by Clustering Reading: Chapter 14 (skip 14.5)

ROBUST OBJECT TRACKING BY SIMULTANEOUS GENERATION OF AN OBJECT MODEL

Change Detection by Frequency Decomposition: Wave-Back

Real Time Object Visual Inspection Based On Template Matching Using FPGA

BSFD: BACKGROUND SUBTRACTION FRAME DIFFERENCE ALGORITHM FOR MOVING OBJECT DETECTION AND EXTRACTION

Image-Based Reconstruction for View-Independent Human Motion Recognition

American Scientific Research Journal for Engineering, Technology, and Sciences (ASRJETS) ISSN (Print) , ISSN (Online)

A Hierarchical Approach to Robust Background Subtraction using Color and Gradient Information

Footprint Recognition using Modified Sequential Haar Energy Transform (MSHET)

Detecting and Tracking a Moving Object in a Dynamic Background using Color-Based Optical Flow

Extraction and Recognition of Alphanumeric Characters from Vehicle Number Plate

Dynamic Background Subtraction Based on Local Dependency Histogram

Noise Reduction in Image Sequences using an Effective Fuzzy Algorithm

TEVI: Text Extraction for Video Indexing

A Bayesian Approach to Background Modeling

MULTIPLE HUMAN DETECTION AND TRACKING BASED ON WEIGHTED TEMPORAL TEXTURE FEATURES

Detection and Classification of a Moving Object in a Video Stream

Transcription:

International Journal of Computer Science and Telecommunications [Volume 3, Issue 5, May 2012] 65 ISSN 2047-3338 Detection of Moving Object using Continuous Background Estimation Based on Probability of Pixel Intensity Occurrences Sonali A. Virparia 1, Ankit M. Virparia 2 and Swati Jain 3 1,3 Nirma University, Ahmedabad, Gujarat, India 2 Indus Institute of Technology and Engineering, Racharda, Gujarat, India Abstract Video object segmentation is an important part of real time surveillance system. For any video segmentation algorithm to be suitable in real time, must require less computational load. This paper addresses the problem of maintaining the background with the changes in the scene. The algorithm proposed in this paper enables to update the background image timely without compromising the time taken for object detection by executing the algorithm in parallel with the object detection process. Background maintenance is done by evaluating the probability of occurrence of the intensity value at each pixel coordinate. Algorithm has been implemented on videos with various changes in the scene in which the results are quite encouraging. Results obtained with the proposed algorithm are compared with the traditional background subtraction method. Index Terms Smart Surveillance System, Video Object Segmentation, Static Background, Background Subtraction, Background Image Generation and Background Updation S I. RESEARCH OBJECTIVE URVEILLANCE system is not a new name. Earlier the surveillance system was used just to capture videos. But with the advent in the field of image and video processing, the surveillance system [1],[2] has extended its functionality from providing videos to be observed by a human operator, to taking an action on events which are identified as a consequence of image processing. Such type of surveillance system is known as Smart Surveillance System. Smart Surveillance Systems needs the system to be responding to the action in real time [3]. To process something in real time, very fast and robust analysis is required. The process of analysis can be divided into segmenting the moving object from the video followed by its identification and finally generating an action based on the event. The block diagram of a general smart surveillance system is shown in Fig 1. Fig. 1. Block diagram of a general surveillance system Segmentation of video object must be done in order to effectively detect a moving object. Segmentation is considered to be the most important yet the most difficult part of any video based application. Many researches have been carried out to develop various methods for segmenting a video object [6], [7], [8]. Most widely used method for object segmentation is the background subtraction method. In this method a moving object is separated from its background by taking the difference of the image frame with a background frame void of any moving object. The background subtraction methods can give accurate result only when the reference frame which is the background image is selected properly. Therefore, having appropriate background image constitutes the key aspect in object detection. This paper addresses the method of constructing an optimal background image from a video sequence by evaluating the initial few frames of the video. II. INTRODUCTION A background image can be considered as an image containing objects which remain inactive in the frame. In an indoor environment, it may consist of the furniture, television, telephone etc. which are non-living things and are not capable of changing their position on their own. In an outdoor environment, it may consist of buildings, electric poles and hoardings which are also non-living objects. These can be considered as static object in the background image. But the appearance of background image may change with time. Following can be the situation where background can change: i) An object remains stationary for a long duration of time. ii) An object initially moving but then becomes stationary for a long time. iii) An object which was stationary, starts moving after sometime. In both of these situations, the background image changes. If it is not updated with the changes in the scene then object might not be detected appropriately. To handle both the above mentioned situations a new approach for generating the background image has been proposed. A modified background subtraction method is introduced which has the ability to generate a new reference image with the changing scene. The Journal Homepage: www.ijcst.org

Sonali A. Virparia et al. 66 proposed algorithm runs in parallel with the actual background subtraction method without interrupting the process of moving object detection. The algorithm can generate an image consisting of all the static objects in the scene. At regular interval the algorithm can be repeated to generate a new image and this newly generated image can be used as the background image for carrying out background subtraction method to detect moving objects. When a new background image is generated, it is made available to the object detection process (as shown in Fig. 2) and further subtraction is carried out considering the newly generated image as the background image. As a result the execution time is not affected. The proposed algorithm is able to handle the situations mentioned which cannot be handled by the traditional background subtraction method where the reference background image does not adapt with the changes is the background scene. Implementation of the algorithm considers two cases: 1) image with static background and, 2) image with dynamic background. The results which are obtained are compared with the results of applying traditional background subtraction method. The remaining part of the paper is organized in the following manner. Overview of the proposed method is shown in Section III. In Section IV experimental results of the proposed algorithm are shown, and finally the conclusion of the paper is given in Section V. iv) From the PD find out the intensity value with the maximum probability. v) Generate a new background image by placing the maximum intensity values at the respective coordinate point. vi) Use the newly generated background image for performing image subtraction. III. METHODOLOGY Different video object segmentation methods are used for separating the moving objects from their background. In order to achieve this separation the first and foremost step is to extract the background from the video. Various changes in the background such as leaves of a tree waving due to wind can affect the efficiency of object detection. In order to obtain a good object profile, some processing needs to be done to generate an accurate background image. In this paper, frames of the first t seconds of the video are evaluated to generate an appropriate background image. The algorithm is repeated after certain time duration to get a new background image. The advantage of executing both the processes in parallel is that when a new image is being generated, object detection process does not stop executing and continues the subtraction using previously generated background image. When a new image is generated, image subtraction can be carried out using the new image. Executing the algorithm in parallel do not interfere with the execution time which is required for real time processing. The block diagram of the algorithm is shown in Fig. 2. Algorithm of the method is as below: i) Read the first N frames from the video. ii) Store all the intensity values of the respective coordinates from all the N frames. iii) Calculate the probability distribution PD for each coordinate point showing the probability of occurrence of the intensity values at that coordinate. Fig. 2. Block diagram of the proposed algorithm for generating the background image The above mentioned algorithm can be repeated at regular interval in order to obtain a new reference image. The algorithm has to be repeated periodically in order to change the background image which is used for image subtraction when an object which was stationary in the scene has now moved out of the scene. Implementation of the modified background subtraction method can be subdivided into three main parts: background image generation, background subtraction, background updation. A. Background Image Generation The first and important step for performing background subtraction is to obtain an appropriate background image which does not contain any moving objects. Consider that a video sequence has N frames. Out of that first T frames are considered for generating a background image. Let F t (i,j) be a frames from a video where, t=1,2,3,,t and i & j represents the resolution of the frame. The following equation is used to generate a background image:

International Journal of Computer Science and Telecommunications [Volume 3, Issue 5, May 2012] 67,, where k is the intensity value.,,,, (1) (2) BGI(i,j) is the generated background image. B. Background Subtraction Having got the background image, background subtraction can be applied to detect the moving objects from different video frames. Let N be the total number of frames in the video. BGI(i,j) is the background image. Each new frame of the video is subtracted from BGI(i,j).,,, (3) where n=1,2,3,,n and FD n (x,y) is the frame difference of each frame from the background image. Thresholding is to be performed for each difference image. (c) (d), 1, 0, (4) Fig. 3. Frames from a video a car is stationary, car started moving, and (c) car moving farther, (d) car moved out of the frame where Th is the threshold value and THI n (x,y) is the thresholded image. C. Background Updation Updating the background image is required to adapt the reference image with the changes in the background scene. To detect a moving object accurately it is required to again generate a new background image. For that the procedure given in Equations (1),(2),(3) are again repeated. This is done parallel to the background subtraction process. Let BGI(x,y) is the newly generated background image. Now this image is used for further processing. Next Section shows the results obtained by applying the algorithm on different video sequences. Fig. 4. Background image generated by implementing the proposed algorithm IV. EXPERIMENTAL RESULTS The proposed algorithm has been applied on video in which background image changes with the changes in position of different object. It is considered that the cameras are stationary. Videos have been recorded using a single camera. A. Results obtained by applying proposed algorithm Three different scenarios have been considered on which the algorithm has been applied. Fig. 3 shows the frames of a video in which a car is stationary for a while and then it moves out of the frame. The algorithm generates a background image by analyzing the initial few frames of the video. Fig. 4 shows the generated background image. The background image thus generated is used as the reference image for performing background subtraction. Fig. 5 shows the frame having moving object and the image obtained after doing subtraction and thresholding. Fig. 5. Result of background subtraction video frame in which car has moved out, thresholded image As the background image does not contain the temporary static object, moving object can be detected accurately. Fig6 shows the scenario in which a car remains stationary for a long duration of time.

Sonali A. Virparia et al. 68 sequence. In the video when the background image is captured, there is a stationary object. Fig. 6. Frames from a video in which car is stationary The background image generated from the video must contain the stationary object as it does not move for a long duration of time. Fig. 7 shows the generated background image. Fig. 9. Background image Fig. 10 shows changes in the resultant image obtained after background subtraction as the scene changes. Fig. 7. Background image generated for the above video sequence (c) (d) Fig. 8. Result of background subtraction: video frame containing stationary and moving object both, thresholded image Fig. 8 shows the result of background subtraction using the background image generated by the algorithm. As the car in Fig. 8 remains stationary and the background image generated also contains the stationary object, resultant image obtained after background subtraction detects only the moving object. A. Results of traditional background subtraction method Applying traditional background subtraction technique requires having a background image which is used during subtraction. In order to adapt to the changes in the scene, background image must also change. It would be required to constantly monitor the video in order to check whether there is any change in the scene due to change in position of stationary object. Fig. 9 shows the background image for a video (e) (f) Fig. 10. Result of background subtraction: video frame containing stationary and moving object both, its thresholded image, (c) frame which does not have stationary object, (d) its thresholded image, (e) frame containing only the moving object, (f) its thresholded image Fig. 10 detects the moving objects appropriately. But Fig. 10(d) and Fig. 10(f) detect the moving object incorrectly. In Fig. 10(c) and Fig. 10(e) there is no stationary object but still its thresholded image detects a moving object as this frame is subtracted from the background image containing the stationary object. In such cases if the background image does not adapt to the changes in the scene it will not detect moving objects correctly.

International Journal of Computer Science and Telecommunications [Volume 3, Issue 5, May 2012] 69 V. CONCLUSION In this paper, a new approach for generating a background image from a real time video sequence using a single static camera has been proposed. The algorithm can efficiently generate a background image from a video which contains a stationary object for a long time. This algorithm when repeated again after certain interval can handle the scenario when the stationary object moves away. It is considered that the initially generated background image has to be used for image subtraction till a new background image is generated. If the scene changes during that period then image subtraction will be carried out with the previously generated background image. As background estimation and object detection always run in parallel, the frequency of background updation can be increased without affecting the real time response time. REFERENCES [1] E. Ardizzone, M. La Cascia, G. Lo Re, and M. Ortolani An Integrated architecture for surveillance and monitoring in an archaeological site, In Proc. ACM Multimedia 94, San Francisco, CA, pp. 97-103, 1994 [2] R. Cucchiara, Multimedia Surveillance syatem, Proc. ACM workshop on Video Surveillance and Sensor Networks, pp. 310, 2005 [3] C. Stauffer and W. E. L. Grimson, Learning Patterns of activity usinf real time tracking, IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(8):747-757, August 2000 [4] C. Stauffer and W. E. L. Grimson, Adaptive background mixture models for real time tracking, Proc. Computer Vision and Pattern Recognition, Conf. 1999 [5] C. Wren, A Azarbayejani, T.Darrell, and A. Pentland, Pfinder: Real-Time Tracking of human body, IEEE Transactions on Pattern Analysis and Machine Intelligence,19(7):780-785, July 1997. [6] T. Meier, K. N. Ngan, "Automatic segmentation of moving objects for video object plane generation", IEEE Trans. Circuits Syst. Video Technology, Vol. 8, No.5, pp.525-538, Sept. 1998. [7] D. Wang, Unsupervised video segmentation based on watersheds and temporal tracking, IEEE Trans Circuits Syst Video Technol, 1998, 8: 539 546. [8] Mei Han; Wei Xu; YihongGong. "Video Foreground Segmentation Based on Sequential Feature Clustering". Pattern Recognition, 2006. ICPR 2006. 18th International Conference on Volume 1, 2006, Page (s):492-496. [9] D. D. Giusto, F. Massiddo, C. Perra. "A fast algorithm for video segmentation and object tracking", IEEE Trans, DSP, 2002, pp 697-700. [10] Thomas M. King N. N., Video segmentation for content-based coding, IEEE on Circuits and Systems for Video Technology, 1999, 9(8):1190-1203. Sonali A. Virparia B.E. Computer from S.V.I.T Vasad, Gujarat, India, Year 2009. Working in the area of Surveillance System for cattle detection. Pursuing M.Tech from Nirma University, Ahmedabad, Gujarat, India. Field of research is Image Analysis and Object Detection. Ankit M. Virparia An M.Tech from Nirma University, Ahmedabad, Gujarat, India, Year 2011. Working as Assistant Professor at Indus Institute of Technology and Engineering, Racharda, Gujarat, India. Area of research is Satellite Image Processing, Vision Defect Identification. Swati Jain B.E Computer from Barkatullah University, Bhopal, M.P, India in Year 2000. M.Tech Nirma University, Ahmedabad, Gujarat, India in Year 2007 with Gold Medal. Pursuing Ph.D. in content based image retrieval(cbir) for satellite images. Area of research Image Processing and Machine learning.