<?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">POS</journal-id><journal-title-group><journal-title>Positioning</journal-title></journal-title-group><issn pub-type="epub">2150-850X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/pos.2011.22008</article-id><article-id pub-id-type="publisher-id">POS-5052</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>
 
 
  Template Match Object Detection for Inertial Navigation Systems
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>iedo</surname><given-names>Hu</given-names></name><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ahmed</surname><given-names>Mohamed Gharuib</given-names></name></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Alaa</surname><given-names>El-Din Sayed Hafez</given-names></name><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><author-notes><corresp id="cor1">* E-mail:<email>weiduo.hu@gmail.com(IH)</email>;<email>alaaahafez@yahoo.com(AESH)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>24</day><month>05</month><year>2011</year></pub-date><volume>02</volume><issue>02</issue><fpage>78</fpage><lpage>83</lpage><history><date date-type="received"><day>January</day>	<month>2nd,</month>	<year>2011</year></date><date date-type="rev-recd"><day>May</day>	<month>13th,</month>	<year>2011</year>	</date><date date-type="accepted"><day>May</day>	<month>20th,</month>	<year>2011.</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>
 
 
  This paper devoted to propose template match object detection for inertial navigation systems (INS). The proposed method is an image processing technique to improve the precision of the INS for detecting and tracking the ground objects from flying vehicles. Template matching is one of the methods used for ground object detection and tracking. Robust and reliable object detection is a critical step of object recognition. This paper presents a proposed mathematical morphological template matching method for detection and tracking of ground objects. Our focus is on flying systems equipped with camera to capture photos for the ground and recognize it. The proposed method is independent on the altitude or the orientation of the object. The algorithm is simulated using Matlab program and the numerical experiments are shown which verify the object detection for a wide range altitude and orientation. The results show superiority of this method for identifying and recognizing the ground objects.
 
