Tan-Hsu Tan Dept. of Electrical Engineering National Taipei University of Technology Taipei, Taiwan (ROC)

Similar documents
Design and Application of Novel Morphological Filter Used In Vehicle Detection

Research on Pupil Segmentation and Localization in Micro Operation Hu BinLiang1, a, Chen GuoLiang2, b, Ma Hui2, c

An Adaptive Kernel-Growing Median Filter for High Noise Images. Jacob Laurel. Birmingham, AL, USA. Birmingham, AL, USA

A Novel Multi-diagonal Matrix Filter for Binary Image Denoising

AN EXPANDED-HAAR WAVELET TRANSFORM AND MORPHOLOGICAL DEAL BASED APPROACH FOR VEHICLE LICENSE PLATE LOCALIZATION IN INDIAN CONDITIONS

Application of Singular Value Energy Difference Spectrum in Axis Trace Refinement

VEHICLE LICENSE PLATE DETECTION ALGORITHM BASED ON STATISTICAL CHARACTERISTICS IN HSI COLOR MODEL

Adaptive Bi-Stage Median Filter for Images Corrupted by High Density Fixed- Value Impulse Noise

An Improved Adaptive Median Filter for Image Denoising

Simple Impulse Noise Cancellation Based on Fuzzy Logic

Implementing Morphological Operators for Edge Detection on 3D Biomedical Images

Smart License Plate Recognition Using Optical Character Recognition Based on the Multicopter

Evolutionary Image Enhancement for Impulsive Noise Reduction

Comparison of Two Approaches to Finding the Median in Image Filtering

FPGA based Real-time Automatic Number Plate Recognition System for Modern License Plates in Sri Lanka

A Modified Non Linear Median Filter for the Removal of Medium Density Random Valued Impulse Noise

Fuzzy Logic Based Adaptive Image Denoising

Efficient 2-D Structuring Element for Noise Removal of Grayscale Images using Morphological Operations

Multi-Resolution Estimation of Optical Flow on Vehicle Tracking under Unpredictable Environments

Filip Malmberg 1TD396 fall 2018 Today s lecture

Efficient Contrast Enhancement Using Adaptive Gamma Correction and Cumulative Intensity Distribution

Keyword: Morphological operation, template matching, license plate localization, character recognition.

Detail preserving impulsive noise removal

An Efficient Method for Vehicle License Plate Detection in Complex Scenes

UM-Based Image Enhancement in Low-Light Situations

A Study on Image Enhancement and Resolution through fused approach of Guided Filter and high-resolution Filter

Vehicle License Plate Recognition System Using LoG Operator for Edge Detection and Radon Transform for Slant Correction

Implementation of Barcode Localization Technique using Morphological Operations

Vehicle Number Plate Recognition Using Hybrid Mathematical Morphological Techniques

An Evaluation of Automatic License Plate Recognition Vikas Kotagyale, Prof.S.D.Joshi

A Spatial Mean and Median Filter For Noise Removal in Digital Images

C. Efficient Removal Of Impulse Noise In [7], a method used to remove the impulse noise (ERIN) is based on simple fuzzy impulse detection technique.

International Journal of Innovative Research in Engineering Science and Technology APRIL 2018 ISSN X

A new seal verification for Chinese color seal

Automated Driving Car Using Image Processing

An Improved Bernsen Algorithm Approaches For License Plate Recognition

COMPARATIVE PERFORMANCE ANALYSIS OF HAND GESTURE RECOGNITION TECHNIQUES

FPGA IMPLEMENTATION OF RSEPD TECHNIQUE BASED IMPULSE NOISE REMOVAL

Contrast Enhancement using Improved Adaptive Gamma Correction With Weighting Distribution Technique

Fast identification of individuals based on iris characteristics for biometric systems

Traffic Sign Recognition Senior Project Final Report

Face Detection System on Ada boost Algorithm Using Haar Classifiers

中国科技论文在线. An Efficient Method of License Plate Location in Natural-scene Image. Haiqi Huang 1, Ming Gu 2,Hongyang Chao 2

A Fuzzy-Based Impulse Noise Detection and Cancellation for Real-Time Processing in Video Receivers

Absolute Difference Based Progressive Switching Median Filter for Efficient Impulse Noise Removal

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

License Plate Localisation based on Morphological Operations

A Study On Preprocessing A Mammogram Image Using Adaptive Median Filter

MAV-ID card processing using camera images

Removal of High Density Salt and Pepper Noise through Modified Decision based Un Symmetric Trimmed Median Filter

Bi-Level Weighted Histogram Equalization with Adaptive Gamma Correction

Noise Adaptive and Similarity Based Switching Median Filter for Salt & Pepper Noise

A New Method to Remove Noise in Magnetic Resonance and Ultrasound Images

