1 / 11

Puzzle Solver

Puzzle Solver. Sravan Bhagavatula EE 638 Project Stanford ECE. Overview. Purpose of Project High Level Implementation Scale Invariant Feature Transform Explanation of Algorithm Results Future Work. Purpose of Project. Solving a jigsaw Finding placements

armani
Télécharger la présentation

Puzzle Solver

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Puzzle Solver SravanBhagavatula EE 638 Project Stanford ECE

  2. Overview • Purpose of Project • High Level Implementation • Scale Invariant Feature Transform • Explanation of Algorithm • Results • Future Work

  3. Purpose of Project • Solving a jigsaw • Finding placements • Based on locations in original picture

  4. High-level Implementation • Needs two inputs • Pieces • Original Image • Outputs • Numbered pieces • Original with placements

  5. Scale Invariant Feature Transform • Object Recognition technique (David Lowe) • Rotation / orientation change was a problem • Features obtained similar to neuron responses in inferior temporal cortex (for primate vision) Object Recognition from Local Scale-Invariant Features, D. G. Lowe, International Conference on Computer Vision, Corfu, Greece, Sept. 1999.

  6. Scale Invariant Feature Transform • KeypointLocations • Defined as extrema of a difference-of-Gaussian function applied in scale space • Local Image Description • Robust descriptor to local affine distortion

  7. Scale Invariant Feature Transform • Computationally efficient – one second/image order of 1000 features • Occlusions • Tested very well for rotation / scale changes • Chosen for invariance

  8. Explanation of Algorithm P – Image of pieces S – Image of complete picture • Find the keypoints in P and S with vl_sift • Output a modified P, with piece labels • Use kmeans() to cluster the keypoints in each piece • Take a small number of points per cluster • Around 20 – 30. • Compare these keypoints with ones in S • 2-norm comparison of the SIFT keypoint descriptors

  9. Explanation of Algorithm – Cont. • Find locations in S of matches • These basically count as the location of each piece • Classify each region of matches into clusters • I.E., choose a “central point” to designate as the label of the region • Output a modified version of S using these cluster labels • One that has the same labels as the one in P, such that similar pieces are in the right locations

  10. Results

  11. Future Work • Background of pieces needs to be uniform • Additional step to make the background uniform? • Try out orientation, lighting changes • Clustering without numPieces • Test it on much larger puzzles (~1000 piece, perhaps) • Computation time • Solve without the solution image • Much harder, more than just feature matching

More Related