net/publication/261059609
CITATIONS READS
8 819
2 authors, including:
Aisha Ajmal
Victoria University of Wellington
6 PUBLICATIONS 28 CITATIONS
SEE PROFILE
All content following this page was uploaded by Aisha Ajmal on 22 June 2016.
65
processed individually to obtain information regarding threshold value is chosen properly according to the
the number of vehicles and their classification at a brightness of the image to be processed. The threshold
particular instant of time. Figure 2 shows a block factor can be chosen with the help of histogram
diagram of the proposed system for vehicle detection characteristic of an image. A series of thresholding is
and classification. applied one after the other on both images which
The frames are passed through two phases, pre- results in multiple binary images. The addition of all
processing phase and then vehicle extraction phase. the images gives a complete refined binary image. This
process is shown in Figure 5 and the obtained images
are shown in Figure 6. Four threshold values are used:
0.2, 0.4, 0.6 and 0.8 respectively. Figure 6 (e) shows
the resultant image after the addition of all threshold
images. After applying the mask on both images,
image differencing takes place which is followed by
filtering the resultant image using a median filter to
remove noise generated by image differencing. Finally
this image is fed into the vehicle detection system and
further classified. The final output image obtained
from the pre processing system is shown in Figure 7.
66
minimum number of edges as our goal is to have the
outer edges of the vehicle since the inner edges are
irrelevant for overall vehicle detection [7]. Second,
series of linear binary morphological dilations in three
directions horizontally, vertically and through 45
degrees are performed. The result of the three dilations
is shown in Figure 8 (b). It is obvious that the vehicles
are becoming more prominent but at the same time,
some noise objects are becoming larger. Hence these
unwanted objects can give false detection.
Furthermore, binary filling of the holes is performed as
shown in Figure 8 (c). Holes are defined as a set of
background pixels that cannot be reached by filling in
Figure 5. Series of image thresholding using different the background from the edge of image. Note that the
threshold factors unwanted small objects did not increase in size as
result of the filling operation. In order to reduce the
complexity of algorithm, those objects touching the
border of the image are removed as shown in Fig 8(d).
67
size of target vehicles and unwanted objects is same.
Hence unwanted objects could be easily detected.
68
View publication stats