Combined Approach for Face Detection, Eye Region Detection and Eye State Analysis- Extended Paper

Lossy and Lossless Compression using Various Algorithms

IMPROVEMENT USING WEIGHTED METHOD FOR HISTOGRAM EQUALIZATION IN PRESERVING THE COLOR QUALITIES OF RGB IMAGE

Image Filtering in Spatial domain. Computer Vision Jia-Bin Huang, Virginia Tech

A Global-Local Noise Removal Approach to Remove High Density Impulse Noise

Automatic Morphological Segmentation and Region Growing Method of Diagnosing Medical Images

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

A New Connected-Component Labeling Algorithm

Scrabble Board Automatic Detector for Third Party Applications

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Image De-Noising Using a Fast Non-Local Averaging Algorithm

Color Image Segmentation Using K-Means Clustering and Otsu s Adaptive Thresholding

Implementation of Median Filter for CI Based on FPGA

Image Noise Removal by Dual Threshold Median Filter for RVIN

Interpolation of CFA Color Images with Hybrid Image Denoising

CCD Automatic Gain Algorithm Design of Noncontact Measurement System Based on High-speed Circuit Breaker

Automatic Licenses Plate Recognition System

Thumbnail Images Using Resampling Method

Decision Based Median Filter Algorithm Using Resource Optimized FPGA to Extract Impulse Noise

An Efficient Gaussian Noise Removal Image Enhancement Technique for Gray Scale Images V. Murugan, R. Balasubramanian

High density impulse denoising by a fuzzy filter Techniques:Survey

Simulated Programmable Apertures with Lytro

Digital Image Processing

A Vehicle Speed Measurement System for Nighttime with Camera

Content Based Image Retrieval Using Color Histogram

Survey on Impulse Noise Suppression Techniques for Digital Images

Prof. Feng Liu. Winter /10/2019

The Classification of Gun s Type Using Image Recognition Theory

Noise Reduction Technique in Synthetic Aperture Radar Datasets using Adaptive and Laplacian Filters

Computing for Engineers in Python

THERMAL DETECTION OF WATER SATURATION SPOTS FOR LANDSLIDE PREDICTION

Real-Time License Plate Localisation on FPGA

Impulse Noise Removal Based on Artificial Neural Network Classification with Weighted Median Filter

Demosaicing Algorithm for Color Filter Arrays Based on SVMs

An Efficient Nonlinear Filter for Removal of Impulse Noise in Color Video Sequences

Infrared Night Vision Based Pedestrian Detection System

A Study of Image Processing on Identifying Cucumber Disease

AN ITERATIVE UNSYMMETRICAL TRIMMED MIDPOINT-MEDIAN FILTER FOR REMOVAL OF HIGH DENSITY SALT AND PEPPER NOISE

Image Enhancement using Histogram Equalization and Spatial Filtering

Removal of Salt and Pepper Noise from Satellite Images

Using Image Processing to Enhance Vehicle Safety

International Journal of Scientific & Engineering Research, Volume 4, Issue 7, July ISSN

Motivation: Image denoising. How can we reduce noise in a photograph?

2 Human Visual Characteristics

Image Filtering. Median Filtering

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

A Solution for Identification of Bird s Nests on Transmission Lines with UAV Patrol. Qinghua Wang

Transcription:

