Elsevier

Pattern Recognition

Volume 41, Issue 7, July 2008, Pages 2369-2380
Pattern Recognition

Fast computation of geometric moments using a symmetric kernel

https://doi.org/10.1016/j.patcog.2007.12.012Get rights and content

Abstract

This paper presents a novel set of geometric moments with symmetric kernel (SGM) obtained using an appropriate transformation of image coordinates. By using this image transformation, the computational complexity of geometric moments (GM) is reduced significantly through the embedded symmetry and separability properties. In addition, it minimizes the numerical instability problem that occurs in high order GM computation. The novelty of the method proposed in this paper lies in the transformation of GM kernel from interval [0,] to interval [-1,1]. The transformed GM monomials are symmetry at the origin of principal Cartesian coordinate axes and hence possess symmetrical property. The computational complexity of SGM is reduced significantly from order O(N4) using the original form of computation to order O(N3) for the proposed symmetry-separable approach. Experimental results show that the percentage of reduction in computation time of the proposed SGM over the original GM is very significant at about 75.0% and 50.0% for square and non-square images, respectively. Furthermore, the invariant properties of translation, scaling and rotation in Hu's moment invariants are maintained. The advantages of applying SGM over GM in Zernike moments computation in terms of efficient representation and computation have been shown through experimental results.

Introduction

In the past few decades, moment functions have received considerable attention in the field of image processing since the first application of geometric moments (or regular moments) in invariant visual pattern recognition introduced by Hu [1]. Moment functions of a two-dimensional digital image can be used to transform the image into a feature space where the transformed coefficients represent certain shape characteristics of the image. Fundamentally, moment functions can be categorized into two main groups, depending on the domain of definition of the polynomial subspace. The polynomial subspace of the first group of moment functions is defined over the Cartesian space while for the second group of moment functions, it is defined over the polar coordinate space.

Geometric (GM), Legendre (LM), Tchebichef (TM) and Krawtchouk (KM) moments are subsumed to the first group of moment functions while complex, rotational, Zernike and pseudo-Zernike moments are subsumed to the second group. Mathematically, the polar coordinates can be represented in terms of Cartesian coordinates. Hence, all the aforementioned polynomials can be defined within the same space (Cartesian space) after a proper coordinate transformation. Since different sets of polynomials up to the same order are defined in the same subspace, any complete set of moments up to a given order can be obtained from any other set of moments up to same order, at least in theory [2]. Hence, most of the moment functions can be computed exactly or approximately from the simple GM.

The typical applications of GM in image analysis include pattern recognition or classification [3], [4], scene matching [5], edge detection [6], orientation determination [7], attitude estimation [8], texture analysis [9], shape analysis [10], image registration [11], watermarking [12], face expression recognition [13] and content-based image retrieval [14]. Other moment functions defined in Cartesian coordinate system such as LM [15], TM [16], and KM [17] moments have recently attracted the attention of researchers in image analysis. The readers can refer to Ref. [18] for details on properties of various moment functions and some of their applications in image analysis.

Notwithstanding the usefulness of GM in image analysis, the applications of GM in real time are limited by its computational complexity especially when the image resolution and/or moment order is large. This motivates researchers to explore fast and efficient computational methods to minimize the complexity and hence increase their effectiveness and feasibility in real time applications. Efficient algorithms which were proposed to enhance the computational speed include the delta method [19], integration method [20], corner point method [21], Green's Theorem-based method [22], Discrete Radon Transform-based method [23] and accumulation moments-based method [24]. Due to algorithmic constraints, these methods are not optimal and only feasible in limited conditions. Approximation error also occurs during the GM computation that is performed using representation in the domain other than monomials.

The constraints which limit the feasibility of the aforementioned algorithms are listed below:

  • delta and integration methods are only applicable for binary images [19], [20];

  • corner points method is only suitable for binary images [19] with simple object shape [21];

  • discrete Green's theorem based method is only suitable for binary images [22];

  • discrete Radon transform based method requires the projection of data through cyclic operations which are other than monomials domain [23];

  • accumulation moments based method could cause an underlying numerical ill-conditioning to appear in the inverse transform of high order GM due to roundoff error [24].

The efficient computation of orthogonal moment functions such as LM, TM, and KM is achieved normally using the recurrence relationships between their successive polynomials [16], [17], [18]. The respective moment polynomials are computed recursively using a two-term recurrence formula where the initial condition, zeroth and first order polynomials are computed directly. This recursive computation together with the separability property successfully reduces the computational complexity of the moment functions from order O(N4) to order O(2N3). Moment functions with its polynomials defined within interval [-1,1] possess symmetrical property as shown in radial moment functions [25], [26]. Due to similar definition in their individual polynomials, LM, TM, and KM also possess the symmetrical property and their computational complexity is further reduced to order O(N3). This significant reduction in computation complexity from order O(N4) to order O(N3) increases the usability of the moment functions in real world applications. The combination of recursive computation with separability and symmetrical properties to reduce the computational complexity in LM, TM, KM, and radial moments prompted the authors to apply a similar approach for the fast computation of GM.

