Professional Documents
Culture Documents
The System Design for Improving Vechicle Detection Precision Based on Image
processing
Abstract—Research on moving vehicle detection based on information, such as traffic flow, average vehicle speed,
Video and Image Processing is a significant research topic in occupancy rate, vehicle type and so on.
image processing and computer vision, and is also a basic and The detection result is seriously affected by the quality of
key work in intelligent traffic system field, which directly noise and image, freightflow, noise and so on. In the actual
affects the follow-on object identification and tracking, image processing, the edge of target is incomplete and
analysis and understanding of the traffic scene. In this paper occasionally contain cavities. In this paper the main
detection of moving vehicles has been studied, analyed and emphasis of our research is to improve image quality, image
summarized the existing moving object detection technology, features, eliminate interference factor and etc, and it aims to
an moving vehicle detection system is introduced and designed.
set up a set of image processing system to more simply and
In the system the improved frame difference method combined
accurately extract the region of interest from complex scenes.
with image contrast enhancement and morphological filter is
proposed, which can effectively solve the background II. IMAGE PREPROCESSING
difference method and frame difference method can not
extract the regions of interest effectively, besides, using a The transport video images got by the image capture
connected region labeling method to fill the voids in the middle system are always full of noise which caused by complex
of the vehicle image, the target area becomed more complete outdoor ambient light, hardware itself and adding from the
and clear. Using this kind of system can reduce computation, process of signals’ acquisition, conversion and transmission.
improve identification speed, and receive better robustness Therefore, we use digital image pre processing technology to
and higher recognition effect to recognize vehicles more deal with the videos so that we can identify and segment the
efficiently. Therefore the research contents and the system moving vehicle from the image.
design have the practical significance to the research of vehicle
detection technology based on the video. A. Grey Scale Processing
Grey scale processing is to remove the original image of
Keywords-ITS; Vehicle detection system; Frame difference the color information, only toretain the image of the
method;Image processing brightness information. And the information of lightness is
I. INTRODUCTION divided into a total of 256 levels from 0 which represents the
blackest to 255, which represents the whitest.In this paper,
Digital image processing technology is to various weighted average method is used to carry out weighted
technologies and methods of digital image processing by average of RGB three components in color image according
using computer technology. The early method is aimed to to its importance and other indexes. The sensitivity of
improve human’s visual effect, recover the pictures, and human’s eyes towards RGB components are different, which
improve the quality. Later, with the development of has the lowest sensitive to blue and highest sensitive to green,
computer technology and pattern recognition technology, the Therefore, we can use the following formula to weighted
computer digital image processing technology has been average the RGB components and realize image grizzled
improved. It is so widely used that almost involved in every processing.
part of our life and scientific fields. Getting the information Specific formula is as follows:
of the moving target from the video sequence images is the
hot topic in the field of computer digital image processing f x, y 0.30Rx, y 0.59Gx, y 0.11Bx, y
technology.
A vehicle detection system based on image processing B. Filtering Denoising
technology is very important in the ITS, which is not only to In view of the strong correlation between adjacent pixels
the trend and hot spot but also the heading in the field of of the image, filtering denoising can help to limit or reduce
Intelligence Transportation System. In the system, vehicle the noise signals’ interference to the image, attenuate the
detection based on Video Image Technology is to analyze needless information in the images, improve the quality and
the image sequence of traffic monitoring system collection. highlight the interesting parts selectively.
Since traffic video image holds extremely large amounts of Considering the condition that the mean filter filters out
raw data, we can use the strong correlation between less completely than the median filter the paper uses the
consecutive adjacent frames in temporal and spatial domains median filtering algorithm. Assume that the median filtering
extraction of moving vehicles in order to get more traffic will process an image, the mobile windowis first identified
192
Authorized licensed use limited to: KLE Technological University. Downloaded on January 21,2024 at 06:50:27 UTC from IEEE Xplore. Restrictions apply.
to process binary image is to use the threshold segmentation close operation of the four basic computing. In mathematical
technology. It is particularly applicable when the contrast of morphology of these four types of operation is the basis, all
moving target and background contrast degree is strong. the complex morphological operations can be combined and
Furthermore, the algorithm is simple in calculation and can derived by the four basic operations. In the image processing,
always achieve better regional closure and boundary open operation and close operation are the most basic Image
connectivity for the non overlapping partitions. Threshold denoising method, while in the morphology of corrosion,
segmentation technology principle is to use the threshold to expansion and operation are the basis of open and close.
distinguish images of the moving object region and Erosion operation is one of the two basic operations, in
background region. If the pixel gray values are bigger than the mathematical morphology, mainly used to remove the
the threshold set in advance, they will be changed to 255, as noise of the image of small particles by way of inward
the moving target region; otherwise, they will be set to 0, as contraction of the image contour to eliminate adhesion of the
the background region [3]. target area so that the different detection targets are
Choosing the best reasonable threshold is the key to get independent.
good image segmentation. The aim to select the appropriate Dilation operation is the dual operation of erosion
threshold is to distinguish between foreground points and operation, just the opposite to corrosion operation in the role
background points as accurately as possible. According to of mathematical morphology. It is mainly used to eliminate
the different use of scenarios, the threshold can be divided small particle noise within the target area and to fill the void
into global fixed threshold method and variable threshold in the target area by dilating the range of image contour.
method. Global fixed threshold method in binary threshold Image corrosion expansion processing still has a problem.
in the process of has the fixed parameter, and the algorithm The moving target area of corrode image will be smaller,
is simple. However, the disadvantage is that the miscarriage while the moving target area of expanded image will be
of justice is likely to occur. Thus, in order to obtain good bigger. People designed opening and closing operation to
segmentation results, we must take automatic threshold deal with this problem. Morphological open operation and
method, and the threshold image should be compute with a close operation consist of a combination of dilation and
series of complex operations to dynamically update. erosion algorithm, the images those were dilated and then
Following pictures shows the effect of the iterative processed for corrosion treatment called closing operation.
threshold and the Otsu threshold segmentation. Figure 1 is The images those were corroded and then dilated called open
the interception of a video image in a frame. Figure 2 is the operation.
image after iterative threshold. Figure 3 is the image after To sum up, each of the open operation and close
threshold segmentation. The experimental results show that operation in image processing has its own advantages. We
the Otsu threshold segmentation method has good can use open operation to help smooth processing of image
segmentation effect. contour without changing the area and shape of the moving
object region. Close operation can process the image
IV. IMAGE FURTHER PROCESS fragmentation and the moving target area of small hole
We have realized the foreground region and background filling without changing the position and shape of the
region segmentation, which is not only the first step of moving object region[4].
vehicle detection but also the most important one. However, In this paper, with the integrated use of open operation
due to the influence of the light in the acquisition, and close operationÿs advantages, the filter processing open
conversion and transmission of the outdoor environment, the operation before closing operation is designed to filter the
speed of the moving vehicle and the noise introduced in the images. The experimental results are showned. Figure 1 is
process of collection, conversion and transmission of the the image with threshold segmentation. Figure 2 is the image
video equipment, the quality of image segmentation has processed by morphology.
been reduced. The reduction can be mainly found in many
places, the background is often mixed with some of the
white noise points. The detected white foreground motion
regions mixed with black noise pixels, even within the white
foreground motion regions appears big "hole". The quality of
segmented image noise removal affects the intelligent
transportation systems in the vehicle flow detection, vehicle
recognition, vehicle to positioning and tracking of vehicles.
In this paper, the morphological filtering technology and the
tag based region filling technology are combined to deal
with the two value image, in order to improve the accuracy
of motor vehicle flow detection.
A. Mathematical Morphology Processing
Figure 1. Image with threshold segmentation
Morphological image processing is based on
mathematical morphology, which contains mathematical
morphology of corrosion, expansion, open operation and
193
Authorized licensed use limited to: KLE Technological University. Downloaded on January 21,2024 at 06:50:27 UTC from IEEE Xplore. Restrictions apply.
(5) Output the modified binary image.
From Figure 2 and Figure 3 we can see that after the
above processing all moving objects are more
distinguishable and more complete.
Figure 2. Image processed by morphology
194
Authorized licensed use limited to: KLE Technological University. Downloaded on January 21,2024 at 06:50:27 UTC from IEEE Xplore. Restrictions apply.