</p></abstract><kwd-group><kwd>Template Match</kwd><kwd> Hit / Miss Transform</kwd><kwd> INS</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>An INS is a navigation system which depends entirely on inertial measurements for navigation. An INS consists of accelerometers which measure the translator acceleration and gyroscopes which measure the angular rotation of the system. This sensor array is called an Inertial Measurement Unit (IMU). This system can be equipped with camera to fine tuning and improve the inertial navigation near the target of interest. This needs an image processing technique to identify and recognize the ground objects. Template matching techniques are methods commonly found in target-detection applications. These techniques allow users to customize their detection algorithms to specific targets of interest. The basis of template matching is the comparison of a representative pattern (template) of the target of interest with an image, with the purpose of detecting occurrences of the reference pattern in the image. Mathematical morphology is a branch of nonlinear signal and image processing that provides powerful tools for various image and signal processing applications. The Hit-or-Miss Transform (HMT) is a template matching method that exists within the mathematical morphology framework. The HMT has several benefits compared to other template-matching techniques, including the fact that it is based on rankorder operations which are generally faster than linear correlation techniques and that it is insensitive to DC variations of the template and the image. Several researches introduced the template matching in recognizing and identifying objects [1-3]. Therefore, a large amount of works are limited to detecting and matching objects in synthesized shape databases [4-5] or in special image domains. Previous works [6-10] on template-based object detection extract low-level image features such as edges, corners, regions and interest points, and then locate the target boundary by grouping the features and matching them to those on the template. In these works, computational complexity usually is very high, and object occlusion poses a great challenge to the detection algorithms. This paper introduce a simple template match object recognition technique able to detect and recognize the ground objects in the stage of fine tuning the INS for flying vehicles.</p></sec><sec id="s2"><title>2. Theoritical Description</title><p>Template matching is conceptually a simple process. We need to match a template to an image where the template is a sub-image that contains the shape we are trying to find. Accordingly, we centre the template on an image point and count up how many points in the template matched those in the image. The procedure is repeated for the entire image, and the point that led to best match, the maximum count, is defined to be the point where the shape (given by the template) lie within the image. If standard deviation of the template image compared to the source image is small enough, template matching may be used. Templates are most often used to identify printed characters, numbers, and other small, simple objects. Template matching is performed on either bi-level image (black and white) or grey level image depends on the application. For example, for character recognition and number plate of vehicle bi-level image are used while for vehicle recognition grey level image is used.</p><p>Formally, template matching can be defined as a method of parameter estimation. The parameters define the position of the template. We can define a template as a discrete function of T<sub>xy</sub>. Template matching uses a similarity criterion for locating an object, where one common method calculates a correlation coefficient using the following equation [<xref ref-type="bibr" rid="scirp.5052-ref11">11</xref>],</p><disp-formula id="scirp.5052-formula65887"><label>(1)</label><graphic position="anchor" xlink:href="2-8501020\f71f0a91-5f0d-46ed-9db3-a94eded92e30.jpg"  xlink:type="simple"/></disp-formula><p>where A and B are image matrices, <img src="2-8501020\bdbd0cc4-dcb9-4acc-92e9-727f156c5b40.jpg" />and , <img src="2-8501020\f3583612-15e2-43dc-819d-dedaec53eb06.jpg" />are the 2-dimensional means of the respective image matrices, and (x,y) are the spatial coordinates within A and B. This correlation coefficient closely resembles a traditional statistical correlation, with the difference being that the traditional method is calculated in one dimension instead of two dimensions. A high correlation coefficient in a pixel-by-pixel comparison between the template and the region of interest (ROI) indicates a good match. This “cross-correlation’’ yields a result only if the integral is computed over the whole area g. The basic idea behind the hit-or-miss transform is that of extracting all pixels within an image that are matched by a given neighborhood configuration, consisting of some arrangement of foreground pixels and back-ground pixels. The neighborhood configuration is therefore defined by a pair of disjoint sets: one for the foreground pixels and the other for the background pixels. This can be represented mathematically as:</p><disp-formula id="scirp.5052-formula65888"><label>(2)</label><graphic position="anchor" xlink:href="2-8501020\cf28f1d5-b222-4911-8e83-22c4b81969e8.jpg"  xlink:type="simple"/></disp-formula><p>Where A is the image set, A<sup>c</sup> is the complement of the image set, and B is the structure element. The algorithm flow chart is shown in <xref ref-type="fig" rid="fig">Figure </xref>(2). Fixed templates are useful when object shapes do not change with respect to the viewing angle of the camera. Two major techniques have been used in fix template matching, image subtraction and correlation. In the first technique, the template position is determined from minimizing the distance function between the template and various positions in the image. Although image subtraction techniques require less computation time than the following correlation techniques, they perform well in restricted environments where imaging conditions, such as image intensity and viewing angles between the template and images containing this template are the same. Matching by correlation utilizes the position of the normalized cross-correlation peak between a template and an image to locate the best match. This technique is generally immune to noise and illumination effects in the images, but suffers from high computational complexity caused by summations over the entire template. Point correlation can reduce the computational complexity to a small set of carefully chosen points for the summations.</p><p>Dilation is one of the two basic operators in the area of mathematical morphology, the other being erosion. It is typically applied to binary images, but there are versions that work on grayscale images. The basic effect of the operator on a binary image is to gradually enlarge the boundaries of regions of foreground pixels (i.e. white pixels, typically) as shown in <xref ref-type="fig" rid="fig">Figure </xref>(2). Thus areas of</p><p>foreground pixels grow in size while holes within those regions become smaller. The dilation operator takes two pieces of data as inputs. The first is the image which is to be dilated. The second is a (usually small) set of coordinate points known as a structuring element (also known as a kernel). It is this structuring element that determines the precise effect of the dilation on the input image. To compute the dilation of a binary input image by this structuring element, we consider each of the background pixels in the input image in turn. For each background pixel (which we will call the input pixel) we superimpose the structuring element on top of the input image so that the origin of the structuring element coincides with the input pixel position. If at least one pixel in the structuring element coincides with a foreground pixel in the image underneath, then the input pixel is set to the foreground value. If all the corresponding pixels in the image are background, however, the input pixel is left at the background value.</p></sec><sec id="s3"><title>3. Identification Results</title><p>The proposed method is simulated using Matlab program and the numerical experiments are shown to verify the object detection for a wide range altitude and orientation. The test image used is a satellite image includes two target objects. These targets are shown in <xref ref-type="fig" rid="fig">Figure </xref>3. The identification mechanism is tested at five altitudes, 8034, 7632, 7230, 7084, and 6888 feet respectively. The satellite images at different altitudes are shown in <xref ref-type="fig" rid="fig">Figure </xref>4. Each altitude is tested at different approaching angles, 0, 90, 180, 270 degree respectively. The generated templates for the two object after the hit/miss transform is shown in <xref ref-type="fig" rid="fig">Figure </xref>5. <xref ref-type="fig" rid="fig">Figure </xref>5 to 14 demonstrate the object (1) and object (2) identification and detection at different altitudes and orientation angles. The algorithm is evaluated on twelve different altitudes for two Objects. <xref ref-type="fig" rid="fig">Figure </xref>15 shows that the first object miss detection below 18% and false alarm detection below 6%. The second object with relatively large area satisfies results better than the first object which satisfies miss detection below 12% and false alarm detection below 4% as shown in <xref ref-type="fig" rid="fig">Figure </xref>16.</p></sec><sec id="s4"><title>4. Conclusion</title><p>This paper introduces a simple template match object recognition technique able to detect and recognize the ground objects in the stage of fine tuning the INS for flying vehicles. The proposed method is an image processing technique to improve the precision of the INS for detecting and tracking the ground objects. Template matching technique is one of the methods used for ground object detection and tracking. The paper focus is on flying systems equipped with camera to capture photos for the ground and recognize it. The proposed method is independent on the altitude or the orientation of the object. The system successfully recognized and detects the ground objects at different altitudes and orientation.</p></sec><sec id="s5"><title>5. References</title><p>[<xref ref-type="bibr" rid="scirp.5052-ref1">1</xref>]&#160;&#160;&#160; Roger M. Dufour, Eric L. Miller and Nikolas P. Galatsanos, “Template Matching Based Object Recognition With Unknown Geometric Parameters,” IEEE Transaction on Image Processing, Vol. 11, No. 12, Dec. 2002. doi:10.1109/TIP.2002.806245</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref2">2</xref>]&#160;&#160;&#160; Gupta, Rahul Gupta, Amardeep Singh and Matt Wytock, “Object Recognition using Template Matching,” http://www.stanford .edu/class/cs229 /proj2008.</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref3">3</xref>]&#160;&#160;&#160; R. Brunelli, “Template Matching Techniques in Computer Vision: Theory and Practice,” Wiley, 2009. doi:10.1002/9780470744055</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref4">4</xref>]&#160;&#160;&#160; Kyriacou, Theocharis, Guido Bugmann, and Stanislao Lauria, “Vision-based urban navigation procedures for verbally instructed robots,” Robotics and Autonomous Systems, Expanded Academic ASAP, No. 30, 2005.</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref5">5</xref>]&#160;&#160;&#160; Zhao Yu-qian, Gui Wei-hua, Chen Zhen-cheng, Tang Jing-tian and Li Ling-yun, “ Medical Images Edge Detection Based on Mathematical Morphology,” Proceedings of IEEE Engineering in Medicine and Biology 27<sup>th</sup> Annual Conference Shanghai, China, September 1-4, 2005.</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref6">6</xref>]&#160;&#160;&#160; Li, Y., Tsin, Y., Genc, Y. and Kanade, T., “Object detection using 2D spatial ordering constraints,” Computer Vision and Pattern Recognition, CVPR 2005. IEEE Computer Society Conference on, 20-25 June, 2005.</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref7">7</xref>]&#160;&#160;&#160; Heisele B., Rocha C., “Local shape features for object recognition,” Pattern Recognition, 2008. ICPR 2008 19th International Conference on, Tampa, FL, 8-11 Dec. 2008</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref8">8</xref>]&#160;&#160;&#160; Neal R. Harvey, Reid Porter, and James Theiler, “Ship detection in satellite imagery using rank-order grayscale hit-or-miss transforms,” Proc. SPIE, Vol. 7701, 2010.</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref9">9</xref>]&#160;&#160;&#160; E. G. M. Petrakis, A. Diplaros, and E. Milios, “Matching and retrieval of distorted and occluded shapes using dynamic programming,” IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 24, No. 11, 2002. doi:10.1109/TPAMI.2002.1046166</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref10">10</xref>]&#160;&#160;&#160; Feng Ge, Tiecheng Liu, Song Wang and Joachim Stahl, “Template-Based Object Detection through Partial Shape Matching and Boundary Verification,” International Journal of Information and Communication Engineering, Vol. 4, No. 2, 2008.</p><p>[<xref ref-type="bibr" rid="scirp.5052-ref12">12</xref>]&#160;&#160;&#160; Rjiv Kumar Nathi, “On Road Vehicle/Object Detection Template,” Indian Computer and Science and Engineering, Vol. 1, No. 2, 2010.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.5052-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Roger M. Dufour, Eric L. Miller and Nikolas P. Galatsanos, “Template Matching Based Object Recognition With Unknown Geometric Parameters,” IEEE Transaction on Image Processing, Vol. 11, No. 12, Dec. 2002. doi:10.1109/TIP.2002.806245</mixed-citation></ref><ref id="scirp.5052-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Gupta, Rahul Gupta, Amardeep Singh and Matt Wytock, “Object Recognition using Template Matching,” http://www.stanford .edu/class/cs229 /proj2008.</mixed-citation></ref><ref id="scirp.5052-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">R. Brunelli, “Template Matching Techniques in Computer Vision: Theory and Practice,” Wiley, 2009. doi:10.1002/9780470744055</mixed-citation></ref><ref id="scirp.5052-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Kyriacou, Theocharis, Guido Bugmann, and Stanislao Lauria, “Vision-based urban navigation procedures for verbally instructed robots,” Robotics and Autonomous Systems, Expanded Academic ASAP, No. 30, 2005.</mixed-citation></ref><ref id="scirp.5052-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Zhao Yu-qian, Gui Wei-hua, Chen Zhen-cheng, Tang Jing-tian and Li Ling-yun, “ Medical Images Edge Detection Based on Mathematical Morphology,” Proceedings of IEEE Engineering in Medicine and Biology 27th Annual Conference Shanghai, China, September 1-4, 2005.</mixed-citation></ref><ref id="scirp.5052-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Li, Y., Tsin, Y., Genc, Y. and Kanade, T., “Object detection using 2D spatial ordering constraints,” Computer Vision and Pattern Recognition, CVPR 2005. IEEE Computer Society Conference on, 20-25 June, 2005.</mixed-citation></ref><ref id="scirp.5052-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Heisele B., Rocha C., “Local shape features for object recognition,” Pattern Recognition, 2008. ICPR 2008 19th International Conference on, Tampa, FL, 8-11 Dec. 2008</mixed-citation></ref><ref id="scirp.5052-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Neal R. Harvey, Reid Porter, and James Theiler, “Ship detection in satellite imagery using rank-order grayscale hit-or-miss transforms,” Proc. SPIE, Vol. 7701, 2010.</mixed-citation></ref><ref id="scirp.5052-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">E. G. M. Petrakis, A. Diplaros, and E. Milios, “Matching and retrieval of distorted and occluded shapes using dynamic programming,” IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 24, No. 11, 2002. doi:10.1109/TPAMI.2002.1046166</mixed-citation></ref><ref id="scirp.5052-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Feng Ge, Tiecheng Liu, Song Wang and Joachim Stahl, “Template-Based Object Detection through Partial Shape Matching and Boundary Verification,” International Journal of Information and Communication Engineering, Vol. 4, No. 2, 2008.</mixed-citation></ref><ref id="scirp.5052-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Rjiv Kumar Nathi, “On Road Vehicle/Object Detection Template,” Indian Computer and Science and Engineering, Vol. 1, No. 2, 2010.</mixed-citation></ref></ref-list></back></article>