In this paper, a novel set of GM is proposed after an appropriate coordinate transformation in order to achieve the fast computation of GM. In this transformation, GM monomials are projected within the interval of [-1,1] instead of [0,]. This enables the monomials to possess the symmetrical property as Legendre polynomials. The added advantage is the minimization of the numerical instability problem during the computation of high order GM from large resolution images. This novel set of GM is denoted as geometric moments with symmetric kernel (SGM). By including the symmetrical property in current recursive computation method, the computational complexity of SGM is reduced significantly from order O(N4) to order O(N3) which is similar in the LM, TM, KM, and radial moments computation.

The organization of this paper is as follows. The basic theories of moment functions including the GM and LM are provided in Section 2. Section 3 presents the polynomials properties which allow the reduction in computational complexity of moment functions. Section 4 provides the details on the symmetrical property of LM and how it can be used to derive a novel set of GM denoted as SGM. Some properties of the proposed SGM are also discussed in this section. The fast computation of the proposed SGM using the symmetrical and separability properties through matrix implementation is described in Section 5. The definition of Zernike moments (ZM) and the application of SGM in exact ZM computation are presented in Section 6. In Section 7, the performances of the proposed SGM and the original GM in terms of computational speed are compared through experiments. The advantages of using the proposed SGM over GM in exact ZM computation are validated through experiments. Finally, Section 8 concludes this study.

Section snippets

Moment functions

The general definition of moment functions as the correlation measure between two functions is presented in this section. Then, the brief definition and properties of GM and LM are provided.

Reduction in computation using polynomial properties

In traditional approach, the computation of moment polynomials is normally performed recursively where the moment polynomial of order p is computed from a series of successive polynomials whose order are smaller than p.

GM monomials is a set of polynomials which possesses the separability property that is the two-dimensional {xpyq} set can be separated into two individual one-dimensional monomial sets. The computation of current monomials gp(x) and gq(y) using their respective previous monomials

Derivation of GM with symmetric kernel (SGM)

Before proceeding further, the general characteristics of symmetrical property which is possessed by the polynomials defined within [-1,1] have to be explored. For an easier understanding, Legendre polynomials are used as an example to reveal these characteristics. This symmetrical property is then extended to the GM monomials to achieve fast computation through similar image transformation. GM computed from these symmetric monomials are denoted as geometric moments with symmetric kernel (SGM)

SGM computation using matrix implementation

Polynomial computation contributes most of the computational complexity in a moment function as shown in 2 Moment functions, 3 Reduction in computation using polynomial properties. In as much as we can minimize or simplify the polynomials computation process, we can accelerate the speed of moment computation significantly. The fast computation of the proposed SGM is implemented through the recurrence formula together with the separability and symmetrical properties. The effectiveness and the

Computation of Zernike moments based on SGM

This section presents the definition and some basic concepts of ZM before it can be computed efficiently based on the proposed SGM.

Experimental study

The performance of the proposed SGM in computation reduction is validated through comparative assessment experiments using images, of various contents. The attributes of two set of images, i.e., synthetic and real are used in the experiments. The images are varied in content and resolution to illustrate the effectiveness and feasibility of the proposed SGM over the original GM in terms of computation speed in various scenarios. All the experiments in this section are performed using a personal

Conclusions

This paper proposes a novel set of GM which is referred as SGM due to its symmetric monomials. The set of symmetric monomials is achieved after an appropriate image transformation. This transformation enables the derivation of the symmetric monomials which can minimize the computational complexity of GM. Through this transformation, the GM monomials are transformed from internal [0,] to interval [-1,1] and are symmetrical at the origin of principal Cartesian axes. The computational complexity

Acknowledgment

The authors would like to thank the anonymous reviewers for their valuable and insightful comments for making this manuscript more readable.

About the AuthorCHONG-YAW WEE received his B.Eng., M.Eng.Sc., and Ph.D. degrees in electrical engineering from University of Malaya, Malaysia, in 2001, 2003, and 2007, respectively. He is currently a post-doctoral research fellow in Centre for Signal and Image Processing (CISIP), Department of Electrical Engineering at University of Malaya. His research interests lie in the field of image and signal analysis, statistical pattern recognition, and evolutionary computation. His present work

