Boundary Segmentation Detection of Corner Inflection and Transition Points
Boundary Segmentation Detection of Corner Inflection and Transition Points
13
0-8186-5875494$3.00Q 1994 IEEE
3 Calculation of curvature and normal e Calculate Ej to every neighbor point Pj(i - IC 5
vector +
j 5 i I C ) which is used for straight line approxi-
mation.
3.1 Directional boundaries
There are two types of directional boundaries which 0 Let Le; be the maximum error value of Ej (i - IC 5
surround the region on the right, one is the peripheral j5 i + IC).
boundary the other is the hole boundary as shown in
figure 1. After this, the order of the edge points on How to calculate Cei is as follows.
the boundary for tracking depends on this direction.
Let 0 be the center of the approximated circle
CP..
Let Ij be the intersection of Cpi and the line
of region 2 which passes through both points Pj and 0.
U region 1
14
of the normal vector and the curvature is calculated curvature as nearly equal to zero at the points where
again by using the line or circle equation on Pa. When the change of the curvature is small (see position 150
the point Pf is selected, this renewal process should t o 500 in the same figure). And zero-crossing of this
be applied to every point between P, and Pf in the
same way.
normal vector using circle equation
-
ec
smoothed curvature can be used only for detection of
the corner points.
Figure 5 shows the curvatures on the boundary in
figure 7(a) by our new method, temporal (with thick
normal vector using line equation
\ - 1
e1 line) and after renewal (with dotted line).
Figure 6 shows the direction of the normal vectors
on the boundary in the same figure, before (with thick
line) and after renewal (with dotted line).
0'
(b):Error near the noisy point Dlrretlon of the Normnl
Ask
Figure 3: Renewal of curvature and normal vec- r
c..mol-
tor 3w
250
1M
130
1.w
030
OW
-050
I.M
-110
-2.M
-
.2so
-9M
I I I I I
OM 2" 4" Mow b"
15
noisy points. So it is necessary to select only the Figure 7 shows the result of segmentation of bound-
point where the line section and the curve section aries. 0 , A and x denote the corner point, the in-
smoothly join from these candidates. If both sections flection point and the transition point respectively.
have enough length (longer than the threshold K ) and 4.4 Noisy point
the point is not the corner point, it can be detected as
the transition point. Points where the error value for line or circle ap-
proximation becomes big should be treated as noisy
4.3 Inflection point point. However, when the default value K is longer
than the length of the line or curve section that should
Inflection points are detected at the point where be segmented, error value for approximation becomes
sign of the curvature changes from positive(negative) big also at each point in such section and desirable
t o negative(positive). The point where two curve sec- result cannot be obtained.
tions, one is convex and the other is concave, smoothly
join can be detected as the inflection point. However, 5 Adaptation of threshold value K
there can be the case that there exists short line sec- The bigger the threshold value K becomes, the ro-
tion which is shorter than the threshold K between buster to noise the calculation accuracy of the cur-
these two curves. In such case, the midpoint of this vature and the normal vector is. So the initial value
short line section becomes the inflection point. of K should be set as big as possible to the length of
the section that should be segmented. However, big K
cannot be applied to the short section. When K is big,
poits in short section are treated as noisy point. It is
necessary only for such points to change the thresh-
old value K smaller (ex. half size) and calculate the
curvature and the normal vector again using renewed
K to detect the feature points. While there is noisy
point and K is bigger than the minimum length of
the section that should be segmented, this process is
repeated.
Figure 8 shows the result of segmentation of bound-
aries (the size of image is 512x512). U , A, x and 0
denote corner point, inflection point, transition point
and noisy point respectively. Figure 8(a) shows the
result of detection of these feature points using 20 as
the threshold value K without adaptaion. Figure 8(b)
shows the one with adaptation of K using 20 as the
initial value and changed to 5 (i of the initial value)
automatically so that the hopeful result is acquired.
6 Conclusions
In this paper, we presented a method that can de-
tect the various feature points (corner, inflection and
transition) and calculate the curvature and the normal
vector at each point on the boundary with good accu-
racy, and does not require the delicate threshold values
for segmentation and interactive renewal of them. It
takes only five threshold values, the first one is for the
difference of the angle at the corner point(defau1t value
is fixed to 0.3 radian), the second one is the thresh-
old of radius for the linearity(defau1t value is fixed to
256), the third one is the error value for approxima-
tion (default value is fixed to 1 pixel), the fourth one
is the minimum length of the section that should be
segmented and the rest is adaptive K (the initial value
is fixed to 20). These threshold values except K need
no delicate adjastment for input images. In this way,
adaptive boundary segmentation which needs no del-
icate threshold value for segmentation is realized.
This method is very important for many kinds of
higher-level post-processing and may be useful to vi-
(b) sualize many characteristics (types of feature points,
0:Corner point, A:Inflection point, x:Traneition point curvature and direction of normal at each point, etc)
and can be the one connection between machine vision
Figure 7: Result of segmentation and visualization.
16
References
[l] G.G.Medioni , R.Nevatia, “Segment-based stereo
matching,” PTOC.of Image Understanding Work-
shop, pp. 128-136, 1983.
[2] R.B.Fishler, “Model invocation for three dimen-
sional scene Understanding,” PTOC.of lUth In-
ternational Joint Conference on Artificial Intelli-
gence, pp. 805-807, 1987.
[3] F.Tomita , M.Koizumi, “A step toward generic
object recognition,” Proc. of 1 l t h International
Conference on Pattern Recognition, pp. 632-636,
1992.
[4] Rosenfe1d.A. and A.C.KAK, Digital picture pro-
cessing, New York : Academic Press, 1976.
[5] H.Asada M.Brady, “The Curvature Primal
Sketch,” +AMI-8, NO.l pp. 2-13, 1986.
[6] A.P.Witkin, “Scale space filtering,” Proc. of 8th
International Joint Conference on Artificial In-
telligence, pp. 1019-1022, 1983. (a) K=20
[7] A.L.Yuille , T.Poggio, “Scaling theorems for zero
crossings,” PAMI-8, NO.l pp. 15-25, 1986.
[8] J.Babaud , A.P.Witkin , M.Baudin
and R.O.Duda, “Uniqueness of the Gaussian ker-
nel for scale space filtering,” PAMI-8, NO.l pp.
26-33, 1986.
[9] J.Q.Fang , T.S.Huang, “A corner finding algo-
rithm for image analysis and registration,” Proc.
of AAAI Conf., pp. 46-49, 1982.
[lo] 0.A.Zuniga ,R.Haralick, “Corner detection using
the facet model,” Proc. of IEEE CVPR., pp. 30-
37, 1983.
[ll] R.Mehrotra , S.Nichani, “Corner Detection,”
Pattern Recognition, Vo1.23, No.11 pp. 1223-1233,
1990.
[12] C.H.Teh , R.T.Chin, “On the detection of dom-
inant points on digital curves,” PAMI-11, N 0 . 8
pp. 859-872, 1990.
[13] T.Pavlidis, “Algorithms for shape analysis and
waveforms,” PAMI-2, N 0 . 7 pp. 301-312, 1980. (b) K from 20 to 5
0:Corner point, &Inflection point, x:Transition point,
[14] J.L.Dunham, “Optimum uniform piecewise linear @:Noisy point
approximation of planar curves,” PAMI-8, NO.l
pp. 66-75, 1986. Figure 8: Adaptation of K
17