Research Article

Jigsaw puzzle solving with template matching

Volume: 14 Number: 4 October 15, 2025
EN TR

Jigsaw puzzle solving with template matching

Abstract

Reassembling fragmented objects is a crucial problem in fields like archaeology, often approached through jigsaw puzzle solutions. This study presents two novel template-matching-based methods for solving jigsaw puzzles. The first method employs a two-stage approach: Principal Component Analysis (PCA) determines the rotation of scattered pieces, followed by template matching to align and position them. The second method directly locates pieces using template matching. Three test puzzles were used to evaluate the effectiveness of these approaches. The results demonstrate that both methods accurately identified piece positions in all cases, proving their robustness and reliability. However, the proposed methods are currently limited to cases where the appearance of pieces is not heavily affected by noise, occlusion, or large-scale rotation.

Keywords

References

  1. R. Li, S. Liu, G. Wang, G. Liu, and B. Zeng, JigsawGAN: Auxiliary learning for solving jigsaw puzzles with generative adversarial networks. IEEE Transactions on Image Processing, 31, 513–524, 2021. https://doi.org/10.1109/TIP.2021.3120052
  2. I. Ahmad, S.-S. Hwang, and S. Shin, Determining jigsaw puzzle state from an image based on deep learning. Proceedings of 2022 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), pp. 30–32, Jeju Island, Korea, 2022. https://doi.org/10.1109/ICAIIC54071.2022.9722672
  3. X. Song, X. Yang, J. Ren, R. Bai, and X. Jiang, Solving jigsaw puzzle of large eroded gaps using puzzlet discriminant network. Proceedings of ICASSP 2023–IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 1–5, Rhodes Island, Greece, 2023. https://doi.org/10.1109/ICASSP49357.2023.10096300
  4. S. Markaki and C. Panagiotakis, Jigsaw puzzle solving techniques and applications: a survey. The Visual Computer, 39, 4405–4421, 2023. https://doi.org/10.1007/s00371-022-02598-9
  5. M. Makridis and N. Papamarkos, A new technique for solving puzzles. IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), 40, 789–797, 2009. https://doi.org/10.1109/TSMCB.2009.2029868
  6. H. Wolfson, E. Schonberg, A. Kalvin, and Y. Lamdan, Solving jigsaw puzzles by computer. Annals of Operations Research, 12, 51–64, 1988. https://doi.org/10.1007/BF02186360
  7. K. Zhang, W. Yu, M. Manhein, W. Waggenspack, and X. Li, 3D fragment reassembly using integrated template guidance and fracture-region matching. Proceedings of the IEEE International Conference on Computer Vision, pp. 2138–2146, Santiago, Chile, 2015.
  8. K. Son, J. Hays, and D.B. Cooper, Solving square jigsaw puzzles with loop constraints. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 383–390, Portland, USA, 2013.

Details

Primary Language

English

Subjects

Image Processing , Pattern Recognition

Journal Section

Research Article

Early Pub Date

October 3, 2025

Publication Date

October 15, 2025

Submission Date

February 17, 2025

Acceptance Date

September 25, 2025

Published in Issue

Year 2025 Volume: 14 Number: 4

APA
Uçar, K. (2025). Jigsaw puzzle solving with template matching. Niğde Ömer Halisdemir Üniversitesi Mühendislik Bilimleri Dergisi, 14(4), 1559-1570. https://doi.org/10.28948/ngumuh.1641237
AMA
1.Uçar K. Jigsaw puzzle solving with template matching. NOHU J. Eng. Sci. 2025;14(4):1559-1570. doi:10.28948/ngumuh.1641237
Chicago
Uçar, Kürşad. 2025. “Jigsaw Puzzle Solving With Template Matching”. Niğde Ömer Halisdemir Üniversitesi Mühendislik Bilimleri Dergisi 14 (4): 1559-70. https://doi.org/10.28948/ngumuh.1641237.
EndNote
Uçar K (October 1, 2025) Jigsaw puzzle solving with template matching. Niğde Ömer Halisdemir Üniversitesi Mühendislik Bilimleri Dergisi 14 4 1559–1570.
IEEE
[1]K. Uçar, “Jigsaw puzzle solving with template matching”, NOHU J. Eng. Sci., vol. 14, no. 4, pp. 1559–1570, Oct. 2025, doi: 10.28948/ngumuh.1641237.
ISNAD
Uçar, Kürşad. “Jigsaw Puzzle Solving With Template Matching”. Niğde Ömer Halisdemir Üniversitesi Mühendislik Bilimleri Dergisi 14/4 (October 1, 2025): 1559-1570. https://doi.org/10.28948/ngumuh.1641237.
JAMA
1.Uçar K. Jigsaw puzzle solving with template matching. NOHU J. Eng. Sci. 2025;14:1559–1570.
MLA
Uçar, Kürşad. “Jigsaw Puzzle Solving With Template Matching”. Niğde Ömer Halisdemir Üniversitesi Mühendislik Bilimleri Dergisi, vol. 14, no. 4, Oct. 2025, pp. 1559-70, doi:10.28948/ngumuh.1641237.
Vancouver
1.Kürşad Uçar. Jigsaw puzzle solving with template matching. NOHU J. Eng. Sci. 2025 Oct. 1;14(4):1559-70. doi:10.28948/ngumuh.1641237