Fast Jigsaw Puzzle Solver
Python, Numpy, OpenCV
https://github.com/hj2choi/fast_jigsaw_puzzle_solver
Breaks down an original image into N (Row x Col) rectangular pieces, each pieces having 8 possible random orientations.
Re-assembles puzzle pieces back to original image in
O(N2) runtime.
- Parallel 3D distance matrix computation
- Prim's
Minimum Spanning Tree algorithm
-
Linked-Hashmap implementation of the Priority Queue