Top Banner
Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York
21

Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Jan 05, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Jigsaw Puzzles with Pieces of Unknown Orientation

Andrew C. GallagherEastman Kodak Research Laboratories

Rochester, New York

Page 2: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Outline

• Introduction• Solving Puzzles– Measuring Pairwise Compatibility– Tree-Based Reassembly for Types 1 and 2– An MRF for Solving Type 3 Puzzles

• Experiments• Conclusion

Page 3: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Introduction

• Solving puzzleassembling the pieces of a jigsaw puzzle into a complete picture

Page 4: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Introduction

Page 5: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Introduction

• Puzzle type– Type 1: known Rotation, unknown Location– Type 2: Unknown Rotation and Location– Type 3: Unknown Rotation, known Location

Page 6: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• a measure of jigsaw piece compatibility• puzzle assembly

Page 7: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Measuring Pairwise Compatibility– describes the local gradients near the boundary of

a puzzle piece– Mahalanobis distance

Page 8: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Measuring Pairwise Compatibilitycompute the compatibility DLR(xi, xj) of a jigsaw piece xj on the right side of piece xi

mean distribution:

also compute the covariance matrix SiL

Page 9: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Measuring Pairwise Compatibilitycompute the gradient from the right side of piece xi to the left side of piece xj

then, Mahalanobis distance:

Page 10: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Measuring Pairwise Compatibilitymodified the above equations to compute DRL(xj, xi), then get the symmetric compatibility measure CLR(xi, xj)

store the confidence ratio in the 3D array S(xi, xj, r)

Page 11: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Evaluation in Puzzle Assembly

Similarity performance for types 1 and 2

Page 12: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Tree-Based Reassembly for Types 1 and 2– a greedy assembly algorithm inspired by Kruskal’s

algorithm for finding a minimal spanning tree– three stages:

• constrained tree stage• Trimming• Filling

Page 13: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Tree-Based Reassembly for Types 1 and 2– The constrained tree stage

• nothing prevents the MST from being a graph that results in an assembled puzzle that overlaps onto itself

• If a collision has occurred then the edge is discarded without merging the forests

Page 14: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Tree-Based Reassembly for Types 1 and 2– The constrained tree stage

Page 15: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• Tree-Based Reassembly for Types 1 and 2– Trimming and Filling

Page 16: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Solving Puzzles

• An MRF for Solving Type 3 PuzzlesAn natural function to minimize is the total sum of the cost across the boundaries of any two pieces

Page 17: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Experiments

• Four measures– Direct comparison– Neighbor comparison– Largest Component– Perfect Reconstruction

Page 18: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Experiments

• Type 1 Puzzles

• Type 2 Puzzles

Page 19: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Experiments

• Type 3 Puzzles– orientation accuracy is 97.2% when considering puzzles

with 432 pieces each with 28 × 28 pixels

• Result

Page 20: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Experiments

• Mixed-Bag Puzzles

Page 21: Jigsaw Puzzles with Pieces of Unknown Orientation Andrew C. Gallagher Eastman Kodak Research Laboratories Rochester, New York.

Conclusion

• a new class of square piece jigsaw puzzles that having pieces with unknown orientations

• a new measure (MGC) for the compatibility of a potential jigsaw piece matches

• a tree-based reassembly that greedily merges components

• a pair-wise MRF where each node represents a jigsaw piece’s orientation