Munkhjargal Gochoo, Damdinsuren Bayanduuren, Uyangaa Khuchit, Galbadrakh Battur School of Information and Communications Technology, Mongolian University of Science and Technology Ulaanbaatar, Mongolia g.munkhjargal@must.edu.mn damdinsurenb@must.edu.mn uyangaakh@must.edu.mn b.galbadrah12@gmail.com Sy-Yen Kuo Dept. of Electrical Engineering, National Taiwan University, sykuo@ntu.edu.tw Tan-Hsu Tan Dept. of Electrical Engineering National Taipei University of Technology thtan@ntut.edu.tw Shih-Chia Huang Dept. of Electronic National Taipei University of Technology schuang@ntut.edu.tw Abstract In this paper we represent our proposed novel morphological filter developed under the scope of Taiwan- Mongolian co-project. We applied the implemented filter in vehicle detection from CCTV video signal. Our goal was to develop a filter that can reduce the noise in background subtracted binary image, which created by camera shake, and unnecessary moving objects such as wave of the tree etc. We compared our filter performance with morphological open, close, erosion, dilation, and median filters. PSNR (Peak Signal to Noise Ratio) is employed for evaluating the performance of the filters, our filter s PSNR was relatively higher (21.39) than the other method. Furthermore, we used our filter for vehicle detection, and detection rate was 100% as the other methods. Thus, we conclude the new filter is sufficient for denoising binary image, and suitable for vehicle detection. Keywords new method; image processing; digital filter; algorithm; vehicle detection I. INTRODUCTION Computer vision has always been widely accepted in application to extract information from video source. However, removing noises in a frame of the video was a difficult task, and a lot of filtering algorithms were developed in last decades. Mathematical morphology has been used as a powerful tool for filtering noises, while preserving the important geometrical features. Furthermore, morphological methods use structuring elements (SE) such as rectangle, ellipse and cross [1, 2], and size of the SE can be adjusted to get better results. The SE of the morphological filter is similar to the window or mask function. In actual applications, there is quite a difference of morphological features among the vibration signals because of operating environment and processing parameters of the mechanical equipment [3]. At present, morphological opening, morphological closing and their combinations (open and close) are widely used in image processing. Also omnidirectional methods of morphology were introduced. Moreover it is said that close-opening and openclosing filter [4]-[7]. Median filters and order-statistic filters are a class of nonlinear and translation-invariant discrete filters that have become popular in digital speech and image processing, and also in statistical or economic time series analysis. These filters are easy to implement and can suppress impulse noises, which blur edges [8]-[10]. Furthermore median blur method blurs the frame according to the kernel size which is deficient for proper usage. We found out that aforementioned filters could not remove noise from binary image as we desired. Thus, we intended to develop a better filter that could remove more noise while keeping the geometrical structure of the moving vehicles. II. METHOD The main difference between our method and morphological filter is we calculate the surrounding pixels of a suspicious pixel, however morphological methods check the pixels in structuring element. In binary morphology, the dilation (1) and erosion (2) are respectively defined as below [11]:, max,,, (1) Θ, min,,, (2) where,andθ denotes, respectively, dilation operator and erosion operator, G(x,y) is binary image, and B(x, y) is structure element. 978-1-5090-0806-3/16/$31.00 copyright 2016 IEEE ICIS 2016, June 26-29, 2016, Okayama, Japan

Opening (3) and closing (4) operation of binary image are defined as [11]: Θ (3) Θ (4) where, and denotes, respectively, opening operator and closing operator. The filter window can be 2D square, rectangle, cross, and ellipse in default morphological filters, but in our case, we used a square window. Window size can be resizable to improve the result of the filter. Our method is similar to the filters in a way that it treats the pixels one by one to decide whether it s noise or not. Following is a pseudocode of our method. A. Algorithm s pseudo code 1. Run till the end of frame 1.1. if x(1,1)=1, suspicious pixel is white 1.1.1. Calculate S, number of white pixels inside the window 1.1.2. if S < n 2 /2, number of white pixels is less than a half of total pixels inside the window 1.1.2.1. set x(1,1)=0 1.1.3. end if 1.2. end if 2. end frame We assume the window as a 2-D square matrix size of n n. We also assumed binary image s white pixel has a value of 1, and black pixel has a value of 0. Our suspicious pixel x(1,1) is at 1 st row and 1 st column of the window. This window will slide from top left corner to the bottom right corner checking all the frame pixels. If the white pixel occurs while searching, we calculate the S which is the total number of white pixels inside the window, at the moment. If S < n 2, S is less than a half of the number of all pixels inside the window, the algorithm decides the suspicious pixel is a noise, then the algorithm changes the suspicious pixel to a black pixel. On the other hand, if S > n 2, S is greater than a half of the number of all pixels, we leave the suspicious pixel as it is assuming the pixel was a part of a vehicle. Equation of S, and suspicious pixel x(1,1) are defined as below: III. EXPERIMENTS AND RESULTS We tested the new method in video which is provided by Traffic Control Center of Ulaanbaatar, the video was recorded in Nov. 2015. A sample frame from the video is shown in Fig. 1, size of the frame was 622 441, and format was png. We did background subtraction to separate the moving objects from stationary background (Fig. 2). We intentionally chose this frame due to its high noise presence in order to show the quality of the new filter. We also added Gaussian noise (Fig. 3). Control image (Fig. 3) was created manually by removing all the noise from Fig. 2. We intended to get the best result which is as close as the control image. The result of the new method is shown in Fig. 5. Results of morphological open, close, and median filters are shown in, respectively, Fig. 6, 7, 8. All these results were the best results that we manually chose from many different cases. We employed PSNR (Peak Signal to Noise Ratio) for comparisons of filter quality. In order to calculate PSNR, first we found MSE (Mean Squared Error). The definition of the MSE is shown below: (7),, where, M, N are size of the frame, Y and S are frames to be compared, i and j are the coordinates of the pixel. PSNR is defined as: 10log (6),, (5) 1, 1,1 0, (6) Fig. 1. Original image from the video. where, S is a number of white pixels in the window, x(i,j) is a pixel, at row i and column j, inside the window, n is a size of the window.

