Traffic video enhancement based vehicle correct tracked methodology
Автор: Mohamed Maher Ata, Mohamed El-Darieby, M.Abd Elnaby, Sameh A. Napoleon
Журнал: International Journal of Image, Graphics and Signal Processing @ijigsp
Статья в выпуске: 12 vol.9, 2017 года.
Бесплатный доступ
In this paper, an enhancement based traffic video has been proposed in the state of the art of computer vision. The main target is to develop a decision making criteria for removing the most probable video degradations. Such traffic video degradations would have an adverse impact on the transportation system. In order to establish the appropriate analysis, three types of video degradations have been added to the test video; salt and pepper noise, Gaussian noise, and speckle noise, we have simulated rainy, fog, and darkness conditions for the traffic video. First of all, back ground subtraction and Kalman filter techniques have been used for detecting and tracking vehicles respectively. By using such algorithms, it would be easily to estimate average number of assigned tracks which express the efficacy of correct detection and prediction of vehicles in each frame. Furthermore, video degradations would be applied in order to studying its effect on the average number of assigned tracks which would be deviated than noiseless video. Spatial filtering system has been applied to state the most suitable filter mask which satisfy the least deviation in the average number of assigned tracks. Experimental results show that median filter satisfies the least deviation in all cases of video degradations.
Intelligent Transportation System (ITS), traffic video analysis, assigned tracks, video degradation, filter mask
Короткий адрес: https://sciup.org/15015922
IDR: 15015922 | DOI: 10.5815/ijigsp.2017.12.04
Текст научной статьи Traffic video enhancement based vehicle correct tracked methodology
Published Online December 2017 in MECS
Traffic video analysis would be considered as one of the most challenging research point in this century. Such analysis has been targeting an intelligent transportation system (ITS) which serves both the traffic system infrastructure and drivers themselves [1]. Many smart techniques have been designed in order to detect and keep track moving vehicles from the first frame until reaching the last frame in the test video [2]. Some of these techniques would be software based systems or hardware based systems. Our proposed system was targeting to be a software based analysis according to means of computer vision techniques. In This paper, an extended study has been proposed in the state of the art of computer vision. The proposed Study aims to produce a decision tool in order to enhance traffic video with the presence of video degradations. In the beginning, we have applied a noiseless traffic video to both vehicle detection algorithms based foreground detection and vehicle tracking based Kalman filter. In addition, some sort of statistical information has been extracted to express number of correct detected and predicted vehicles (number of assigned tracks in each frame). By applying means of averaging, we can now calculate the average number of assigned tracks in the whole video in order to having a reference value that express the accuracy of detection and tracking of vehicles. The next stage has been utilized by applying means of video degradation; salt and pepper, Gaussian noise, and speckle noise. In each case, Kalman filter has been applied to measure average number of assigned tracks. In the last stage, some filter masks have been applied to the noisy video in order to estimate the best filtering algorithm for such traffic video by calculating the deviation between values of average number of assigned tracks in both noiseless video and cleaned video. The least deviation value would express the best filter mask. Figure 1 shows the block diagram of the proposed system.

