Genetic Fourier Descriptor for the Detection of Rotational Symmetry

Similar documents
Detecting Multiple Symmetries with Extended SIFT

ATI Material Do Not Duplicate ATI Material. www. ATIcourses.com. www. ATIcourses.com

Towards Automatic Recognition of Fonts using Genetic Approach

Genetic Algorithms. Kang Zheng Karl Schober

APPLICATION OF RADON TRANSFORM IN CT IMAGE MATCHING Yufang Cai, Kuan Shen, Jue Wang ICT Research Center of Chongqing University, Chongqing, P.R.

The k-means Algorithm and Genetic Algorithm

Heuristic Optimisation

An Application of Genetic Algorithm for Auto-body Panel Die-design Case Library Based on Grid

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

2D Image Transforms Computer Vision (Kris Kitani) Carnegie Mellon University

Object Recognition using Particle Swarm Optimization on Fourier Descriptors

A Genetic Algorithm for Mid-Air Target Interception

The Binary Genetic Algorithm. Universidad de los Andes-CODENSA

Expanding gait identification methods from straight to curved trajectories

Coordinate transformations. 5554: Packet 8 1

Genetic Algorithms for Vision and Pattern Recognition

DETERMINING MAXIMUM/MINIMUM VALUES FOR TWO- DIMENTIONAL MATHMATICLE FUNCTIONS USING RANDOM CREOSSOVER TECHNIQUES

Graphics and Interaction Transformation geometry and homogeneous coordinates

Preprocessing of Stream Data using Attribute Selection based on Survival of the Fittest

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

Using Genetic Algorithms for Model-Based Object Recognition

Image Reconstruction Using Rational Ball Interpolant and Genetic Algorithm

Tolerance Synthesis by Constraint Propagation

Graphical Approach to Solve the Transcendental Equations Salim Akhtar 1 Ms. Manisha Dawra 2

Genetic Algorithm based Fractal Image Compression

THE DECISION OF THE OPTIMAL PARAMETERS IN MARKOV RANDOM FIELDS OF IMAGES BY GENETIC ALGORITHM

Adaptive Crossover in Genetic Algorithms Using Statistics Mechanism

A Comparative Study of Linear Encoding in Genetic Programming

Genetic Algorithm for Finding Shortest Path in a Network

The movement of the dimmer firefly i towards the brighter firefly j in terms of the dimmer one s updated location is determined by the following equat

Detecting mirror-symmetry of a volumetric shape from its single 2D image

CS 231A Computer Vision (Winter 2014) Problem Set 3

Illumination-Robust Face Recognition based on Gabor Feature Face Intrinsic Identity PCA Model

Department of Electrical Engineering, Keio University Hiyoshi Kouhoku-ku Yokohama 223, Japan

Subpixel Corner Detection Using Spatial Moment 1)

2D and 3D Transformations AUI Course Denbigh Starkey

Suppose you have a problem You don t know how to solve it What can you do? Can you use a computer to somehow find a solution for you?

Robust Watermark Algorithm using Genetic Algorithm

Affine-invariant shape matching and recognition under partial occlusion

Introduction to Evolutionary Computation

GENERALIZING THE HOUGH TRANSFORM TO DETECT ARBITRARY SHAPES. D. H. Ballard Pattern Recognition Vol. 13 No

Review: Final Exam CPSC Artificial Intelligence Michael M. Richter

Generic Fourier Descriptor for Shape-based Image Retrieval

On Resolving Ambiguities in Arbitrary-Shape extraction by the Hough Transform

CLASSIFICATION OF BOUNDARY AND REGION SHAPES USING HU-MOMENT INVARIANTS

Extracting Axially Symmetric Geometry From Limited 3D Range Data

Basic Algorithms for Digital Image Analysis: a course

Distance and Angles Effect in Hough Transform for line detection

Automatic Visual Inspection of Bump in Flip Chip using Edge Detection with Genetic Algorithm

Genetic Algorithm Based Template Optimization for a Vision System: Obstacle Detection

Hardware Neuronale Netzwerke - Lernen durch künstliche Evolution (?)

Neural Network Weight Selection Using Genetic Algorithms

OBJECT RECOGNITION USING PARTICLE SWARM OPTIMIZATION AND GENETIC ALGORITHM

Introduction to Genetic Algorithms

Impact Crater Detection on Mars Digital Elevation and Image Model

Image retrieval based on region shape similarity

Research on Applications of Data Mining in Electronic Commerce. Xiuping YANG 1, a

