<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2016.415007</article-id><article-id pub-id-type="publisher-id">JCC-72320</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Blur Image Edge to Enhance Zernike Moments for Object Recognition
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Chihying</surname><given-names>Gwo</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Anwen</surname><given-names>Deng</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Information Management, ChienHsin University of Science and Technology, Taoyuan, Chinese Taipei</addr-line></aff><pub-date pub-type="epub"><day>28</day><month>11</month><year>2016</year></pub-date><volume>04</volume><issue>15</issue><fpage>79</fpage><lpage>91</lpage><history><date date-type="received"><day>August</day>	<month>9,</month>	<year>2016</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>November</month>	<year>25,</year>	</date><date date-type="accepted"><day>November</day>	<month>28,</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   
   Zernike moments (ZMs) are a set of orthogonal moments which have been successfully used in the fields of image processing and pa
   ttern recognition. A combination of edge blurring with ZMs computation was introduced. In this study, several kinds of artificial binary stripe images were used to investigate the effects of edge blurring on the absolute mean error of reconstructed image from high-order ZMs. After the blurring process, the reconstruction errors were increased dramatically at edge pixels, but decreased on non-edge pixels. The experimental results demonstrated that 2-pixel blurring approach provided better performance for reducing reconstruction error. Finally, a template matching between two real images was simulated to illustrate the effectiveness of the proposed method. 
  
 
