Automatic Jigsaw Puzzle Assembly using Computer Vision and Optimization Algorithms

This Paper presents an approach to solving jigsaw puzzles using a known algorithm called Prim’s minimum spanning tree algorithm. The proposed system is meant to be an interface for assembling jigsaw puzzles; the goal is to have the system fast, precise, reliable, and extensible. Using a range of computer vision techniques and graph theory, the algorithm deals with the computational complexity of pieces’ identification, matching, and growth in the size of the puzzle. The methodology is initially performed by normalizing the puzzle piece images and using a similarity matrix to analyze the compatibility between pieces. Based upon Prim’s minimum spanning tree, the algorithm derives a tree that provides the summation of weights that indicate how compatible the constructed pieces are. It also helps to reconstruct the picture in the puzzle precisely, given a certain time frame taken by the program. Testing scenarios prove that the algorithm’s performance is characterized by high accuracy and low time complexity, especially while handling square and rectangular pieces. The system also operates at its best for the number of puzzles that do not exceed a hundred, with minimal CPU usage and RAM rates. The described case of the employed algorithm demonstrates the practicality of the time complexity over the brute-force approach. Although the algorithm has many advantages, it has some shortcomings when solving puzzles of irregular shapes and having only single-color pictures.

Authors

Institutions

Publication Details

Published
2025-04-15
DOI
https://doi.org/10.1109/csase63707.2025.11054021
Primary Topic
Image Processing and 3D Reconstruction
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic Jigsaw Puzzle Assembly using Computer Vision and Optimization Algorithms

Heba Mohammed Fadhil, Mohammed Hussein Ali, Zayn al-Aabdeen Hashim Mousa
Image Processing and 3D Reconstruction
article

Automatic Jigsaw Puzzle Assembly using Computer Vision and Optimization Algorithms

Heba Mohammed Fadhil, Mohammed Hussein Ali, Zayn al-Aabdeen Hashim Mousa
article en

Abstract

This Paper presents an approach to solving jigsaw puzzles using a known algorithm called Prim’s minimum spanning tree algorithm. The proposed system is meant to be an interface for assembling jigsaw puzzles; the goal is to have the system fast, precise, reliable, and extensible. Using a range of computer vision techniques and graph theory, the algorithm deals with the computational complexity of pieces’ identification, matching, and growth in the size of the puzzle. The methodology is initially performed by normalizing the puzzle piece images and using a similarity matrix to analyze the compatibility between pieces. Based upon Prim’s minimum spanning tree, the algorithm derives a tree that provides the summation of weights that indicate how compatible the constructed pieces are. It also helps to reconstruct the picture in the puzzle precisely, given a certain time frame taken by the program. Testing scenarios prove that the algorithm’s performance is characterized by high accuracy and low time complexity, especially while handling square and rectangular pieces. The system also operates at its best for the number of puzzles that do not exceed a hundred, with minimal CPU usage and RAM rates. The described case of the employed algorithm demonstrates the practicality of the time complexity over the brute-force approach. Although the algorithm has many advantages, it has some shortcomings when solving puzzles of irregular shapes and having only single-color pictures.

University of Baghdad (IQ)
Openalex Percentile: Top 86%
Image Processing and 3D Reconstruction
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.