Professional Documents
Culture Documents
A Prior Knowledge-Based Algorithm For Tongue Body Segmentation
A Prior Knowledge-Based Algorithm For Tongue Body Segmentation
Abstract—Because tongue image segmentation is an important In this paper, firstly, we apply some features of tongue
procedure in the tongue characterization, its accuracy affects image in HIS color space to extract the edge of tongue base,
the following automatic process directly. In this paper, we and then get the edge of tongue with tongue prior knowledge
propose a new tongue segmentation approach based on the [4]
. Finally, we apply the result to the Snake model for tongue
combination a feature of tongue shape and the Snakes contour.
Correction model. We firstly get a rough tongue contour
through using the features of tongue image in HIS color model,
then correct a preliminary tongue contour with the feature of II. THE SEGMENTATION ALGORITHM FOR TONGUE BODY
tongue shape, and apply this result to the Snake model for final
result. The experimental results indicate that the approach is A. The Existent Problems and Solutions
efficiently segmented tongue image. In computer vision field, image segmentation is still a
problem. If only uses the image information to segment
Keywords-Tongue segmentation; Tongue shape feature; image precisely is very difficult, even is impossible. The
Snake model; accuracy requirement of tongue segmentation is very high, if
the segmentation results are not accurate, it will directly
I. INTRODUCTION affect the next diagnosis [5]. In order to segment accurately
Tongue diagnosis is one of the most widely used image, we combine usually prior knowledge with image
diagnostic methods in Traditional Chinese Medicine (TCM). information. In the last of the tongue body segmentation, the
Through the observation of tongue, the doctors can result only is one profile, so it’s adapted to segment tongue
understand the body's physiological and pathological body.
changes and get a patient physical condition. Traditional But a number of experiments show that only utilizing the
tongue diagnosis mainly depends on the doctor's experience Snake method can't get the ideal tongue body outline.
and knowledge, this can't cause the diagnosis of subjectivity Tongues differ in thousands ways, tongue body color is rich
and difficult to repeatability, and can't scientifically and and above shapes. When we will design the segmentation
objective retained experience of tongue diagnosis. Therefore, algorithm, according to the characteristics of the tongue
the characterization researches on TCM tongue diagnosis is body, using prior knowledge to remove feasible part of
very important to establish a tongue features quantitative man’s face, and then find the approximate location and edge
system based on digital image processing. In recent years, of tongue body, finally get accurate edge in Snake method.
the Traditional Chinese Medicine [1] Tongue Characterization
Research has attracted universal attention. The existing After a lot of experimental research and analysis, we do
research result has shown image analysis technology in the the following improvement based on the Snake Model:
characterization of tongue diagnosis is feasible, and also 1) No matter in color or in texture, the lips and tongue
made some achievements [2]. But there are also some defects,
body have similarities, so they are difficult to segment in
need to make further study on the new method in order to
obtain the better diagnosis. Snake model. For this, we will switch tongue image to HSI
color space, and research the features of dark region
In order to further analyze tongue image, the important between the upper lip and the base of tongue in S, determine
premise is to accurately segment tongue from original tongue the edge of the base of tongue. Use the edge of the base of
image. Due to these tongue images are complex, including tongue to determine the initial tongue body edge with
lips, face and teeth, however, the traditional low-level image
tongue body H component properties.
processing techniques, such as regional growth, general edge
detection, fail to segment the tongue out of its surroundings. 2) The initial value of Snake model have a great
Kass proposed parametric active contour model in 1988, also influence on segmentation result, such as when the initial
namely the Snakes model [3]. It detect image edge by values are far away from the tongue body edge, the
minimize the energy function of spline near the region of algorithm will not converge to a tongue body edge through
interest, and combine feature extraction with feature Iteration. Therefore, in this paper, we use the shape of the
description.
The lower edge of the dark area is the edge of the tongue
base, thus we can get the accurate edge information of the
tongue base through the dark area, shown in Fig.4.
647
inaccurate. In order to correct the contour, it is necessary to 2) Judge whether the value of diff greater than threshold.
introduce a shape correction model. If diff < threshold, go step 4, else go step 3.
3) Calculate new diff again according to euqation (3),
and repeat step 2,until diff<threshold so far.
OP ′ = OQ + diff (4)
648
given by the minimum total energy of the snake, which is the III. RESULTS
result of the equation. In order to verify the accuracy of the algorithm and the
n robustness, in MATLAB development platform to the
E Snake = ¦ ( E int ernal (v( s )) + E external (v ( s ))) (5) description of the algorithm and the tongue image of
s =1 different as the segmentation. At the same time, we compare
the performance of the approach in this paper with that of
Where v(s) =[x(s), y(s)], s=0, …, N-1 is the curve of Snakes for a large number of tongue images. In most cases, a
control point of the snake, s is the parameter of the curve, tongue is reflection symmetrical, but a deflective tongue will
and N is the number of control points. not appear so in an image and must be corrected before being
Einternal(v(s)) is the internal energy of the snake. The processed [2]. In this paper, we don’t consider how to solve
internal energy is given by the membrane energy sum, which this problem. But the experiment result show the approach in
expresses the stretching of the snake, and by the planar this paper is better to correct the tongue contour for regular
deformation energy, that expresses the bending of the snake: tongue shape.
2 2 The approach in this paper has succeeded in conditions of
Eint ernal (v( S )) = α ( s ) v ' ( s ) + β ( s ) v( s ) '' (6) regular tongue shape, but the accuracy of the approach is not
high. So it is necessary to further research the shape
v’(s) and v’’(s) indicate the first and second derivatives, correction model.
respectively. The elasticity parameters¢and £ control the
smoothness of the curve.
IV. CONCLUSION
Eexternal(v(s)) is the external energy of the snake. It
In this paper, we develop a new tongue contour approach,
consists of image energy function or other external
for automated tongue edge extraction in TCM. Based on the
constraints produced the energy function of composition.
combination of both tongue shape and Snake model, our
E external (v( s )) = γ ( s ) Eimage (v( s )) + E constrain (v( s )) proposed approach can overcome irregular change of tongue
contour problems since a prior knowledge of tongue shape is
(7) introduced into the shape repair formulation to repair the
The external energy pushes the snake towards the Preliminary edge of tongue body. Experimental results on
features of the image. real tongue images demonstrate that our new approach
achieved good image segmentation effect.
Through the above steps got the contour of the tongue
body area point. Fig. 5 shows the segmentation results of
REFERENCES
applying improved algorithm to segment the tongue image.
[1] Mingyingy Wang et al., “An Improved Snakes Model for Tongue
Image Segmentation”, Measurement and control technology,
vol.30, pp.32-35, 2011
[2] Bo Huang, Jinsong Wu, David Zhang, “Tongue shape
classification by geometric features”, Information Sciences 180
(2010) 312-324.
[3] Kass M, Witkin A, Terzopoulos D. “Snakes:active contour
models”, International Journal of Computer Vision, 1988,
1(4):321-331.
[4] Qingyan Wang et al., “A Knowledge-Based Arithmetic for
Automatic Tongue Segmentation”, Acta Electronica Sinica, vol.32,
pp.489-491, Mar. 2004.
[5] B. Pang, D. Zhang, K. Wang, Tongue image analysis for
appendicitis diagnosis, Information Science 175 (2005) 160̢176.
Figure 8. the final segmentation result [6] Bo. Pang,Kuanquan Wang, “On Automated Tongue Image
Segmen-tation in Chinese Medicine,” ICPR 2002, vol.1, pp. 616-
619, August 2002.
[7] Dasheng Yang et.al, “Effective Algorithm on Automatic
Segmentation of Body of Tongue”, Application Research of
Computesr,vol.2, pp.170-172, 2007.
649