Fig. 2. Image after background subtraction. Fig. 5. Filtered result of Figure 3 by the new method, window size is 8 8. Fig. 3. Gaussion noise added on Fig. 2. Fig. 6. Filtered result of Figure 3 by morphological open, ellipse type, size is 2 2. Fig. 4. The control image, noises were manually removed from Fig.2. Fig. 7. Filtered result of Figure 3 by morphological close, ellipse type, size is 2 2.

Morph. dilate 111333 162969 274302 Morph. erode 7798 266504 274302 Morph. open 16199 258103 274302 Morph. close 45690 228612 274302 Median filter 20681 253621 274302 Calculation costs of the methods are shown in Table 2. In this experiment, we used laptop with Intel Core i7 processor 2.4GHz (8CPUs), 8GB of RAM, Windows 10 OS, and the window size was 8x8 so the calculation cost of our function was more than other methods. However the calculation cost could be decreased by 2-4 times after improvement of the algorithm. Fig. 8. Filtered result of Figure 3 by median filter. PSNR values of all methods are shown in Fig. 9, results of morphological erosion and dilation methods are included even though their filtered images are not present in the paper. Among the results, PSNR of the new method was 21.39, which is the highest one among the others, meaning closest to the control image. Second best method was morphological erosion, and the worst method was morphological dilation. 25 20 15 10 5 0 Fig. 9. Comparison between PSNRs. Histogram of the white and black pixels of all methods are represented in Table 1. We can see the new method removed more amount of white pixels among the others. However, removing excessive white pixels is not good when those white pixels were part of vehicle, in our case, we can easily recognize the vehicles from the filtered image with naked-eyes. Besides, automatic vehicle detection, using blob detection method, rate was 100% when our filter was used. TABLE I. COMPARISON BETWEEN WHITE AND BLACK PIXELS HISTOGRAM Number of Number of Sum of the white pixels black pixels pixels Image Threshold 17525 256777 274302 Control Image 4474 269828 274302 Noised Image Threshold 39398 234904 274302 New method 5587 268715 274302 TABLE II. CALCULATION COSTS OF THE METHODS Function microsecond New method 6560 Morph. dilate 363 Morph. erode 336 Morph. open 1293 Morph. close 739 Median filter 393 IV. CONCLUSION New morphological filter is developed, and evaluation experiments are performed in this study. According to the experiment results, PSNR of the new filter was relatively higher than the other filters. Furthermore, vehicle detection rate was 100% as the other filters provided when the new filter is employed. Thus we conclude our filter is suitable for denoising binary image and for vehicle detection application. In the future, we will improve the algorithm so the calculation cost could be decreased by 3-4 times. V. ACKNOWLEDGMENT The authors would like to thank National Science Council of the Republic of China, Taiwan, and Ministry of Education, Culture and Sciences, Mongolia for financially supporting this research under grants 103WFA015042. VI. REFERENCES [1] Yang lirui, Ding Runtao Morphological filters with multiple structuring element. China 1991 international conference on circuits and Systems, June 1991, Shenzen China [2] Che Hong, Sun Longhe The optimized design and application of circular morphological filter 2009 DOI 10.1109/GCIS.2009.119 pp. 257-261 [3] Lijun Zhang, Lixin Zhang, Jianhong Yang, Min Li Adaptive morphological filter to fault diagnosis of gearbox National natural science foundation of China no. 51005015, 51004013, 50905013 pp. 70-73 [4] F. Cheng and A. N. Venetsanopoulos An Adaptive Morphological Filter for Image Processing IEEE Transactions on image processing vol. 1 no. 4 October 1992 pp. 533-539 [5] Wang Xiuli, Nan YiMin A morphology filter to impulse noise based on adaptive optimizing the values of structure element Advanced computer theory and engineering, August 2010, vol. 5

[6] Zhang Xiang-guang LIU Yun Wang Chuan-xu Filter design based on the theory of the generalized morphological filter with omnidirectional structuring element Eight ACIS international conference on software engineering, artificial intelligence, networking, and parallel distributed computing pp. 255-258, 2007 [7] Petros Maragos, Ronald W. Schafer Morphological filters-part II: their relation to median, order-statistic, and stack filters IEEE transactions on acoustic, speech, and signal processing, vol. assp-35, no. 8, August 1987 [8] Kenneth R. Castleman Digital image processing NJ: Prentice-hall 1996 [9] Ji Zhen A novel mathematical morphology filter and its performance analysis in noise reduction Chinese journal of electronics, 2005 pp.68-72. [10] Windyga P S. Fast impulsive noise removal IEEE trans, image processing, 2001 pp. 173-179 [11] Quiling Wang, Lixin Wu, Zhihua Xu, Hong Tang, Ran Wang, Fashuai Li A progressive morphological filter for point cloud extracted from UAV images IGARSS 2014 pp. 2023-2026