Optics and Photonics Journal
Vol.07 No.08(2017), Article ID:78284,7 pages
10.4236/opj.2017.78B009

An Improved Algorithm for Pseduo-Jacobi-Fourier Moments

Guleng Amu

Department of Physics, Inner Mongolia Agricultural University, Huhhot, China

Received: May 27, 2017; Accepted: August 7, 2017; Published: August 10, 2017

ABSTRACT

Image moments have been used in many research fields of the engineering. However, the related computation of invariant moments mostly adopted the polar coordinate system, which not only increase the computational load, but also cause large quantized error. To solve this problem, an improved algorithm to compute Pseudo-Jacobi-Fourier moments in the Cartesian coordinate system is proposed in this paper. The experimental results show that the reconstructed image with improved PJFM’s has more advantages than polar coordinate system, such as more information, fewer moments, less time consuming. And the recognition rate of the microscopic images of 8 helminth eggs was also higher than in polar coordinate system.

Keywords:

Invariant Moments, Cartesian Coordinate System, Image Reconstruction

1. Introduction

Image moments, because of their powerful description of the image content, have been used in many research fields of the engineering, such as image pro- cessing [1] [2], pattern recognition and machine vision [3]. The first introduction of image moments for classification purposes was performed by Hu [4], and then developed into other families, such as Legendre [5], Zernike [6], Pseudo- Zernike [7], Fourier-Mellin [8], Tchebichef [9], Krawtchouk [10], Pseudo-Jaco- bi-Fourier[11] moment. These moments can be used as image descriptors after an appropriate normalization procedure in order to achieve translation, scale and rotation invariance. However, the related computation for these moments mostly adopted the polar coordinate system, which not only increase the computational load, but also cause large quantized error [12] [13]. To solve this problem, an improved algorithm to compute Pseudo-Jacobi-Fourier moments in the Cartesian coordinate system is proposed in this paper. This improved algorithm is applied to classify the microscopic images of helminth eggs by using Euclidean distance classifier [14], and the recognition rate is 92.2%.

2. Improved Algorithm for Pseduo-Jacobi-Fourier Moments

2.1. Definition of Pseduo-Jacobi-Fourier Moments

Bhatia and Wolf have shown [15] that a polynomial that is invariant in form for any rotation of axes about the origin must be of the form

(1)

where is a radial polynomial in of degree. We now defined a new set of orthogonal moments, Pseudo-Jacobi -Fourier Moments (PJFM’s), based on Jacobi polynomials. In the polar coordinates, radial Jacobi polynomials are expressed as

(2)

where the function is orthogonal over the range [0,1]

(3)

where is Kronecker symbol, and

(4)

(5)

The radial polynomials of OFMM’s, CHM’s and ZM’s belong to Jacobi polynomials with and respectively. When , radial Jacobi polynomials become, so Pseudo-Jacobi polynomials are defined as

(6)

(7)

So a new set of orthogonal polynomial function, which consists of radial function and angular function, is obtained as

(8)

obviously, the is orthogonal over the range [0, 1].

(9)

According to the orthogonal theory, the image function can be written as an infinite series expansion in terms of

(10)

where

(11)

then is defined as Pseudo-Jacobi-Fourier Moments (PJFM’s), and is the maximum size of the objects that can be encountered in a particular application.

Actually, most of the images are defined in the Cartesian coordinate system. When calculating PJFM’s, the images need to be converted to polar coordinates, so may cause some problems: 1) Quantization error is introduced into the calculation of PJFM’s, which increases calculating amount and additional noise; 2) In polar coordinates, the discrete points near from the origin are more than those in the Cartesian coordinate system, which lead to information redundancy; 3) Far from the origin, the scattered points in the polar coordinate system are less than those in the Cartesian coordinate system, which lead to information loss. Therefore, an improved algorithm for computing PJFM’s Cartesian coordinate system is developed in this paper.

2.2. Improved Algorithm for Pseduo-Jacobi-Fourier Moments

When calculating PJFM’s in the Cartesian coordinates, the image should first be normalized into the unit circle, and the integral region of Equation (11) as shown in Figure 1.

Substitute Equation (6) into Equation (8)

(12)

where

Figure 1. The integral region of PJFM.

and (13)

Substitute Equation (13) and into Equation (12)

(14)

(15)

Figure 1 shows that s1 - s2 is not the part of the image and there is no pixel over it, Equation (15) can be written as

(16)

So Equation (16) is the general formula for calculating PJFM’s in Cartesian coordinate system.

2.3. Image Reconstruction Using Improved Algorithm

Image reconstruction can be used as an effective means to evaluate the quality of feature extraction. The more PJFM’s used to reconstruct images, the closer to the original image. An image of capital E, shown in Figure 2, is reconstructed by Equation (17).

(17)

The four corners of the reconstructed image are black and some pixels have been lost in the Figure 3. But the black area of the four corners of the reconstructed image is shrinking with the increase of N and M, and the edge information is well preserved in the Figure 4. Figure 4 also shows that E is differentiated well when N = M = 6 instead of N = M = 10 as in Figure 3.

As for computation time, reconstruction time in the Cartesian coordinate system is much shorter than the polar coordinates system, shown in Table 1.

Figure 2. The original image of E.

Table 1. Reconstruction time comparison.

Figure 3. Reconstructed images in polar coordinates.

Figure 4. Reconstructed images in Cartesian coordinates.

2.4. Image Recognition Using Improved Algorithm

In order to test the feature extraction performance of the improved PJFM’s, a recognition experiment was done by using microscopic image of 8 kinds of helminth eggs, such as Fasciola hepatica (a), moniezia (b), Hairy ail nematode (c), paramphistomum (d), Nematodirus (e), Dicrocoelium chinensis (f), coccidium (g), Pancreatic Eurytrema (h).