</p></abstract><kwd-group><kwd>Zernike Moments</kwd><kwd> Pattern Recognition</kwd><kwd> High-Order ZMs</kwd><kwd> Template Matching</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Zernike moments have been extensively applied and proven successful in the various fields of pattern recognition due to the orthogonality of Zernike basis polynomials providing minimal redundancy [<xref ref-type="bibr" rid="scirp.72320-ref1">1</xref>]. Moreover, the magnitudes of ZMs are not only rotation invariant but also robust to noise. These properties allow ZMs to act the role of shape descriptors suitably [<xref ref-type="bibr" rid="scirp.72320-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.72320-ref3">3</xref>] such as image retrieval [<xref ref-type="bibr" rid="scirp.72320-ref4">4</xref>]. In palm-print authentication application, computed ZMs serve as a matching utility for each palm-print image [<xref ref-type="bibr" rid="scirp.72320-ref5">5</xref>]. This matching utility uses ZMs’ Euclidean distance of query versus registered sub-images to create a score determining similarities. Used as global features in face recognition, the ZMs are extracted from a face image to reduce the influence of facial expressions, head rotation and image noise [<xref ref-type="bibr" rid="scirp.72320-ref6">6</xref>]. Selecting a maximal ZMs order is crucial for the aforementioned applications due to the fact that the higher maximal order used, the higher recognition rate obtained. Thus, more time is required for data processing.</p><p>Since calculating ZMs has been sufficiently researched, the focus shifts to improving the efficiency for such calculations. Due to multiple factorial and trigonometric functions associated with Zernike basis polynomials, calculating ZMs is a complex and extensive process [<xref ref-type="bibr" rid="scirp.72320-ref7">7</xref>]. As higher-order ZMs are calculated, the computation time increases drastically, and the entire ZMs become unreliable as a result of numerical error accumulation. Hence, computing speed and numerical accuracy attract researchers when computing high-order ZMs as they emerge as two research issues. Different recurrence relation was proposed to compute either a single ZM or a whole set of ZMs for the purpose of improving calculation speed [<xref ref-type="bibr" rid="scirp.72320-ref7">7</xref>]. For numerical accuracy, the computation error of high-order ZMs based on q-recursive method was analyzed [<xref ref-type="bibr" rid="scirp.72320-ref8">8</xref>]. The result shows finite precision error being propagated and accumulated during the algorithm process which leads to ZMs instability. Recently, the proposed method of computing ZMs not only provides a fast recursive computation but also yields accurate values of high-order ZMs [<xref ref-type="bibr" rid="scirp.72320-ref9">9</xref>]. This algorithm is adopted in the paper to calculate ZMs due to these reasons.</p><p>The main purpose of this paper is to explore the effectiveness of image edge blurring before the ZMs are computed; this issue is rarely examined in the literatures. Therefore, an innovative blurring method on edge pixels was created.</p></sec><sec id="s2"><title>2. Zernike Polynomials and Zernike Moments (ZMs)</title><p>Zernike moments are constructed using a set of complex basis polynomials which are a complete orthogonal set defined on the unit disc D. For a complex number <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x2.png" xlink:type="simple"/></inline-formula> (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x3.png" xlink:type="simple"/></inline-formula>are real numbers, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x4.png" xlink:type="simple"/></inline-formula>represent the polar coordinates and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x5.png" xlink:type="simple"/></inline-formula>), the Zernike polynomial is given by</p><disp-formula id="scirp.72320-formula21"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x6.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x7.png" xlink:type="simple"/></inline-formula> is the Zernike radial polynomial, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x8.png" xlink:type="simple"/></inline-formula>is a non-negative integer, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x9.png" xlink:type="simple"/></inline-formula>is an integer satisfying <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x10.png" xlink:type="simple"/></inline-formula> an even number and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x11.png" xlink:type="simple"/></inline-formula>. The radial polynomial <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x12.png" xlink:type="simple"/></inline-formula> can be expressed as</p><disp-formula id="scirp.72320-formula22"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x13.png"  xlink:type="simple"/></disp-formula><p>The Zernike moments <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x14.png" xlink:type="simple"/></inline-formula> of order n with repetition m can be regarded as the inner product of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x15.png" xlink:type="simple"/></inline-formula> with the Zernike polynomials<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x16.png" xlink:type="simple"/></inline-formula>. The Zernike moments <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x17.png" xlink:type="simple"/></inline-formula> are defined as</p><disp-formula id="scirp.72320-formula23"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x18.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x19.png" xlink:type="simple"/></inline-formula> is the complex conjugate of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x19.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x20.png" xlink:type="simple"/></inline-formula> and the area differential 2-form is given by</p><disp-formula id="scirp.72320-formula24"><label>. (4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x21.png"  xlink:type="simple"/></disp-formula><p>Let A denote the image set of size <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x22.png" xlink:type="simple"/></inline-formula> and A(Z) = {(s,t) &#206; A | s, t are integers}. The data of the image pixels can be regarded as in a two-dimensional table Px(s,t) for (s,t) &#206; A(Z) and can be embedded into the unit disc D in the following way. The pixel (s,t) is projected via <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x23.png" xlink:type="simple"/></inline-formula> onto the grid centered at</p><disp-formula id="scirp.72320-formula25"><label>. (5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x24.png"  xlink:type="simple"/></disp-formula><p>This results in the corresponding image function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x25.png" xlink:type="simple"/></inline-formula> over <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x26.png" xlink:type="simple"/></inline-formula> for which<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x27.png" xlink:type="simple"/></inline-formula>. The discrete form of the Zernike moments in Equation (3) is approximated by</p><disp-formula id="scirp.72320-formula26"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x28.png"  xlink:type="simple"/></disp-formula><p>With the Zernike moments of an image<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x29.png" xlink:type="simple"/></inline-formula>, this image can be reconstructed by the following formula.</p><disp-formula id="scirp.72320-formula27"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x30.png"  xlink:type="simple"/></disp-formula><p>Then the reconstructed image for a non-negative integer order M can be expressed as</p><disp-formula id="scirp.72320-formula28"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x31.png"  xlink:type="simple"/></disp-formula><p>In comparison, the difference between these two images can be measured by the mean absolute error (MAE) expressed in Equation (9)</p><disp-formula id="scirp.72320-formula29"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x32.png"  xlink:type="simple"/></disp-formula><p>A stable and fast computation of high-order Zernike moments using a recursive method was proposed in [<xref ref-type="bibr" rid="scirp.72320-ref10">10</xref>]. Such method is applied to calculate Zernike moments in this paper.</p></sec><sec id="s3"><title>3. Reconstruction Error Distribution</title><sec id="s3_1"><title>3.1. Artificial Image for Analysis</title><p>Two pattern types of images <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x33.png" xlink:type="simple"/></inline-formula> are created with the use of Equation (10) and (11)</p><disp-formula id="scirp.72320-formula30"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x34.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.72320-formula31"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x35.png"  xlink:type="simple"/></disp-formula><p>where l = 0 and h = 255. Two testing images of N &#180; N pixels, as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref> (N = 256), are used to demonstrate the error distribution between reconstructed image and original image.</p><p>By using Sobel edge detector, the edges of 3-stripe image can be identified at (84, y), (85, y) (170, y) and (171, y) for all y.</p></sec><sec id="s3_2"><title>3.2. Reconstruction Error Analysis</title><p><xref ref-type="table" rid="table1">Table 1</xref> shows the reconstructed images and the corresponding normalized error image of the 3-stripe image with different maximal orders. The mean and the standard deviation</p><fig-group id="fig1"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Testing images.</title></caption><fig id ="fig1_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x36.png"/></fig><fig id ="fig1_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x37.png"/></fig></fig-group><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> The constructed image and error image with different orders</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Order</th><th align="center" valign="middle" >10</th><th align="center" valign="middle" >50</th><th align="center" valign="middle" >100</th><th align="center" valign="middle" >200</th><th align="center" valign="middle" >300</th></tr></thead><tr><td align="center" valign="middle" >Reconstructed Image</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x38.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x39.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x40.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x41.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x42.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Error Image</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x43.png" xlink:type="simple"/></inline-formula> L: (8.598, 27.520) M: (−20.420, 51.565) R: ( 8.598, 27.520)</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x44.png" xlink:type="simple"/></inline-formula> L: (2.380, 15.399) M: (−4.953, 26.448) R: (2.380, 15.399)</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x45.png" xlink:type="simple"/></inline-formula> L: (1.318, 11.403) M: (−2.300, 17.935) R: (1.318, 11.403)</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x46.png" xlink:type="simple"/></inline-formula> L: (0.776, 8.072) M: (−0.913, 12.028) R: (0.776, 8.072)</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x47.png" xlink:type="simple"/></inline-formula> L: (0.559, 5.811) M: (−0.352, 9.111) R: (0.559, 5.811)</td></tr></tbody></table></table-wrap><p>of the reconstruction error for each stripe are calculated and displayed at the bottom of the second row in the table. L, R and M represent left, right and middle stripe of the image respectively, and thetwo values in a parenthesesrepresent the mean and standard deviation of the corresponding error. These values diminish when the maximal order enlarges. One can observe that the error on edges is more pronounced than other areas at different order in the error image.</p><p>As the maximal order = 300, the reconstruction errors of two type images are collected at y = 128 and illustrated in <xref ref-type="fig" rid="fig2">Figure 2</xref>. From the figure, the value of error increases when the value of x approaches the edge. The same phenomenon occurs for the error on the right edge of the two-stripe image. This phenomenon is the result of the intensity value being 255 for the left stripe on the two-stripe image. That is a kind of white and black boundary. Hence, only the odd number of stripes in an image is used to demonstrate in the rest of this paper.</p><p>In the case of 3-stripe image, the reconstruction errors evaluated at Y = 128 are illustrated with different orders in <xref ref-type="fig" rid="fig3">Figure 3</xref>. The largest errors occurred on edges where the magnitudes of the image gradient are maximum. It shows the same phenomena in all different ZMs orders. It is worth noting that the reconstruction error dwindles</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> A comparison of reconstruction error for 2-stripe and 3-stripe images</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x48.png"/></fig><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> The reconstruction error with different orders for y = 128</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x49.png"/></fig><p>and the oscillation increases in frequency when the error location approximates the edge with increasing maximal order of ZMs.</p><p>This behavior is similar to an approximated square wave which is represented by a summation of orthogonal basis polynomials. The approximation of the function by a finite number of basis polynomials can exhibit overshoot, undershoot and ringing. By using more terms in the approximated function, less distinct errors are produced in said function. The overshoot at a jump discontinuity does not fade out as more polynomial terms are added to the sum, also known as the Gibbs phenomenon [<xref ref-type="bibr" rid="scirp.72320-ref10">10</xref>].</p><p>As stated in previous section, Zernike moments have been widely applied in the field of pattern recognition. For shape matching or identification, Zernike moments are used as invariant descriptors. In the following, we propose our method to raise the effectiveness of using Zernike moments as shape descriptor. Using the 3-stripe image as an example, the blurring procedure is taken first by replacing the intensities of pixels at x = 84, x = 85, x = 170 and x = 171 by some values different from 0 and 255 with the assumption that the original intensity of pixels on (84, y) and (85, y) for all y are l and h respectively. After the blurring process, corresponding new intensities of pixels are replaced by (h − l)/3+l and (h − l) &#215; 2/3 + l. A similar procedure is applied to pixels on (170, y) and (171, y) for all y. Two and four consecutive pixels blurring methods are shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>The comparison between absolute reconstruction error at maximal order = 300 of two-pixel blurred image and blurless image is presented in <xref ref-type="fig" rid="fig5">Figure 5</xref>. This result shows that errors are increased at x = 84, 85, 170 and 171 but decreased in other places.</p><p>Let AD<sub>i</sub>, as shown in Equation (12), be the improvement of the mean absolute error of the image which is blurred by the proposed method.</p><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Two approaches to blur the boundary</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x50.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> The comparison of absolute reconstruction errors for 2-pixel blurred and blurless images for the case of (0, 255, 0)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x51.png"/></fig><disp-formula id="scirp.72320-formula32"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/72320x52.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/72320x53.png" xlink:type="simple"/></inline-formula> is the mean absolute error of the i-pixel blurred image. In the paper, 2-pixel and 4-pixel blurring approaches are simulated.</p></sec><sec id="s3_3"><title>3.3. Performance of AD<sub>i</sub></title><p>In this section, two experiments are implemented to evaluate the performance of AD<sub>i</sub>. The difference of intensities on two adjacent stripes is investigated in the first experiment. The second experiment examines the influence of different number of stripes in an image on AD<sub>i</sub>.</p><sec id="s3_3_1"><title>3.3.1. AD<sub>i</sub> vs. Different Intensity in Stripes</title><p>The intensity difference on two adjacent stripes abates in the succession of images as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. The 3-tuple within parentheses denotes the gray intensity of each stripe in the image.</p><p>The reconstruction errors of these images by the proposed edge blurring methods with different maximal order are calculated. The AD<sub>i</sub> results are displayed in <xref ref-type="fig" rid="fig7">Figure 7</xref>. In the legend, (0, 255)-2 denotes that the 2-pixel blurring method is applied in the 3- stripe image whose intensities are 0 and 255 in the adjacent stripes, whereas (0, 255)-4 denotes that the 4-pixel blurring method is applied in the 3-stripe image whose intensities are 0 and 255 in the adjacent stripes.</p><p>With the maximal order of 300, the value of AD<sub>i</sub> is superior to other orders when the image is 2-pixel blurred. The value of AD<sub>i</sub> acquired become less prominent with smaller differences in intensities on adjacent stripes.</p></sec><sec id="s3_3_2"><title>3.3.2. AD<sub>i</sub> vs. Different Number Stripes</title><p>In order to better understand the effect of image stripe numbers on AD<sub>i</sub>, a series of images which have different number of equal width stripes are created as shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>. The width of a stripe, distance between two edges, is denoted as D<sub>i</sub> with i being the</p><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Different intensities in stripes</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x54.png"/></fig><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> The comparison of AD<sub>i</sub> for blurred and blurless images with different orders</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x55.png"/></fig><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> A series of images with a different number of stripes</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x56.png"/></fig><p>number of stripes in the image. For reference, D<sub>3</sub> is about 85 pixels and D<sub>31</sub>, the largest number of stripes in the examination, about 8 pixels.</p><p>The 2-pixel blurring method with the maximal order greater than 50 is applied to images as shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>. The graph of AD<sub>2</sub> with respect to D<sub>i</sub> is depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>0. When D<sub>i</sub> is larger than 15, AD<sub>2</sub> has the most improvement with applying maximal order = 300. However, this is not the case when D<sub>i</sub> is small.</p><p>By further analyzing the error of experiment in <xref ref-type="fig" rid="fig9">Figure 9</xref>, the pixels are partitioned into two groups which are edge pixel group and non-edge pixel group. The MAE is calculated with maximal order = 300 for each group separately. The results are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0.</p><p>The ratio of MAE for edge pixel group to MAE for non-edge group is drawn in <xref ref-type="fig" rid="fig1">Figure 1</xref>1. The figure has a clear indication that 2-pixel blurring method provides a much more centralized edge reconstruction error and error reduction in different places than 4-pixel approach for all D<sub>i</sub>.</p><fig id="fig9"  position="float"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> The influence of D<sub>i</sub> on AD<sub>2</sub></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x57.png"/></fig><fig id="fig10"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>0</label><caption><title> D<sub>i</sub> vs. MAE for edge pixel and non-edge pixel groups</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x58.png"/></fig><fig id="fig11"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>1</label><caption><title> D<sub>i</sub> vs. the ratio of the MAE of edge pixels to the MAE of non-edge pixels</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x59.png"/></fig><p>As presented in previous sections, Zernike moments are widely used as the shape descriptors in many image applications. Intuitively, the contour information of a shape is the most valuable feature. To extract this valuable information, the proposed method blurs edge pixels and calculates Zernike moments. Using these results, the characteristic of emphasizing information on edges and deemphasizing non edges are obtained thus providing the contour information of a shape.</p></sec></sec></sec><sec id="s4"><title>4. Template Matching</title><p>The purpose of this experiment is to demonstrate the effectiveness of template matching via our purposed method. Two real scene images were taken with camera rotation through different position. Different scale images were constructed to detect local extremea [<xref ref-type="bibr" rid="scirp.72320-ref11">11</xref>] for these two images. These local extrema, depicted by red dots in <xref ref-type="fig" rid="fig1">Figure 1</xref>2, are considered as keypoints. Then, the ZMs is calculated around each keypoint to represent its own local feature.</p><sec id="s4_1"><title>4.1. Feature Extraction</title><p>The local circular image, with a radius of 20 pixels, surrounding a keypoint is extracted. Then, ZMs with order = 25 are calculated for all circular images. Due to the rotation invariant, the magnitudes of the computed ZMs are taken to serve the feature of a keypoint. In this study, blurring on the edges of an image is considered before taking ZMs. For that purpose, Sobel operator is applied to locate the possible edges on these two images. The corresponding resultant gradient images are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>3.</p><p>The top 10% greatest gradient magnitudes of pixels in a circular image are treated as</p><fig-group id="fig12"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>2</label><caption><title> Two images taken with a rotation of the camera, detected keypoints in red.</title></caption><fig id ="fig12_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x60.png"/></fig><fig id ="fig12_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x61.png"/></fig></fig-group><fig-group id="fig13"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>3</label><caption><title> Two gradient images of images in <xref ref-type="fig" rid="fig1">Figure 1</xref>2.</title></caption><fig id ="fig13_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x62.png"/></fig><fig id ="fig13_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x63.png"/></fig></fig-group><p>edge pixels. In blurring edge process, the intensity value of edge pixel is replaced by the average intensity value of its 8-connected pixels. The comparison of two images, with and without blurring edge pixel, is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>4.</p></sec><sec id="s4_2"><title>4.2. Keypoint Matching</title><p>The Euclidean distance is used to measure the similarity between keypoints on two images. In order to eliminate unreliable matching pair, the keypoint matching must comply with the following criterion:</p><p> For a certain keypoint, the distance of the second most similar keypoint (D<sub>1</sub>) divided by the distance of the most similar keypoint (D<sub>2</sub>) must be less than the given threshold.</p><p>Given different thresholds, the number of matched keypoint pairs between two images are shown in <xref ref-type="table" rid="table2">Table 2</xref>. The matched pairs for threshold = 0.6 are drawn in <xref ref-type="fig" rid="fig1">Figure 1</xref>5.</p><fig-group id="fig14"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>4</label><caption><title> (a) The circular image around a keypoint; (b) Edge points in red color; (c) The circular image after edge pixels blurred.</title></caption><fig id ="fig14_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x64.png"/></fig><fig id ="fig14_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x65.png"/></fig><fig id ="fig14_3"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x66.png"/></fig></fig-group><fig-group id="fig15"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>5</label><caption><title> The comparison of matched pairs between blurless image and blurred image. (a) 29 matched pairs; (b) 29 matched pairs.</title></caption><fig id ="fig15_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x67.png"/></fig><fig id ="fig15_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/72320x68.png"/></fig></fig-group><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> The number of matched keypoint pairs at different thresholds, the number in paren- theses for the case of ∞ denoting wrong matched pairs</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >6</th><th align="center" valign="middle"  colspan="7"  >Threshold</th></tr></thead><tr><td align="center" valign="middle" >D<sub>1</sub>/D<sub>2</sub>&lt;</td><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >0.5</td><td align="center" valign="middle" >0.6</td><td align="center" valign="middle" >0.7</td><td align="center" valign="middle" >0.8</td><td align="center" valign="middle" >0.9</td><td align="center" valign="middle" >∞</td></tr><tr><td align="center" valign="middle" >Blurless</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >29</td><td align="center" valign="middle" >46</td><td align="center" valign="middle" >48</td><td align="center" valign="middle" >51</td><td align="center" valign="middle" >51(4)</td></tr><tr><td align="center" valign="middle" >Blurred</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >34</td><td align="center" valign="middle" >46</td><td align="center" valign="middle" >49</td><td align="center" valign="middle" >51</td><td align="center" valign="middle" >51(4)</td></tr></tbody></table></table-wrap><p>In <xref ref-type="fig" rid="fig1">Figure 1</xref>5(b), six more keypoint pairs in purple line are matched and one pair in green line fail to match when the edge pixels were blurred. From the results, the blurring edge procedure enhances the ZMs for template matching even when the order of ZMs is 25.</p></sec></sec><sec id="s5"><title>5. Conclusion</title><p>This study presents a novel image edge blurring process before evaluating the Zernike moments. The experimental results indicate that Zernike moments with the edge blurring of image can perform better than blurless images. In order to make prominent characteristic of the blurring edge with high-order ZMs, we will further investigate the proposed method on popular image databases in future work, especially in the issue of shape identification.</p></sec><sec id="s6"><title>Acknowledgements</title><p>This work was supported by Ministry of Science and Technology, Taiwan, under research project number MOST 105-2221-E-231-013.</p></sec><sec id="s7"><title>Cite this paper</title><p>Gwo, C. and Deng, A. (2016) Blur Image Edge to Enhance Zernike Moments for Object Recognition. Journal of Computer and Communications, 4, 79-91. http://dx.doi.org/10.4236/jcc.2016.415007</p></sec></body><back><ref-list><title>References</title><ref id="scirp.72320-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Wee, C.-Y. and Paramesran, R. (2007) On the Computational Aspects of Zernike Moments. Image and Vision Computing, 25, 967-980. http://dx.doi.org/10.1016/j.imavis.2006.07.010</mixed-citation></ref><ref id="scirp.72320-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Kim, W.-Y. and Kim, Y.-S. (2000) A Region-Based Shape Descriptor Using Zernike Moments. Signal Processing: Image Communication, 16, 95-102.  
http://dx.doi.org/10.1016/S0923-5965(00)00019-9</mixed-citation></ref><ref id="scirp.72320-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Novotni, M. and Klein, R. (2004) Shape Retrieval Using 3D Zernike Descriptors. Computer- Aided Design, 36, 1047-1062. http://dx.doi.org/10.1016/j.cad.2004.01.005</mixed-citation></ref><ref id="scirp.72320-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Singh, C. and Pooja (2011) Improving Image Retrieval Using Combined Features of Hough Transform and Zernike Moments. Optics and Lasers in Engineering, 49, 1384-1396.  
http://dx.doi.org/10.1016/j.optlaseng.2011.07.009</mixed-citation></ref><ref id="scirp.72320-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Badrinath, G.S., Kachhi, N.K. and Gupta, P. (2011) Verification System Robust to Occlusion Using Low-Order Zernike Moments of Palmprint Sub-Images. Telecommunication Systems, 47, 275-290. http://dx.doi.org/10.1007/s11235-010-9318-y</mixed-citation></ref><ref id="scirp.72320-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Farokhi, S., Shamsuddin, S.M., Sheikh, U.U., Flusser, J., Khansari, M. and Jafa-ri-Khouzani, K. (2014) Near Infrared Face Recognition by Combining Zernike Moments and Undecimated Discrete Wavelet Transform. Digital Signal Processing, 31, 13-27.  
http://dx.doi.org/10.1016/j.dsp.2014.04.008</mixed-citation></ref><ref id="scirp.72320-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Qin, H., Qin, L., Xue, L. and Yu, C. (2012) A Parallel Recurrence Method for the Fast Computation of Zernike Moments. Applied Mathematics and Computation, 219, 1549- 1561. http://dx.doi.org/10.1016/j.amc.2012.07.055</mixed-citation></ref><ref id="scirp.72320-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Papakostas, G.A., Boutalis, Y.S., Papaodysseus, C.N. and Fragoulis, D.K. (2006) Numer-ical Error Analysis in Zernike Moments Computation. Image and Vision Computing, 24, 960- 969. http://dx.doi.org/10.1016/j.imavis.2006.02.015</mixed-citation></ref><ref id="scirp.72320-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Dang, A.-W., Wei, C.-H. and Gwo, C.-Y. (2016) Stable and Fast Computation of High- Order Zernike Moments Using a Recursive Method. Pattern Recognition, 11, 100-120.  
http://dx.doi.org/10.1016/j.patcog.2016.02.014</mixed-citation></ref><ref id="scirp.72320-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Folland, G.B. (1992) Fourier Analysis and Its Application. Pacific Grove.</mixed-citation></ref><ref id="scirp.72320-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Lowe, D.G. (2004) Distinctive Image Features from Scale-Invariant Keypoints. International Journal of Computer Vision, 60, 91-110.  
http://dx.doi.org/10.1023/B:VISI.0000029664.99615.94</mixed-citation></ref></ref-list></back></article>