Regionbased Corner Detection by Radial Projection
 Author: Lee Daeho, Lee SeungGwan, Choi Jin Hyuk
 Organization: Lee Daeho; Lee SeungGwan; Choi Jin Hyuk
 Publish: Current Optics and Photonics Volume 15, Issue2, p152~154, 25 June 2011

ABSTRACT
We propose a novel method which detects convex and concave corners using radial projection. The sum of two neighbors’ differences at the local maxima or minima of the radial projection is compared with the angle threshold for detecting corners. In addition, the use of oriented bounding box trees and partial circles makes it possible to detect the corners of complex shapes. The experimental results show that the proposed method can separately detect the convex and concave corners, and that this method is scale invariant.

KEYWORD
Radial projection , Corner detection , Shape analysis , Feature extraction , (100.5010) Pattern recognition , (330.1880) Detection

I. INTRODUCTION
Pattern recognition is widely used for various applications in the fields of medicine, industry, meteorology, and more[13]. Shape analysis methods play an important role in pattern recognition, matching, registration, and analysis [4].Shape analysis can be classified into two methods: boundary based or internal (i.e., region) based approaches. The boundary based methods generally use the scalespace filters [5, 6] or Fourier transforms [7, 8] of the boundary, while the internal based methods use the moment [5, 9] and projection [1012] of the object regions.
The methods which use the Fourier transforms and moments are used to classify the type of object, while the methods which use the scalespace filters and projections are used to find the dominant points and boundary locations. The shapes which can be located by the projections are flat or rectangular boundaries because those functions are generally based on the Cartesian coordinates. However, the projection functions based on polar coordinates may be used for other applications. The ring projection function, which is defined as the accumulated values of the image along a specific radius, can be used as a rotationinvariant feature [11]. The radial projection function, which is defined as the accumulated values of the image at a specific angle, can be used as a feature for topographical shapes [12].
In this paper, we propose a novel method which can separately detect convex and concave corners by using radial projection. This method is scale invariant.
II. RADIAL PROJECTION FOR CORNER DETECTION
The radial projection function based on polar coordinates is defined, as follows:
where
P _{rad}(θ ) is the radially accumulated value at a specific angle,θ . To calculate the radial projection function, the origin of the shape is first estimated to be the centroid of the shape.The radial projection is the function of the angles, so that the function can be represented by the discrete angle variables,as follows:where
P _{rad}(θ _{i}) should be expressed within the range [0, 2π ),so that the difference between the angles isTo detect the corners from the computed
P _{rad}(θ _{ i}), the local maximum and minimum positions are assigned as the convex and concave corner directions, respectively, and then the corner angles are computed by the sum of the two neighbor differences (α _{1} andα _{2}), as shown in Fig. 1,where the one angle is calculated bywhere
c isand where
k is the neighborhood angle size for detecting corner angles.As shown in Fig. 1, if the corner angle (
α _{1}+α _{2}) ofθ _{i} is concave, then it is less thanπ . Otherwise, the corner angle (β _{1}+β _{2}) is concave, and it equals 2π (α _{1}+α _{2}).III. RADIAL PROJECTION OF COMPLEX SHAPES
It is impossible to analyze a complex shape with only one origin. Thus, we separate the shape into partial regions using tightfitting oriented bounding box trees (OBB Trees) [13].The partial shapes then become slabsided shapes bounded by rectangles, and the corners of each shape are detected using the elliptic mod el.
Ellipses each have a major axis and a minor axis. The direction of the major axis of the approximated is calculated as the average angle from the centroid by
where (
c _{x} ,c _{y} ) denotes the original origin,S denotes aslabsided shape, and 
π / 2 π ≤φ <π / 2 .After detecting
φ , we shift the original origin in the direction ofn =(cosφ , sinφ ). The shifted length (d ) may be determined using the local axis lengths (a _{i} andb _{i} ) of the ellipse, as follows:where
a _{i}; andb _{i } denote the transverse diameter and the conjugate diameter of the half region with respect to the shifted direction, respectively, andκ denotes a scaling factor for a partial circle. By using the shifted origin, the radial projection is calculated within a limited angle range (τ _{θ} ),as shown in Fig. 2, whereτ _{θ} ; may be determined byd .The origin may be shifted in the directions parallel to and perpendicular to n, so that four partial circles are generated,as shown in Fig. 2.
IV. EXPERIMENTAL RESULTS
To evaluate the proposed method, we tested it using six images, as shown in Fig. 3. The test was performed for
N =180 andk =10, and corners with angles less than 2π /3 were detected. In Fig. 3, the origins are marked with red crosses, the convex corners are marked with large dots, the concave corners are marked with small dots.For the six shapes tested, we calculate the MSE (mean square error), which is defined by
where
and
are the calculated angle and the ground truth angle of the ith corner (in radians), respectively, and
n is the number of corners detected. The MSEs of the six shapes tested are very low, as shown in Table 1.To evaluate the performance with regard to the scale invariant measure, we tested the images with a zoom of 2x and 4x with the same parameters (
N andk ) and then calculated the standard deviations of the detected corners.The average of the standard deviationof the tested
shapes is very low, as shown in Table 2. Previous methods,however, were very sensitive to scale parameters, so that the corners could not be reliably detected.
To evaluate the performance for complex shapes, we tested our method for fingertip detection. The original images were binarized using color differences. The partial circles were generated using
κ =1.7, the radial projections were calculated forN =180 andk =5 within Γ_{θ} < 3π/ 2, and corners with angles less than 2π / 3 were detected. The results are shown in Fig. 4, where the bright (gray) crosses indicate the original origins, and the dark (red) crosses indicate the shifted origins. The proposed method detected the convex and concave corners separately, so that the fingers and the finger valleys were correctly detected.V. CONCLUSIONS
This paper proposes a novel method which detects convex and concave corners by using radial projection. The corner angle is calculated using the sum of two neighbor differences at the local maxima or minima of the radial projection function. The use of oriented bounding box trees and partial circles enables the detection of the corners of complex shapes. Moreover, this method can detect the same corners of scaled and rotated images with the same parameters.Therefore, the proposed method may play a strong role in corner detection, image matching, and other applications.

[FIG. 1.] Radial projection for corner detection.

[FIG. 2.] Radial projection of slabsided shapes.

[FIG. 3.] Corner detection results.

[TABLE 1.] MSE of the tested six shapes

[TABLE 2.] of the tested six shapes

[FIG. 4.] Fingertip and finger valley detection results.