The training sets consist of 20 different versions from each kind of helminth eggs, including 160 images. Testing sets consist of 307 untrained images from different version of 8 kinds of helminth eggs. Figure 5 gives a multi-distorted image of the microscopic image of some helminth eggs in a testing set.

Choosing N = M = 8, the image feature extracted respectively by using Equation (16) in Cartesian coordinate system and Equation (11) in polar coordinate system, then the target objects were recognized by the minimum average distance rules . Euclidean distances are calculated by Equation (18), and the result is shown in Table 2.

Figure 5. Part of the image of the experimental samples: (a) Fasciola hepatica; (b) moniezia; (c) Hairy ail nematode; (d) paramphistomum; (e) Nematodirus; (f) Dicrocoelium chinensis; (g) coccidium; (h) Pancreatic Eurytrema.

Table 2. Recognition result of parasite egg microscopic images

(18)

where is the PJFM of the testing object, and is the PJFM of the reference object of class i.

As can be seen from Table 2, the total recognition rate of the microscopic images of 8 helminth eggs was 92.2% with improved PJFM’s, 7.2% higher than PJFM’s in polar coordinate system.

3. Conclusion

An improved algorithm to compute Pseudo-Jacobi-Fourier moments in the Cartesian coordinate system is proposed in this paper. The experimental results show that the reconstructed image with improved PJFM’s has more advantages than polar coordinate system, such as more information, fewer moments, less time consuming. And the recognition rate of the microscopic images of 8 helminth eggs was also higher than in polar coordinate system.

Acknowledgements

This work was supported by the National Natural Sciences Foundation of China [grant numbers 60967001and 31060337].

Cite this paper

Amu, G. (2017) An Improved Algorithm for Pseduo-Jacobi- Fourier Moments. Optics and Photonics Journal, 7, 68-74. https://doi.org/10.4236/opj.2017.78B009

References

  1. 1. Lafta, H.L. and Abbas S.S. (2013) Effectiveness of Extended Invariant Moments in Fingerprint Analysis. Asian Journal of Computer and Information System, 1, 78-89.

  2. 2. Mohammand, A. and Qusay, A.M. (2017) Efficient Image Recognition Technique Using Invariant Moments and Principle Component Analysis. Journal of Data Analysis and Information Pro-cessing, 5, 1-10. https://doi.org/10.4236/jdaip.2017.51001

  3. 3. Papakostas, G.A., Karras, D.A., Mertzios, B.G. and Boutalis, Y.S. (2005) An Efficient Feature Extraction Methodology for Computer Vision Applications Using Wavelet Compressed Zernike Mo-ments. International Journal on Graphics, Vision and Image Processing, Wavelets and Their Applications, SI1, 5-15.

  4. 4. Hu, M.K. (1962) Visual Pattern Recognition by Moment Invariants. IRE Transactions on Information Theory, IT-8, 179-187.

  5. 5. Mukundan, R. and Ramakrishnan, K.R. (1998) Moment Functions in Image Analysis. World Scientific Publisher, Singapore. https://doi.org/10.1142/3838

  6. 6. Papakostas, G.A., Boutalis, Y.S., Karras, D.A. and Mertzios, B.G. (2007) A New Class of Zernike Moments for Computer Vision Applications. Information Sciences, 177, 2802-2819. https://doi.org/10.1016/j.ins.2007.01.010

  7. 7. Almoosa, N.I., Bae, S.H. and Juang, B.H. (2008) Toward Robust Moment Invariants for Image Registration. Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP 2008), 1009-1012. https://doi.org/10.1109/ICASSP.2008.4517783

  8. 8. Papakostas, G.A., Boutalis, Y.S., Karras, D.A. and Mertzios, B.G. (2007) Fast Numerically Stable Computation of Orthogonal Fourier-Mellin Moments. IET Computer Vision, 1, 11-16. https://doi.org/10.1049/iet-cvi:20060130

  9. 9. Ping, Z.L., Wu, R.G. and Sheng, Y.L. (2002) Describing Image with Che-byshev- Fourier Moments. J. Opt. Soc. Am., 19, 1748-1754. https://doi.org/10.1364/JOSAA.19.001748

  10. 10. Yap, P.T., Paramesran, R. and Ong, S.H. (2003) Image Analysis by Krawtchouk Moments. IEEE Transactions on Image Processing, 12, 1367-1377. https://doi.org/10.1109/TIP.2003.818019

  11. 11. Amu, G.L. and Hasi, S.R. (2004) Invariant Image Analysis by Pseu-do-Jacobi-Fourier Moments. Applied Optics, 43, 2093-2101. https://doi.org/10.1364/AO.43.002093

  12. 12. Bayraktar, B., Berna, T. and Robinson, J.P. (2007) A Numerical Recipe for Accurate Image Reconstruction from Discrete Orthogonal Mo-ments. Pattern Recognition, 40, 659-669. https://doi.org/10.1016/j.patcog.2006.03.009

  13. 13. Broumandnia, A. and Shanbehzadeh, J. (2007) Fast Zernike Wavelet Moments for Farsicharacter Recognition. Image and Vision Computing, 25, 717-726. https://doi.org/10.1016/j.imavis.2006.05.014

  14. 14. Juday, R.D. (1993) Optimal Realizable Filters and the Minimum Eu-clidean Distance Principle. Applied Optics, 32, 5100-5111. https://doi.org/10.1364/AO.32.005100

  15. 15. Bhatia, A.B. and Wolf, E. (1954) On the Circular Polynomials of Zernike and Related Orthogonal Sets. Pro. Cambridge Philos. Soc., 50, 40-48. https://doi.org/10.1017/S0305004100029066