The Technology of Image Processing Used in Automatic Target-Scoring System
The Technology of Image Processing Used in Automatic Target-Scoring System
Abstract—Military Automatic Target-scoring System can avoid points[2]. The rectification diagram is shown in figure 1, the
the defects in efficiency, reliablity, safety, which exist in basic idea is as follow.
traditional counting system made by manpower, it can a)According to certain transformation, choose some
implement fast and precise counting. We take Chest silhouette appropriate coordinate of the tamplate datum points from the
as studying object, detail each selected method of image data measured with the Chest silhouette, then save them to
processing and image recognition in the Auto-counting System. the database of the target-scoring system.
In addition,the results of all algorithms that MATLAB b)Choose the corresponding coordinate of the
imitated come to the army’s need. The work flow of this Auto- observation datum point on the intact image.
counting system can be composed of these phases: Target
c)Calculate the transformation matrix by computer with
image Rectification, Bullet-spot’s extraction, Bullet-spot’s
Recognition and Scoring.
certain coordinate transform type.
d)At last, start the geometric correction useing the
Keywords- Image processing; Military Automatic Target- corrected transformation matrix on the following distorted
scoring System ;Image recognition; Geometric rectification image of traget.
I. INTRODUCTION
In military training, most of the Traditional counting in
firing practice is made by manpower, and it has some
defects in efficiency, safety, etc.. Meanwhile, its detection
accuracy depends on the target sheet which is influenced by
many environmental factors. With the development of
people’s living standard, it seems quite necessary to study
the automatic target-scoring system to make the shooting Figure 1. Automatic target-scoring project of this thesis
game more efficiency. On the one hand, the Automatic The image preprocessing including Median Filter, Image
Target-scoring System can achieve athletes’ information Binary and Image edge Extraction must be done before
and accurate results. What’s more, it can automatically selecting the datum points.
count and print the firing score to ensure the reliable A. The original target map preprocessing
accurate impact point report[1].
In this paper, a scheme of automatic target-scoring 1) Median Filter
system is presented, which is based on digital image Noise reduces the tartet image’s quality, adding noise
processing and recognition technology. This system can image shown in Figure 2(a).To meet the requirements of the
realize the function of automatic target-scoring and data system, we choose the method of median filter[3]. The
management (statistics, record, analysis)etc., by Target median filter is popular because of its noise reduction
image Rectification, Bullet-spot’s extraction, Bullet-spot’s without blurring properties. It is proved effective on noise-
Recognition and Scoring. rejecting, shown in Figure 2(b).
2) Image Binary
II. TARGET IMAGE RECTIFICATION Image Binary is an important foundation of the image
Nowadays, the images collected with an optical lens processing. To do this, it converts the input image to
always exist the problem of geometric distortion because of grayscale format. And then converts this grayscale image to
the three-dimensional relative position between the camera binary by thresholding. It is much better than grey image.
and the objects, lens distortion and other factors. During What’s more, the image binary algorithms have a fast
target detection based on image analysis and pattern operation speed, and the results are remarkable. The image
matching we need to correct the geometric distortion of binary is shown in Figure 2(c).
image to achieve effective digital image. 3) Image edge Extraction
We present a geometric calibration method for lens The aim is to extract the black plate, so the vague ring
camera by applying polynomial warping and bilinear lines facilitate the black plate extraction. The threshold value
interpolation, and discuss the selection pattern of control of adaptive threshold is choosed automatically, realizing
as I, with 1's where the function finds edges in I and 0's min A ε x = ¦ ( xk −¦¦ aij uk i vkj ) 2 (4)
k =1 i =0 j = 0
elsewhere. Extract characters with Roberts edge detection. L n n −i
We can find the datum point easily in the picture shown in min B ε y = ¦ ( yk −¦¦ bij uk i vkj ) 2
k =1 i =0 j =0
Figure 2.
In the case, we have A = {aij } 䯸 B = {bij } . So that we
i, j i, j
can solve equations with undetermined coefficients a ,b.
Get the coordinate (x,y) of the corrected image by
transform each of the coordinate of distorted image. If the
coordinates fall precisely on the coordinates of distorted
image, then take the gray value of the point (u, v) as the
value of point (x, y); If the coordinates land on the ring line,
we need to interpolation for gray values; else we can use the
closest pixel instead .
The image after geometric rectification is shown in
Figure 2(f).
III. BULLET-SPOT’S EXTRACTION
350
background and new holes. Using subtraction method also characteristics of the image[5]. Therefore, moment invariants
reduces the times of target changing. When recognizing the matching method combined with Euclidean distance are used
new bullet holes, it is no need to repeat identifying the old in bullet-spot’s recognition.
bullet holes. The following target subtracts the former target Moment function is used in the recognition of bullet
and at the same time, obtaining the same gray of dark holes. The algorithm of the 7 center of the moment
background, shown in Figure 3(d). invariants is shown as follow.
A defective bullet hole, a binary image, is shown in We define f(x,y) as two-dimensional discrete image
Figure 3(e). Template matching method locates the functions, that the moment of (p+q) order is given by.
defective bullet hole. We use an algorithm which combines m pq = ¦¦ x p y q f ( x, y ) (5)
the simple statistic method with Roberts edge detection to x y
extract characters from the complex background with noises Then the corresponding center of the moment invariant
and uneven gray levels, also adopts mathematical is given by
morphology to filter the noises of binary image, shown in u pq = ¦¦ ( x − x0 ) p ( y − y0 ) q f ( x, y ) (6)
Figure 3(f). x y
Where
m10 m
x0 = , y0 = 01 (7)
m00 m00
In the two-dimensional image, x0 represents the center
of gravity in the horizontal direction, y0 represents the
center of gravity in the vertical direction. As the moment
invariant is stable in recognition rate and in rotation, the
center moment of each older can be normalized with the
center moment of zero-older which can be obtained by the
following formula.
u pq
η pq = r
u00 ˄8˅
( p + q + 2)
r= , p + q = 2,3,"
2
The following formula can be used to calculate the
center moment.
φ1 = η 20 + η02
Figure 3. The flow chart of Bullet-spot’s extraction (9)
φ2 = (η 20 − η 02 ) 2 + 4η112
IV. BULLET-SPOT’S RECOGNITION AND SCORING φ3 = (η30 − 3η12 ) 2 + (3η12 − η03 ) 2
Image recognition is the final stage of the Automatic Image of moment invariants are obtained by Papoulis
Target-Scoring System. It contains bullet-spot’s recognition uniqueness theorem. For the shape of bullet holes is simple,
and scoring which is the most important. Bullet-spot’s the anterior three moment invariants can represent primary
Recognition mainly adopts Euclidian distance features, so the paper only chooses the anterior three ones as
distinguishable standard and Moment invariants method. In bullet holes’ features.
order to scoring, it first to obtain bull’s-eye and wreath Ediclidean distance is adapted to calculate the distance
line’s radius which are obtained in Bullet-spot’s extraction, between samples and the formula is shown as follow.
then to establishes corresponding region of each point ring n
351
may be on the ring or between rings or outside the ring, so
the position of the innermost point should be firstly judged.
Therefore, the algorithm of bullet-spot’s recognition is
as follow.
a) If we extract zero region after region labeling, judge
the result as undershoot.
b) If we extract 1 region after region labeling, then
calculate the center of the region as the coordinate of the
bullet hole.
c) If we extract more than 1region after region labeling,
calculate the three moment invariants of each region, take
the shortest Euclidean distance as the bullet hole region, then
calculate the center of this region as the coordinate of the
bullet hole..
B. Bullet-spot’s Scoring Fig.4 The simulation interface of automatic target-scoring system.
To realize bullet-spot’s scoring, we mainly by comparing
the center of the bullet-spot and the background template and VI. CONCLUSION
compute the distance between the points and the bull’s eye, This paper is devoted to the research on automatic
which are the target rings. We will get exactly the same scoring system for shooting games, which is one of the
image as the background template if the bullet hole is outside applications of digital image processing. The paper focuses
the region of the background, else the white area in the on studying the Geometric Rectification and filtering to
background template will be the bullet hole region. reduce the interference from noise. The main method
Secondly, the results of the previous step which will be includes Median Filter, Image Binary, Image Subtraction,
performed exclusive or operation with the background etc.. We adopted cubic multinomial rectification technology
template. If the bullet hole is in the target area, the resulting which not only can correct optical lens’s distortion but also
image is completely black, else a white area of bullet hole has good rectification results for perspective and incline
will be got in the image. distortion. Among with the immense progress in the science
Finally, you will know whether the bullet hole is in the and technology of computer, the technology of image
target by judging the color of the image. If you get black processing is extending the applicable field of it. Because of
image, you miss the target, else calculate the distance the low cost and easy operation, this system can overcome
between the center coordinates of the bullet hole and the the shortcomings of extant targeting systems and can be
bull’s eye, then get the bullet-spot’s scoring according to the used widely.
radius of each ring.
REFERENCES
V. EXPERIMENT
[1] Chunlei Cui, “The research of Image Recognition Technologies used
This article presents the experimental interface of using in Military Automatic Target-Scoring System”, master thesis of
MATLAB to realize the automatic target-scoring system Dalian Maritime University, 2004.2
which is shown in Figure 4 using the above flow to process [2] Juyang Weng, Paul Cohen㧘and Marc Hernion,“ Camera calibration
pictures. First input the image data into computer memory, with distortion models and accuracy evaluation”IEEE,
TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE
then a clear image of higher signal-to-noise ratio will be INTELLIGENCE,VOL 14, NO.10,OCTOBER 1992.965-980
obtained through the stages of preprocessing of images
[3] DONZALO R.ARCE.Theoretical Analysis of The Max/Median
including Median Filter, Image Binary, Image Edge Filter.IEEE-TRANS;ASSP-36㧘N0.5㧘P826㧘1988.
Extration, Geometry Rectification and Image Subtraction. [4] Shizhong Liao, Peihuan Gao, Yiwang Su, “ A Geometric
Next, find the location of the bullet-spot via pattern Rectification Method for Lens Camera”,Journal of Imagee and
matching. And then match the image of bullet-spot with the Graphics,Vol.5(A),No.7,July 2000.
standard template, the results of shooting will be shown in [5] Xiangpei Qin, Image Processing and interface Programming Using
the target images. The system succeed in scoring it MATLAB, Electronic Industry Press. 2009.3.
automatically with the comparatively high accuracy of 90%. [6] Liru Yuan, “The Bullet-spot’s Identifying of Militaru Automatic
The obtained shooting results of the automatic target- Target-scoring System Based On Image processing”,master thesis of
Chongqing University,2006.4.
scoring system could satisfy the match’s demands. When
bullet holes are overlapped, template matching operator [7] Haifeng Chen, “Study of Automatic Scoring System for Shooting
Sports Based on Image Processing”, master thesis of Nanjing
corrects and mends defective bullet holes. The system can University,2005.3:
still exactly and automatically compute the score. [8] Zhihua Wei, Sijin Xin, “Design of an Automatic Target Record
System”,Journal of WUT,Vol 27,No.2, Apr 2005.
[9] Min Yao, “Digital Image Processing”, Mechanical industry
press.2006.
352