References (38)

  • C.-Y. Wee et al.

    On the computational aspects of Zernike moments

    Image Vision Comput.

    (2007)
  • M.K. Hu

    Visual pattern recognition by moment invariants

    IRE Trans. Inf. Theory IT-8

    (1962)
  • C.H. Teh et al.

    On image analysis by the methods of moments

    IEEE Trans. Pattern Anal. Mach. Intell.

    (1988)
  • Y.S. Abu-Mostafa et al.

    Recognitive aspects of moment invariants

    IEEE Trans. Pattern Anal. Mach. Intell.

    (1984)
  • A.P. Reeves, M.L. Akey, O.R. Mitchell, A moment based two-dimensional edge detector, in: Proceedings of IEEE Conference...
  • S.-H. Ho et al.

    3-d moment forms: their construction and application to object identification and positioning

    IEEE Trans. Pattern Anal. Mach. Intell.

    (1989)
  • L. Yang, F. Albregtsen, T. Lønnestad, P. Grøttum, J.-G. Iversen, J.S. Røtnes, J.-A. Røttingen, Measuring shape and...
  • A.P. Reeves, A. Rostampour, Shape analysis of segmented object using moments, in: Proceedings of the PRIP Conference,...
  • J. Flusser et al.

    A moment-based approach to registration of images with affine geometric distortion

    IEEE Trans. Geosci. Remote Sensing

    (1994)
  • Cited by (17)

    • Scalable image quality assessment with 2D mel-cepstrum and machine learning approach

      2012, Pattern Recognition
      Citation Excerpt :

      The publicly available LibSVM software package [78] was used to implement the SVR algorithm. In addition, the results for another recent metric presented in [20] are also reported; however, since the code is not publicly available, we derive the results directly from their paper [20] for only the databases, which had been used in [20]; also, since two metrics were proposed using geometric moments [37] with one using Tchebichef moments and the other using Krawtchouk moments, we only compare with the best results among the two. Since we have used all publicly accessible softwares and databases in this paper as far as possible, the results reported in this paper can be reproduced for any future research.

    • Image analysis by GaussianHermite moments

      2011, Signal Processing
      Citation Excerpt :

      The exact computation proposed by Hosny provides an efficient and accurate computation of geometric and Legendre moments [15,16]. The recent studies show that the computational complexity and the time of geometric moment can be significantly reduced using a symmetric kernel [17]. Meanwhile, the computational inconvenience of continuous moments impels the researches in the discrete orthogonal moments, which are proposed and gradually introduced to image analysis.

    • Fast computation of exact Zernike moments using cascaded digital filters

      2011, Information Sciences
      Citation Excerpt :

      Liao and Pawlak [32] have proposed a method based on the extended version of Simpson’s rules. Wee et al. [43,44] have solved this issue by mathematically integrating the Zernike polynomials over the corresponding intervals of the image pixels. Hosny [18] improved the computation speed of exact Zernike moments by using fast computation of exact geometric moments [17].

    • Unsupervised image retrieval framework based on rule base system

      2011, Expert Systems with Applications
      Citation Excerpt :

      As far as image retrieval is concerned, a good shape descriptor should capture characteristic shape features in a concise manner, which renders itself to fast searching and browsing (Wong, Shih, & Liu, 2007). The most common shape descriptors are chain codes (Chia, Wang, Chen, & Chen, 2003), wavelet descriptors (WD) (Murtagh & Starck, 2008), curvature scale space (CSS) (Alajlan, Kamel, & Freeman, 2006), and moment (Wee, Paramesran, & Mukundan, 2008). Clustering technique is used as an image mining to improve the efficiency and effectiveness of the retrieval process.

    View all citing articles on Scopus

    About the AuthorCHONG-YAW WEE received his B.Eng., M.Eng.Sc., and Ph.D. degrees in electrical engineering from University of Malaya, Malaysia, in 2001, 2003, and 2007, respectively. He is currently a post-doctoral research fellow in Centre for Signal and Image Processing (CISIP), Department of Electrical Engineering at University of Malaya. His research interests lie in the field of image and signal analysis, statistical pattern recognition, and evolutionary computation. His present work includes developing novel degraded image recognition system, image/video quality assessment system using the orthogonal moment functions and statistical pattern recognition concepts.

    About the AuthorRAVEENDRAN PARAMESRAN received his B.Sc. and M.Sc. degrees in electrical engineering from South Dakota State University, Brookings, and the Dr. Eng. degree from University of Tokushima, Japan, in 1984, 1985, and 1994, respectively. He is currently a professor and Head of Department in the Department of Electrical Engineering at University of Malaya. His research interests include image and signal analysis, video coding and brain–computer-interface (BCI) technology. He is a senior member of IEEE. He is also a reviewer for IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI), Systems, Man, and Cybernetics (SMC) Part B: Cybernetics, Image Processing and also several other international journals.

    About the Author—R. MUKUNDAN received the Ph.D. degree from the Indian Institute of Science, Bangalore, in 1996, for his research work on “Image Based Attitude and Position Estimation Using Moment Functions.” He was a senior scientist with the Control Systems Group, Indian Space Research Organization (ISRO) Satellite Centre, Bangalore, from 1982 to 1997. Later, he joined the Faculty of Information Science and Technology at Multimedia University (MMU), Melaka, Malaysia, where he held the positions of Associate Professor and the Chairman of the Centre for Mathematical Modeling and Computational Science until December 2001. Currently, he is a senior lecturer in the Department of Computer Science, University of Canterbury, Christchurch, New Zealand. His primary research interests are in the areas of moment-based feature descriptors and their applications in computer vision, computer graphics algorithms, and image-based rendering.

    View full text