Fig.1. block diagram of the proposed system
-
II. Techniques of Detecting and Tracking Vehicles
Foreground detection based Gaussian mixture back ground subtraction technique is one of the most popular algorithms which used in the detection of multiple vehicles. In this technique, successive video frames are subsequent to multiple separately frames. In addition, each frame would be compared with other frames in order to detect moving vehicles. Gaussian mixture model relies on 2 main steps; initialize foreground detector, and detecting vehicles in an initial video frames [3]. In the first step, moving vehicles are segmented from the background [4,5]. For accepted results, the chosen values of the appropriate parameters must be estimated relatively to the total number of successive video frames of interest (about 10% of the total number of video frames) [6]. By applying some sort of training process, the foreground detector starts to output segmented vehicles. In the second step, vehicle detection would be concerned. After applying foreground detection, a blob analyzer algorithm would be applied in order to remove any undesired moving objects in the video [7]. The final phase in the detection procedure is to fill undetectable discontinuous regions with holes in vehicle window by means of dilation and erosion [8]. By completing the detection process, a tracking algorithm based on Kalman filter would be applied to ensure that each vehicle would be kept tracked [9,10]. To ensure the process of tracking vehicles regardless the change of position, speed and acceleration, we measure the distance of centroids of each vehicle blob that calculated in two consecutive frames [11,12]. If two centroids ( x1, y1) and (x2, y2) of two vehicle blobs, then distance would be calculated as follow:
d = 7[(У 2 -У 1 ) 2 + (х-% 1 ) 2 ] (1)
-
III. Video Degradation and Suggested Filtering Techniques
Video degradations represent the external disturbance which affect the successive video frames [13]. Salt & pepper noise (shot noise or binary noise) can be caused by sharp and sudden disturbances in the video frames. Its effect represented by scattered dots. Gaussian noise (additive noise) can be caused by random fluctuations. It is a normally distributed white noise. Principal sources of Gaussian noise in digital images arise during acquisition e.g. sensor noise caused by poor illumination and/or high temperature, and/or transmission e.g. electronic circuit noise Speckle noise (multiplicative noise) can be caused by random values that added to video frames [14,15]. Images obtained from these surfaces by coherent imaging systems such as laser, SAR, and ultrasound suffer from a common phenomenon called speckle. Speckle, in both cases, is primarily due to the interference of the returning wave at the transducer aperture. The origin of this noise is seen if we model our reflectivity function as an array of scatterers. Because of the finite resolution, at any time we are receiving from a distribution of scatterers within the resolution cell. These scattered signals add coherently; that is, they add constructively and destructively depending on the relative phases of each scattered waveform. Speckle noise results from these patterns of constructive and destructive interference shown as bright and dark dots in the image [16].
Filtering techniques aim to reduce video degradation in order to increase efficacy of vehicle detection and tracking. The possible presence of salt & pepper noise, Gaussian noise, and speckle video degradation could be reduced by using spatial filtering techniques. Methodology works robustly by applying the product of the filter mask with the neighbourhood pixels of each frame [17,18]. In this paper, some sort of spatial filtering techniques has been applied in order to satisfy the least deviation in the average number of assigned tracks [19,20]. The suggested filters were utilized as follow; average filter (Low Pass Filter) which depends on averaging the appropriate neighbourhood pixels in each frame, maximum, minimum, and median filters which depend on applying the appropriate mask according to ascending order based pixels, wiener filter: estimates the local mean and variance around each pixel as follow:
^ = ^Zn,mP(n,m)
wiener filter estimator =
^+ ^^-2^-[p(n,m)-^](4)
Where v2 is the noise variance disk filter which affect neighborhood pixels according to circulated mask with a predefined radius of interest, laplacian and laplacian of Gaussian filters which use symmetrical mask based orthogonal matrix [21,22]. Mathematical representation of laplacian of Gaussian filter follow the equation:
22 22
^^..л,.) ^.. 1 ' V ]exp(- ^)
However, the Gaussian mathematical model follows the equation:
-
1 "Г2 + V 2
G(X-^=2^ eXP(— ~ )
In addition, motion, sobel, and prewitt filter mask have been applied with symmetrical based orthogonal masks which used for edge detection purposes [23]. Finally, Gaussian filter which used as a smoothing operator in order to blur frames and remove detail and noise. In this sense it is similar to the mean filter, but it uses a different kernel that represents the shape of a Gaussian bell-shaped hump. Vehicle detection and tracking would be analyzed according to all preciously discussed methodologies [24,25].
-
III. Experimental Results
The proposed study has been utilized and tested using Matlab 2015, 4 GB RAM, CORE I5 processor. A 500 frames traffic test video have been used for such analysis. Results have been divided into three levels; level1 expresses the process of estimating average number of assigned tracks in the raw traffic video (without any noise). By applying both foreground detection and Kalman filter algorithms, the average number of assigned tracks have been measured. The appropriate analysis of interest has recorded an averaging within 1.99 (average of all correct predicted vehicles in the 500 frames). Figure 2 shows all correct predicted vehicles in each frame. Horizontal axes represent video frames and vertical axes represents assigned tracks. Level2 of the proposed analysis expresses the degraded traffic video (by adding noise disturbances). In case of the presence of salt and pepper noise, gradually increasing based noise variance have been tested. Each time, the average number of assigned tracks have been recorded. It was obviously that there is a deviation in its value each time. Figure 3 shows the appropriate deviation according to the presence of salt and pepper noise. In case of the presence of both Gaussian and speckle noise, an obvious deviation has been witnesses in the tracking value. by increasing variance of the appropriate noise in both cases, deviation has recorded to be increased randomly. Figure 4 and Figure 5 show the effect of both Gaussian and speckle noise respectively. The last level of analysis aims to apply a bank of filter masks to the noisy traffic video in order to calculate the least deviation between reference value (no noise assigned track value) and deviated value (after cleaning assigned track value).

Fig.2. All assigned tracks in the whole test video
Figures 6, 7, and 8 show the effect of each filter in the tracking performance in the presence of each type of noise with different variance. Experimental results show that median filter has recorded the best performed filter with all types and cases. Median filter has targeting deviation values of 0.6 after cleaning salt and speckle noise, about 0.45 after cleaning Gaussian noise, and about 0.28 after cleaning salt and pepper noise.

Fig.3. Effect of salt and pepper noise

Fig.4. Effect of Gaussian noise

Fig.5. Effect of speckle noise
-
IV. Conclusion
A complete traffic video analysis has been utilized and tested in the state of the art of computer vision based system. This work aims to ease the decision making of filtering system in case of dealing with noisy traffic videos. Performance indices in the appropriate analysis was targeting the measurement of the deviation between average number of assigned tracks in the noiseless traffic video and cleaned version from that video. We recommend the use of median filter in such cleaning criteria. Future work of interest will be in the state of the art of experiencing more filters with benchmarked traffic videos.
Список литературы Traffic video enhancement based vehicle correct tracked methodology
- S.Sivaraman, M.M.Trivedi,”looking at vehicles on the road:A survey of vision based vehicle detection, tracking, and behavior analysis”IEEE transaction on intelligent transportation systems, VOL.14,NO.4, 2013.
- S. Sato, M. Hashimoto, M. Takita, K. Takagi, and T. Ogawa, “Multilayer lidar-based pedestrian tracking in urban environments,” in Proc. IEEE IV, Jun. 2010, pp. 849–854.
- Z. Kim, “Real time obstacle detection and tracking based on constrained Delaunay triangulation,” in Proc. IEEE ITSC, Sep. 2006, pp. 548–553. J. Nuevo, I. Parra, J. Sjoberg, and L. Bergasa, “Estimating surrounding vehicles’ pose using computer vision,” in Proc. 13th ITSC, Sep. 2010, pp. 1863–1868.
- C. Idler, R. Schweiger, D. Paulus, M. Mahlisch, and W. Ritter, “Real time vision based multi-target-tracking with particle filters in automotive applications,” in Proc. IEEE Intell. Veh. Symp., 2006, pp. 188–193.
- J. Nuevo, I. Parra, J. Sjoberg, and L. Bergasa, “Estimating surrounding vehicles’ pose using computer vision,” in Proc. 13th ITSC, Sep. 2010, pp. 1863–1868.
- M. K. Krishna, H. Hexmoor, and S. Sogani, “A t-stepahead constrained optimal target detection algorithm for a multi sensor surveillance system,” IEEE Intelligent Robots and Systems, pp. 357–362 2005.
- W.Jing, B.Wen-xing. “A video supported moving object detection technique based on difference algorithm”. Computer Applications and Software, vol.26, no.12, pp: 68-70, 2009.
- Sun Ling, Wang Shuo, Li Qing-xia. “A target detection method based on adaptive threshold mixed difference”. Computer Applications and Software, vol. 26, no. 10, pp: 94-97, 2009.
- Xiaopeng Chen, Qiang Huang, et al. “Rapid and Precise Object Detection based on Color Histograms and Adaptive Bandwidth Mean Shift”. International Conference on Intelligent Robots and Systems,IROS 2009. IEEE/RSJ, pp: 4281-4286, 2009.
- R.Cucchiara, M.Piccardi, A.Prati, “Detecting Moving Objects, Ghosts, and Shadows in Video Streams” , IEEE transactions on pattern analysis and machine intelligence, , october 2003 , vol. 25, no.10.
- O. Barnich and M. Van Droogenbroeck. Vibe,”A universal background subtraction algorithm for video sequences”, IEEE Trans. Image Process., 20(6):1709–1724, June 2011
- J.-M. Guo, C.-H. Hsia, Y.-F. Liu, M.-H. Shih, C.-H. Chang, and J.-Y. Wu. “Fast background subtraction based on a multilayer codebook model for moving object detection”, IEEE Trans. Circuits Syst. Video Technol., 23(10):1809–1821, Oct. 2013
- T. Bouwmans. “Traditional and recent approaches in background modeling for foreground detection”, An overview. Computer Science Review, 1112(0):31–66,2014.
- L.Xue , C.Jiang , H.Chang , Y.Yang,W.Qin , W.Yuan , A novel Kalman filter for combining outputs of MEMS gyroscope array , elsevier, 4 January 2012 ,page(s)[745 -746].
- J.Guo , B.M.Williams , W.Huang , Adaptive Kalman filter approach for stochastic short-term traffic flow rate prediction and uncertainty q uantification , Tranportation Research Part C: Emerging Technologies , Volume 43, Part 1 , June 2014 , page(s):50 & 51
- L.Xue , C.Jiang , H.Chang , Y.Yang,W.Qin , W.Yuan , A novel Kalman filter for combining outputs of MEMS gyroscope array , elsevier, 4 January 2012 ,page(s)[745 -746].
- C N .Ko , C M .Lee , Short-term load forecasting using SVR (support vector regression)-based radial basis function neural network with dual extended Kalman filter , elsevier, 14 December 2012, page(s)[413].
- M. Alam, J. Ferreira, J. Fonseca, “Introduction to Intelligent Transportation Systems”, jpournal of intelligent transportation system. Studies in Systems, Decision and Control, vol 52. Pp.1-17, 2016. Springer
- X. Wang; R. Jiang; L. Li; Y. Lin; X. Zheng; F. Y. Wang, "Capturing Car-Following Behaviors by Deep Learning," in IEEE Transactions on Intelligent Transportation Systems, vol.99, 2017, pp.1-11
- J. K. Suhr; H. G. Jung, "Rearview Camera-Based Back-over Warning System Exploiting a Combination of Pose-Specific Pedestrian Recognitions," in IEEE Transactions on Intelligent Transportation Systems, vol.99, 2017, pp.1 7.
- S. Kim, B. Coifman,” Assessing the performance of Speed-Info radar traffic sensors”, Journal of Intelligent Transportation Systems.pp.179-189, vol.21, 2017.
- M. Cobo, A. López-Herrera, F. Herrera, and E. Herrera-Viedma, “A note on the ITS topic evolution in the period 2000–2009 at T-ITS,” IEEE Trans. Intelligent Transportation System, vol. 13, no. 1, pp. 413–420, Mar. 2012.
- D. Poobathy, R. Manicka Chezian,"Edge Detection Operators: Peak Signal to Noise Ratio Based Comparison", IJIGSP, vol.6, no.10, pp.55-61, 2014.DOI: 10.5815/ijigsp.2014.
- N. Kulkarni," Color thresholding method for image segmentation of natural images", IJIGSP, vol.4, issue.1, pages 28, 2012. Comparative analysis of automatic vehicle classification techniques: a survey", IJIGSP, vol.4, issue.9, pages 52, 2012.