An advanced greedy square jigsaw puzzle solver

Slides:



Advertisements
Similar presentations
Bayesian Belief Propagation
Advertisements

Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
Message-Passing and Sudoku Scott Kirkpatrick, HUJI Danny Bickson, HUJI TAU, June 18, 2006.
Low Complexity Keypoint Recognition and Pose Estimation Vincent Lepetit.
Convex Quadratic Programming for Object Location Hao Jiang, Mark S. Drew and Ze-Nian Li School of Computing Science Simon Fraser University.
Hidden Variables, the EM Algorithm, and Mixtures of Gaussians Computer Vision CS 143, Brown James Hays 02/22/11 Many slides from Derek Hoiem.
MATHIEU GAUTHIER PIERRE POULIN LIGUM, DEPT. I.R.O. UNIVERSITÉ DE MONTRÉAL GRAPHICS INTERFACE 2009 Preserving Sharp Edges in Geometry Images.
Belief Propagation by Jakob Metzler. Outline Motivation Pearl’s BP Algorithm Turbo Codes Generalized Belief Propagation Free Energies.
 CpG is a pair of nucleotides C and G, appearing successively, in this order, along one DNA strand.  CpG islands are particular short subsequences in.
1 Image Completion using Global Optimization Presented by Tingfan Wu.
Jie Gao Joint work with Amitabh Basu*, Joseph Mitchell, Girishkumar Stony Brook Distributed Localization using Noisy Distance and Angle Information.
Shape From Texture Nick Vallidis March 20, 2000 COMP 290 Computer Vision.
Prénom Nom Document Analysis: Data Analysis and Clustering Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Learning Low-Level Vision William T. Freeman Egon C. Pasztor Owen T. Carmichael.
Linear Solution to Scale and Rotation Invariant Object Matching Professor: 王聖智 教授 Student : 周 節.
An Iterative Optimization Approach for Unified Image Segmentation and Matting Hello everyone, my name is Jue Wang, I’m glad to be here to present our paper.
Bootstrapping a Heteroscedastic Regression Model with Application to 3D Rigid Motion Evaluation Bogdan Matei Peter Meer Electrical and Computer Engineering.
1 Message Passing and Local Heuristics as Decimation Strategies for Satisfiability Lukas Kroc, Ashish Sabharwal, Bart Selman (presented by Sebastian Brand)
The Simplified Partial Digest Problem: Hardness and a Probabilistic Analysis Zo ë Abrams Ho-Lin Chen
SUDOKU Via Relaxation Labeling
Computer vision: models, learning and inference
Reconstructing Relief Surfaces George Vogiatzis, Philip Torr, Steven Seitz and Roberto Cipolla BMVC 2004.
Learning Structure in Bayes Nets (Typically also learn CPTs here) Given the set of random variables (features), the space of all possible networks.
1 MCMC Style Sampling / Counting for SAT Can we extend SAT/CSP techniques to solve harder counting/sampling problems? Such an extension would lead us to.
Estimation of Distribution Algorithms (EDA)
ECE738 Advanced Image Processing Face Detection IEEE Trans. PAMI, July 1997.
Sudoku Solver Comparison A comparative analysis of algorithms for solving Sudoku.
1 On Completing Latin Squares Iman Hajirasouliha Joint work with Hossein Jowhari, Ravi Kumar, and Ravi Sundaram.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
Algorithms for MAP estimation in Markov Random Fields Vladimir Kolmogorov University College London.
Tokyo Institute of Technology, Japan Yu Nishiyama and Sumio Watanabe Theoretical Analysis of Accuracy of Gaussian Belief Propagation.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Probabilistic Inference Lecture 5 M. Pawan Kumar Slides available online
Puzzle Solver Sravan Bhagavatula EE 638 Project Stanford ECE.
Approximate Inference: Decomposition Methods with Applications to Computer Vision Kyomin Jung ( KAIST ) Joint work with Pushmeet Kohli (Microsoft Research)
Real-Time Tracking with Mean Shift Presented by: Qiuhua Liu May 6, 2005.
Debajyoti MondalYang Wang Stephane Durocher Department of Computer Science University of Manitoba.
Expectation-Maximization (EM) Algorithm & Monte Carlo Sampling for Inference and Approximation.
Modeling Electromagnetic Fields in Strongly Inhomogeneous Media
Minesweeper Solver Marina Maznikova Artificial Intelligence II Fall 2011.
Quiz Week 8 Topical. Topical Quiz (Section 2) What is the difference between Computer Vision and Computer Graphics What is the difference between Computer.
Linear Solution to Scale and Rotation Invariant Object Matching Hao Jiang and Stella X. Yu Computer Science Department Boston College.
CZ5211 Topics in Computational Biology Lecture 4: Clustering Analysis for Microarray Data II Prof. Chen Yu Zong Tel:
CMA Coastline Matching Algorithm SSIP’99 - Project 10 Team H.
Bayesian Algorithmic Mechanism Design Jason Hartline Northwestern University Brendan Lucier University of Toronto.
Using Neumann Series to Solve Inverse Problems in Imaging Christopher Kumar Anand.
The Haplotype Blocks Problems Wu Ling-Yun
Solving Weakened Cryptanalysis Problems for the Bivium Keystream Generator in the Volunteer Computing Project Oleg Zaikin, Alexander Semenov,
Progress In Image Registration. Why Registration In computer vision, sets of data acquired by sampling the same scene or object at different times, or.
ICPR2004 (24 July, 2004, Cambridge) 1 Probabilistic image processing based on the Q-Ising model by means of the mean- field method and loopy belief propagation.
10 October, 2007 University of Glasgow 1 EM Algorithm with Markov Chain Monte Carlo Method for Bayesian Image Analysis Kazuyuki Tanaka Graduate School.
Graph Coloring and Applications
Advanced Algorithms Analysis and Design
Energy models and Deep Belief Networks
CSSE463: Image Recognition Day 21
Approximate Inference Methods
Probabilistic Models for Linear Regression
Mixture Density Networks
Lecture 9 Greedy Strategy
Graduate School of Information Sciences, Tohoku University
Factor Special Products
Reply Gastroenterology
Segmentation (continued)
Quadratic Equations.
Probabilistic image processing and Bayesian network
CSSE463: Image Recognition Day 23
Solve the equation: 6 x - 2 = 7 x + 7 Select the correct answer.
CSSE463: Image Recognition Day 23
Modeling the Spread of a Virus in a Modern Environment
Information Sciences and Systems Lab
Presentation transcript:

An advanced greedy square jigsaw puzzle solver Dolev Pomeranz

The problem From this To this

Current best known solver By Cho et al. 432 parts, 28 x 28. Uses clues The solver is based on a probabilistic approach

Problem properties Know to be NP-Complete Using square parts Simple to code Hard to solve A brute force algorithm will take O(n!) time, where n is the number of parts If we had an accurate parts compatibility function we could have solve in polynomial time using a greedy algorithm

Compatibility metrics Finding out the likelihood that two given parts are neighbours

Compatibility metrics 1 2 3 4 5 3 4 5 6 7

New compatibility metrics Backward difference-based compatibility Central difference-based compatibility Square absolute dissimilarity-based metric (SAD) 2 4 6 4 6 8

New compatibility metrics

Measuring the quality of a given solution Performance metrics Measuring the quality of a given solution

Performance metrics Original Image Solution Image Direct comparison metric – No cell is placed correctly Neighbour comparison metric – Many neighbours are placed correctly 1 2 3 4 5 6 7 8 9 3 1 2 6 4 5 9 7 8

Estimation metrics Using performance metrics to imply the convergence of an algorithm is equivalent to using clues. (Best buddies metric)

Regions are often placed shifted to their original location The shifting problem Regions are often placed shifted to their original location

The shifting problem

The shifting problem – A simple example (a) Greedy solver basic solution (b) The basic solution segmentation map (c) Best shifted solution

Greedy algorithm with modules approach Chains of modules, each target a different problem

Greedy algorithm with modules approach Calculate compatibility Dissimilarity metric SAD metric Improve compatibility results Relaxation labeling Loopy belief propagation Greedy algorithm Shifting algorithm Segmentation methods Shifting methods

Improve compatibility results

Sample of 10 images Size of 400 × 400 Solver test results Sample of 10 images Size of 400 × 400

Solver test results - Example 1 Greedy with no added improvements With SAD metric With SAD metric + Shift (a) 0% direct, 22.168% neighbour, 18 seconds. (b) 0% direct, 53.2227% neighbour, 18 seconds (c) 100% direct, 100% neighbour, 23 seconds 256 parts

Solver test results - Example 2 Greedy with no added improvements With SAD metric With SAD metric + Shift Simple object, difficult background 256 parts

Solver test results - Example 3 Greedy with no added improvements With SAD metric With SAD metric + Shift Computer graphics, with repetitive patterns 256 parts

Q & A Thank you! Future research: Improve compatibility results algorithms (RL) GA to improve compatibility functions Smart shifting methods Thank you!