Edge linking. Two types of approaches. This process needs to be able to bridge gaps in detected edges due to the reason mentioned above

A Review on Fractional Delay FIR Digital Filters Design and Optimization Techniques

Evolutionary form design: the application of genetic algorithmic techniques to computer-aided product design

Time Complexity Analysis of the Genetic Algorithm Clustering Method

Hybrid of Genetic Algorithm and Continuous Ant Colony Optimization for Optimum Solution

Application of Geometry Rectification to Deformed Characters Recognition Liqun Wang1, a * and Honghui Fan2

Lecture 17: Recursive Ray Tracing. Where is the way where light dwelleth? Job 38:19

Math 7 Elementary Linear Algebra PLOTS and ROTATIONS

Visual Tracking (1) Tracking of Feature Points and Planar Rigid Objects

Parametric and Polar Curves

FEATURE GENERATION USING GENETIC PROGRAMMING BASED ON FISHER CRITERION

HOUGH TRANSFORM FOR INTERIOR ORIENTATION IN DIGITAL PHOTOGRAMMETRY

BP Neural Network Based On Genetic Algorithm Applied In Text Classification

Image warping , , Computational Photography Fall 2017, Lecture 10

Network Routing Protocol using Genetic Algorithms

Gray Level Image Encryption

extracted from the input image. Moreover, the pixels on the edges (edge pixels) are extracted by using the Canny method [4] (Fig. 2).

A Real Coded Genetic Algorithm for Data Partitioning and Scheduling in Networks with Arbitrary Processor Release Time

A Genetic Algorithm for Graph Matching using Graph Node Characteristics 1 2

form are graphed in Cartesian coordinates, and are graphed in Cartesian coordinates.

CS 223B Computer Vision Problem Set 3

Machine Evolution. Machine Evolution. Let s look at. Machine Evolution. Machine Evolution. Machine Evolution. Machine Evolution

Accurate Image Registration from Local Phase Information

Segmentation and Tracking of Partial Planar Templates

Feature Selection. Ardy Goshtasby Wright State University and Image Fusion Systems Research

EVOLVING LEGO. Exploring the impact of alternative encodings on the performance of evolutionary algorithms. 1. Introduction

Genetic-PSO Fuzzy Data Mining With Divide and Conquer Strategy

1D camera geometry and Its application to circular motion estimation. Creative Commons: Attribution 3.0 Hong Kong License

The Genetic Algorithm for finding the maxima of single-variable functions

Traffic Signs Recognition using HP and HOG Descriptors Combined to MLP and SVM Classifiers

Evolutionary Computation Algorithms for Cryptanalysis: A Study

Segmentation of Noisy Binary Images Containing Circular and Elliptical Objects using Genetic Algorithms

GENETIC ALGORITHM with Hands-On exercise

Density-Sensitive Evolutionary Clustering

Coarse-to-Fine Search Technique to Detect Circles in Images

Lecture 8: Fitting. Tuesday, Sept 25

Image Enhancement Techniques for Fingerprint Identification

Malaysian License Plate Recognition Artificial Neural Networks and Evolu Computation. The original publication is availabl

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6

Ultrasonic Robot Eye for Shape Recognition Employing a Genetic Algorithm

Grid Scheduling Strategy using GA (GSSGA)

HOUGH TRANSFORM. Plan for today. Introduction to HT. An image with linear structures. INF 4300 Digital Image Analysis

Structural Optimizations of a 12/8 Switched Reluctance Motor using a Genetic Algorithm

Transcription:

