IDEAS home Printed from https://ideas.repec.org/a/eee/matcom/v206y2023icp130-146.html
   My bibliography  Save this article

A new method to solve rotated template matching using metaheuristic algorithms and the structural similarity index

Author

Listed:
  • Corona, Gemma
  • Maciel-Castillo, Oscar
  • Morales-Castañeda, Juan
  • Gonzalez, Adrian
  • Cuevas, Erik

Abstract

Template matching (TM) is a technique used in computer vision that helps us to identify small pieces of a predefined sub image known as template and a corresponding area inside a large image. There are several approaches in the literature that solve this problem. In spite of their acceptable results, the existing methods fail to detect templates when they are rotated in a large image. On the other hand, the structural similarity (SSIM) index is a resemblance model that allows us to evaluate the affinity between two images. Different from other similarity indexes, SSIM considers important structural information while also incorporating essential elements such as luminance and contrast terms. This paper presents a new approach for template matching when an image is rotated. Our method considers the complete process as an optimization problem where a metaheuristic algorithm is used to find the best resemblance between the template and its rotated or unrotated image. In order to obtain a robust detection, our approach considers the use of the SSIM index as an objective function. Although metaheuristic approaches produce interesting results, there is not an ideal algorithm that can competitively solve all problems. Under such conditions, our study analyzes the performance of five different metaheuristic techniques for solving the problem of TM. In the comparison, several complicated computer experiments have been conducted considering different performance indexes. The results show that the proposed technique solves the problem of TM competitively for rotated instances in terms of accuracy and robustness.

Suggested Citation

  • Corona, Gemma & Maciel-Castillo, Oscar & Morales-Castañeda, Juan & Gonzalez, Adrian & Cuevas, Erik, 2023. "A new method to solve rotated template matching using metaheuristic algorithms and the structural similarity index," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 206(C), pages 130-146.
  • Handle: RePEc:eee:matcom:v:206:y:2023:i:c:p:130-146
    DOI: 10.1016/j.matcom.2022.11.005
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378475422004542
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.matcom.2022.11.005?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Jianqiang Huang & Yan Ma, 2020. "Bat Algorithm Based on an Integration Strategy and Gaussian Distribution," Mathematical Problems in Engineering, Hindawi, vol. 2020, pages 1-22, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:matcom:v:206:y:2023:i:c:p:130-146. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/mathematics-and-computers-in-simulation/ .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.