1 Genetic Fourier Descriptor for the Detection of Rotational Symmetry Raymond K. K. Yip Department of Information and Applied Technology, Hong Kong Institute of Education 10 Lo Ping Road, Tai Po, New Territories, Hong Kong Abstract - In this paper, a Genetic Fourier Descriptors is proposed to detect rotational symmetry. Rotational symmetry is one of the important features for image decoding and object recognition in computer vision systems. In the Genetic Fourier algorithm, the Fourier descriptors are chromosomes and fitting function of the GA. The Genetic Fourier method has the following advantages. (1) It can handle partially occurred contour and opened contour, (2) It can handle complex point pattern and (3) It is highly parallel and its efficient can be greatly improved if parallel processors are used. Experimental results show that it can handle complex symmetry figures, these symmetry figures may be formed by separated curves, points or partially occurred or partially missed (open contour). Key-Words: Genetic Algorithm, Fourier Descriptors, Rotational Symmetry Detection 1 Introduction In this paper, a Genetic Fourier Descriptors is proposed to detect rotational symmetry. Rotational symmetry is one of the important features for image decoding and object recognition in computer vision systems Rotational symmetry is one of the important features for image decoding and object recognition in computer vision systems. It plays an important role in pattern recognition, especially when extracting a planar symmetric figure from a single image without the need of models. In the recent years, many methods have been proposed for the detection of rotational symmetry. However most of the methods are difficult to handle complex symmetry figure, e.g. figure 5a. Some methods, lie Hough transform [8] can handle these situation but they only extract the symmetric points and the problem of finding the connected contour (connectivity problem) and equation (parameterization problem) of the figure still left open. Fourier descriptors, FDs [1-4] are one of the powerful tools for object recognition and symmetry detection. However, it cannot handle partially occurred symmetry figure, symmetric point pattern and open contour situation. On the other hand, Genetic Algorithms (GAs) are powerful tools in the areas of computer vision. It employs the evolution process of natural selection to find (search) the optimal solution of a desired problem. GA wors with a population of chromosomes, each represents a potential solution and fitness value to a desired problem. Chromosomes with the higher fitness have a better chance to progress their information to the next generation through the chromosomes crossover and gene mutation process. If a GA is designed well, the population will finally converge to an optimal solution. In this paper, Fourier descriptors are selected as the fitting function and its coefficients become the chromosomes of the GA. Experimental results show that it can handle complex symmetry figures, these symmetry figures may be formed by separated curves, points or partially occurred or partially missed (open contour). 2 Elliptic Fourier descriptors Fourier descriptors (FD's) are useful in describing and recognizing the shapes of 2-D closed contours. The basic idea is, a closed curve may be represented by a periodic function of a continuous parameter t, or alternatively, by a set of Fourier coefficients of this function. In general, there exists infinitude ways to parameterize a 2-D closed curve to form the FD's. The reason for the infinitude is that t is an

2 X ( = cos θ Y ( sinθ sinθ A cosθ 0 0 cosφ B sinφ sinφ cos t cosφ sint (2) Figure 1. The rotation an starting phase of an ellipse of the th harmonic. implicit (hidden) parameter. Therefore, there exists an infinite number of ways to distribute its values along the curve. The most common (familiar) way is based on the arc length l (t = l/l where L is the perimeter of the contour) parameterization. As the calculation of the parameter t using arc length (constant speed assumption) is simple, this parameterization method is widely used by many researchers. The basic idea of elliptic Fourier descriptors is as follows. A closed curve may be represented by a periodic function of a continuous parameter t, eqt. (1) X ( a0 = + a b cos t (1) Y ( c0 = 1 c d sin t where t = 0, 1, 2,, (X(,Y() is the coordinates of the contour in the image planes and [a b c d ] are the th coefficients of the FD. In using Fourier descriptors for pattern recognition, a curve representation must be normalized with respect to a desired transformation domain so that the FD' s are invariant with respect to the specified domain. Invariant of FDs for object recognition and symmetry detection under 2D and 3D (affine) transform have been widely investigated. However, using arc length parameterization FD for object recognition and symmetry detection has the following limitation. (1) Image points must be connected (e.g. chain coded) to form a closed contour before FDs can be applied, this leads to great difficulties when the point patterns are complex (e.g. figure 5a) (2) It cannot handle partially occurred object (3) It cannot handle opened contour (e.g. figure 8b) This paper proposes a new strategy using a Genetic-Fourier (GFD) algorithm for the extraction of rotational symmetry. The proposed method has the following advantages.

3 (1) It eliminates the arc length parameterization method so it can handle partially occurred contour and opened contour (2) It eliminates the image points connection process so it can handle complex point pattern. (3) It is highly parallel and its efficient can be greatly improved if parallel processors are used. 2.1 FD Invariants of Rotational Symmetry Elliptic Fourier descriptors invariants of symmetry have been explored in [4]. Recall properties 1 and 2, for a N order rotational symmetry, the following properties hold. Property 1: For the coefficients of the th harmonic, if nn s + 1 and nn s 1, then a = b = c = d = 0. where n = 1, 2, 3, Property 2: For the coefficients of the th harmonic, if nn s 1, then A = - B if nn s + 1, then A = B i.e. a = d, b = c and = 0 where n = 1, 2, 3, From equation (1), (2), and property 1, it can be obtained that X( + = x0 + A 0 cos( t φ) Y( y0 = 1 0 B sin ( t+ φ ) where x 0 = a 0, y 0 = c 0, From properties 2, it can be obtained that X( + = x + 0 1 0 cos(( nn 1) t φnn 1) AnN 1 Y( y = 0 1 sin (( 1) + ) 0 n 1 nn t φnn 1 1 0 cos(( nn+ 1) t+ φnn + 1) + AnN + 1 0 1 sin (( nn+ 1) t+ φnn+ 1) Hence, the detection of a N order rotational symmetry can be considered as finding the best fit for the FD parameters (x 0, y 0, A 1, φ 1, A N-1, φ N-1, A N+1, φ N+1,, A nn-1, φ nn-1,, A nn+1, φ nn+1, ). 3 Genetic Algorithm (GA) GA is a searching (optimization) method using procedures that are inspired by natural evolution, it involves population (chromosomes), mating, crossover, mutation, natural selection (fitness measure) and generation (iteration). The population consists of fixed- or variable-length chromosomes (potential solutions). The chromosomes are formed by real value or binary format to represent the parameters of the problem domain. Figure 2 shows that there are p chromosomes in the population. In each update, 1) b chromosomes are selected and remain in the population, usually they are the first b best fit (FM) chromosomes. 2) m chromosomes are selected for mutation and produces m new chromosomes (self reproduction), 3) c p pairs chromosomes are selected for crossover to produces n new chromosomes, these n new chromosomes with further go to the mutation process. In general, n is either equal to c p (2 to 1) or 2 c p (2 to 2). 4) All the new chromosomes produced in the mutation process will then perform the fitness measure and q new chromosomes will be used to update the population. In general q = m + n. Figure 2. The general flow of genetic algorithm. In general, the number of population, p can be fixed or varies. If p is fixed, then q = p b, n = p b m. The selection mechanism taes many forms, yet it always ensures that the best fit chromosomes have a higher probability to be selected for reproduction.

4 3.1 Defining genetic chromosomes, parameters and operators Coding chromosomes: The chromosome of the GFD is formed by the parameters of the FDs, i.e. (x 0, y 0, A 1, φ 1, A 2, φ 2,, A, φ,, A 20, φ 20 ) with the maximum harmonic being 20. Here, real value is used. Selection: selection operator is used to select good chromosomes for the progress of their inherited nowledge to the next generation. In the proposed algorithm, the selection probability is proportional to the square root of its fitness value. Direct selection: It is used to maintain those chromosomes that have the highest chance to success. In this paper, the top l chromosomes that have the best fit will be maintained in the population. Crossover: Crossover operator is used to produce new chromosomes through combining partial structure of two father individuals. Figure below shows the crossover mechanism of the proposed algorithm. Mutation: In order to prevent the loss of diversity in the evolutionary process, a mutation process is designed and operates to represent a sudden change in a small area of a chromosome. The mutation process will directly obtain a small among (m) of chromosomes from the population. In this paper, the top m chromosomes that have the best fit will be selected. The probability P m of the individual FD coefficients undergo the Figure 3. Figure indicates the crossover process. mutation process is set to 0.5 with the following process is used for the selected FD coefficients A = A + 32 (Rnd 0.5) φ = φ + 32 (Rnd 0.5) where Rnd is a random generator between 0 to 0.999. Fitness function: In this paper, the following fitness function is used. FDenergy FD fitness = FDenergy 5FD FD energy is an energy function represents a distances measure between the FD and the image points. FD pts is the number of image pixels passed by the FD and FD energy /5FD pts is a completeness measure. Consider figure 4, figure 4a shows a 7x7 image with (1) 7 image points and (2) a FD curve passing through it. Figure 4b shows the energy measure of the figure 4a, the position of an image point will have the highest value 5 and the value will gradually decrease as the distance is away from the image points. For figure 4, pts 2 1 2 1 2 1 Fig.4a. (1) Image points and (2) the FD curve.passing through the image.

5 5 2.8 1.5 0 0 0 0 2.8 5 2.8 1.5 0 0 0 1.5 2.8 5 2.8 1.5 0 0 0 1.5 2.8 5 2.8 1.5 0 0 0 1.5 2.8 5 2.8 1.5 0 0 0 1.5 2.8 5 2.8 0 0 0 0 1.5 2.8 5 Fig. 4b. Energy measures of figure 4a. FD energy = 1.5+2.8+5+2.8+1.5 = 13.6, FD pts = 7. Therefore, FD fitness = 13.6 x 13.6/(5 x 7) = 5.28. The factor FD energy /5FD pts is a completeness measure of the corresponding FD. Parameter and Initial setting: In this paper, the following parameters are used. P = 100, b = 10, m = 10, c p = 80 and n = 80. N is fixed at the beginning of the iteration and the initial values of x 0, y 0, A and φ are set using the following processes. 250 500 generation Fig. 5c. The fitness value of the best chromosome. N x 0 y 0 A 1 φ 1 A 4 φ 4 A 6 φ 6 5 128 128 30 0 o 30 16 o -12-36 o Table 1. FD coefficients obtained in experiment 1. A 1 is randomly selected between 0 to 128 (for a 256 x 256 image) φ 1 is randomly selected between 0 to 360º is randomly selected between 0 to 360º x 0 = I i (x) + A 1 cos φ 1 y 0 = I i (y) + A 1 sin φ 1 A = 0 > 0 φ = 0 > 0 Fig. 6a. Input image of experiment 2. Fig. 6b. Solution 1 (local maximum). where I i is an image point randomly selected from the input image and I i (x) and I i (y) are the corresponding x and y co-ordinators of the i image. 4 Experimental Results In order to verify the proposed algorithm, a lot of experiments have been performed. This section presents some of these experiments. Fig. 5a. Input image of experiment 1. Fig. 5b. Results of experiment 1. Fig. 6c. Solution 2 (local maximum). Fig. 6d. Solution 3 (global maximum). 250 generation Fig. 6e. The fitness value of the best chromosome of 6d.

6 Solution N x 0 y 0 A 1 φ 1 A 4 φ 4 A 6 φ 6 A 4 φ 4 A 6 φ 6 1 5 140 83 28 0 o 0 0 o 0 0 o 0 0 o 0 0 o 2 5 140 110 0 o 8 180 o 9 0 o 0 0 o 0 0 o 3 5 140 111 31 0 o 5 0 o 20 180 o 1 180 o 1 0 o Table 3. FD coefficients obtained in experiment 2. Figure 7a. Input image of experiment 3 Fig. 7b Solution 1 Fig. 7c Solution 2 250 500 generation Fig. 7d. The fitness value of the best chromosome of 7c. N x 0 y 0 A 1 φ 1 A 7 φ 7 A 9 φ 9 8 0 o 128 128 44 0 o 16 0 o -7 0 o Table 3. FD coefficients of figure 7b. N x 0 y 0 A 1 φ 1 A 7 φ 7 A 9 φ 9 8 0 o 128 128 40 0 o 21 0 o -13 0 o Table 4. FD coefficients obtained of figure 7c. Experiment 1 and 2 show that the algorithm performed well for complex symmetry figure. Experiment 3 shows that the algorithm can handle symmetry formed by separate curves and different solutions (interpretation) may be obtained. Experiment 4 shows that the GFD can handle symmetry figure that has missing portion. 5 Conclusion In this paper, a Genetic-Fourier algorithm is proposed for the detection of rotational symmetry. The proposed method has the following advantages. (1) It can handle partially occurred contour and opened contour (2) It can handle complex point pattern. (3) It is highly parallel and its efficient can be greatly improved if parallel processors are used. References [1] C.T. Zhan and R.Z. Rosies, Fourier descriptors for plane closed curves, IEEE Trans. Comput., vol. C-21, no. 3, pp.269-281, Mar. 1972. [2] G H Granlund, Fourier preprocessing for hand print character recognition, IEEE Trans. Comput., vol. C-21, pp.195-201, Feb. 1972. [3] C.S. Lin and C. L. Hwang, New forms of shape invariants from elliptic Fourier descriptors, Pattern Recognition, Vol. 20, no. 5, pp. 535-545, 1987. [4] KK Yip and K S Tam, Application of Elliptic Fourier Descriptors to Symmetry Detection Under Parallel Projection, IEEE Trans. on PAMI, vol. 16, No. 3, March 1994. [5] L Zhang, W Xu and C Chang, Genetic algorithm for affine point pattern matching, Pattern Recognition Letters 24, pp. 9-19, 2003. [6] K P Han, K W Song, E Y Chung, S J Cho, Y H Ha, Stereo matching using genetic algorithm with adaptive chromosomes, Pattern Recognition 34, pp. 1729-1740, 2001 [7] S Y Yuen and C H Ma, Genetic algorithm with competitive image labelling and least square, Pattern Recognition 33, pp. 1949-1966, 1999. [8] R.K.K. Yip, A Hough Transform Technique for the Detection of Parallel Projected Rotational Symmetry, Pattern Recognition Letters, Vol. 20, pp.991 1004, 1999.