Raghuraman Gopalan Center for Automation Research University of Maryland, College Park

Similar documents
Edges and Binary Image Analysis April 12 th, 2018

Previously. Edge detection. Today. Thresholding. Gradients -> edges 2/1/2011. Edges and Binary Image Analysis

Improving Shape retrieval by Spectral Matching and Meta Similarity

Shape Contexts. Newton Petersen 4/25/2008

Cell Clustering Using Shape and Cell Context. Descriptor

Edges and Binary Image Analysis. Thurs Jan 26 Kristen Grauman UT Austin. Today. Edge detection and matching

Articulation-Invariant Representation of Non-planar Shapes

Using the Inner-Distance for Classification of Articulated Shapes

Segmentation. Separate image into coherent regions

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Topic 6 Representation and Description

Image gradients and edges

A New Shape Matching Measure for Nonlinear Distorted Object Recognition

Local Features and Bag of Words Models

STATISTICS AND ANALYSIS OF SHAPE

EE 584 MACHINE VISION

Shape Classification and Cell Movement in 3D Matrix Tutorial (Part I)

Shape Classification Using Regional Descriptors and Tangent Function

Lecture 8: Fitting. Tuesday, Sept 25

Shape Descriptor using Polar Plot for Shape Recognition.

Finding 2D Shapes and the Hough Transform

Shape Context Matching For Efficient OCR

Lecture 10: Image Descriptors and Representation

Computer Vision. Recap: Smoothing with a Gaussian. Recap: Effect of σ on derivatives. Computer Science Tripos Part II. Dr Christopher Town

Shape Matching. Brandon Smith and Shengnan Wang Computer Vision CS766 Fall 2007

Announcements. Recognition. Recognition. Recognition. Recognition. Homework 3 is due May 18, 11:59 PM Reading: Computer Vision I CSE 152 Lecture 14

Deformable 2D Shape Matching Based on Shape Contexts and Dynamic Programming

Some material taken from: Yuri Boykov, Western Ontario

CS664 Lecture #21: SIFT, object recognition, dynamic programming

Rotation Invariant Image Registration using Robust Shape Matching

Visuelle Perzeption für Mensch- Maschine Schnittstellen

Model-Based Human Motion Capture from Monocular Video Sequences

Model-based Visual Tracking:

Object and Class Recognition I:

2: Image Display and Digital Images. EE547 Computer Vision: Lecture Slides. 2: Digital Images. 1. Introduction: EE547 Computer Vision

CoE4TN4 Image Processing

TA Section 7 Problem Set 3. SIFT (Lowe 2004) Shape Context (Belongie et al. 2002) Voxel Coloring (Seitz and Dyer 1999)

Segmentation & Clustering

Leaf Classification from Boundary Analysis

Shape Matching and Object Recognition using Low Distortion Correspondences

Intuitive, Localized Analysis of Shape Variability

Digital Image Processing Fundamentals

Robust 2D Shape Correspondence using Geodesic Shape Context

Category vs. instance recognition

Automatic Image Alignment (feature-based)

Lecture 14 Shape. ch. 9, sec. 1-8, of Machine Vision by Wesley E. Snyder & Hairong Qi. Spring (CMU RI) : BioE 2630 (Pitt)

Snakes, level sets and graphcuts. (Deformable models)

A SIFT Descriptor with Global Context

Instance-level recognition II.

Reeb Graphs Through Local Binary Patterns

Topological Mapping. Discrete Bayes Filter

Lecture 7: Morphological Image Processing

Statistical Shape Analysis

SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014

Shape recognition with edge-based features

Review for the Final

Machine vision. Summary # 6: Shape descriptors

Face Shape Classification Based on Region Similarity, Correlation and Fractal Dimensions

Instance-level recognition part 2

Recognizing hand-drawn images using shape context

Local Features: Detection, Description & Matching

CLASSIFICATION OF BOUNDARY AND REGION SHAPES USING HU-MOMENT INVARIANTS

Segmentation and Grouping April 19 th, 2018

Object Recognition using Visual Codebook

Visual Object Recognition

Def De orma f tion orma Disney/Pixar

Human pose estimation using Active Shape Models

Announcements, schedule. Lecture 8: Fitting. Weighted graph representation. Outline. Segmentation by Graph Cuts. Images as graphs

Announcements. Recognition I. Gradient Space (p,q) What is the reflectance map?

Distribution Distance Functions

Automatic Reconstruction of 3D Objects Using a Mobile Monoscopic Camera

Fuzzy based Multiple Dictionary Bag of Words for Image Classification

CS231A Section 6: Problem Set 3

Visuelle Perzeption für Mensch- Maschine Schnittstellen

EECS490: Digital Image Processing. Lecture #23

CHAPTER 1 Introduction 1. CHAPTER 2 Images, Sampling and Frequency Domain Processing 37

Augmented Reality VU. Computer Vision 3D Registration (2) Prof. Vincent Lepetit

Image Segmentation Using Wavelets

Feature Extraction and Image Processing, 2 nd Edition. Contents. Preface

human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC

An evaluation of Nearest Neighbor Images to Classes versus Nearest Neighbor Images to Images Instructed by Professor David Jacobs Phil Huynh

Prototype-based Intraclass Pose Recognition of Partial 3D Scans

Open-Curve Shape Correspondence Without Endpoint Correspondence

Correspondence. CS 468 Geometry Processing Algorithms. Maks Ovsjanikov

Shape Matching for Foliage Database Retrieval

Local Features Tutorial: Nov. 8, 04

Combining Appearance and Topology for Wide

Shape Matching and Object Recognition Using Dissimilarity Measures with Hungarian Algorithm

Lecture 4, Part 2: The SKS Algorithm

Lecture 6: Multimedia Information Retrieval Dr. Jian Zhang

Shape representation by skeletonization. Shape. Shape. modular machine vision system. Feature extraction shape representation. Shape representation

Chamfer matching. More on template matching. Distance transform example. Computing the distance transform. Shape based matching.

Chapter 11 Representation & Description

Feature description. IE PŁ M. Strzelecki, P. Strumiłło

Reinforcement Matching Using Region Context

CS 231A Computer Vision (Winter 2014) Problem Set 3

ANIMATING ANIMAL MOTION

Motion Estimation and Optical Flow Tracking

Robot vision review. Martin Jagersand

Announcements. Computer Vision I. Motion Field Equation. Revisiting the small motion assumption. Visual Tracking. CSE252A Lecture 19.

Transcription:

2D Shape Matching (and Object Recognition) Raghuraman Gopalan Center for Automation Research University of Maryland, College Park 1

Outline What is a shape? Part 1: Matching/ Recognition Shape contexts [Belongie, Malik, Puzicha TPAMI 02] Indexing [Biswas, Aggarwal, Chellappa TMM 10] Part 2: General discussion 2

Shape Some slides were adapted from Prof. Grauman s course at Texas Austin, and Prof. Malik s presentation at MIT 3

Where have we encountered shape before? Edges/ Contours Silhouettes 4

A definition of shape Defn 1: A set of points that collectively represent the object We are interested in their location information alone!! Defn 2: Mathematically, shape is an equivalence class under a group of transformations Given a set of points X representing an object O, and a set of transformations T, shape S={t(X) t\in T} Issues? Kendall 84 5

Applications of Shapes Analysis of anatomical structures Figure from Grimson & Golland Recognition, detection Fig from Opelt et al. Pose Morphology http://usuarios.lycos.es/lawebdelosfosiles/i Characteristic feature Fig from Belongie et al. 6

Part 1: 2D shape matching 7

Recognition using shapes (eg. model fitting) [Fig from Marszalek & Schmid, 2007] For example, the model could be a line, a circle, or an arbitrary shape. 8

Example: Deformable contours Visual Dynamics Group, Dept. Engineering Science, University of Oxford. Applications: Traffic monitoring Human-computer interaction Animation Surveillance Computer Assisted Diagnosis in medical imaging 9

Issues at stake Representation Holistic Part-based Matching How to compute distance between shapes? Challenges in recognition Information loss in 3D to 2D projection Articulations Occlusion. Invariance??? Any other issue? 10

Representation [Veltkamp 00] Holistic Moments Fourier descriptors Computational geometry Curvature scale-space 11

12

Part-based medial axis transform shock graphs 13

Matching: How to compare shapes? 14

Discussion for a set of points Hausdorff distance 15

Chamfer distance Average distance to nearest feature T: template shape a set of points I: image to search a set of points di(t): min distance for point t to some point in I 16

Chamfer distance How is the measure different than just filtering with a mask having the shape points? Edge image 17

Distance Transform Image features (2D) Distance Transform 1 0 1 2 3 4 3 2 1 0 1 2 3 3 2 1 1 0 1 2 3 2 1 0 1 0 0 1 2 1 0 1 2 1 1 2 1 0 1 2 3 4 2 3 2 3 2 2 1 1 0 0 1 1 2 2 5 4 4 3 2 1 0 1 Distance Transform is a function D( ) that for each image pixel p assigns a non-negative number D(p) corresponding to distance from p to the nearest feature in the image I Features could be edge points, foreground points, Source: Yuri Boykov 18

Distance transform original edges distance transform Value at (x,y) tells how far that position is from the nearest edge point (or other binary mage structure) >> help bwdist 19

Chamfer distance Average distance to nearest feature Edge image Distance transform image 20

Chamfer distance Edge image Distance transform image Fig from D. Gavrila, DAGM 1999 21

A limitation of active contours External energy: snake does not really see object boundaries in the image unless it gets very close to it. image gradients I are large only directly on the boundary 22

What limitations might we have using only edge points to represent a shape? How descriptive is a point? 23

Comparing shapes What points on these two sampled contours are most similar? How do you know? 24

Shape context descriptor [Belongie et al 02] Count the number of points inside each bin, e.g.: Count = 4... Count = 10 Compact representation of distribution of points relative to each point Shape context slides from Belongie et al. 25

Shape context descriptor 26

Comparing shape contexts Compute matching costs using Chi Squared distance: Recover correspondences by solving for least cost assignment, using costs C ij (Then use a deformable template match, given the correspondences.) 27

Invariance/ Robustness Translation Scaling Rotation Modeling transformations thin plate splines (TPS) Generalization of cubic splines to 2D Matching cost = f(shape context distances, bending energy of thin plate splines) Can add appearance information too Outliers? 28

An example of shape context-based matching 29

Some retrieval results 30

Efficient matching of shape contexts [Mori et al 05] Fast-pruning randomly select a set of points Detailed matching 31

Efficient matching of shape contexts [Mori et al 05] contd Vector quantization 32

Are things clear so far? 33

Detour - Articulation [Ling, Jacobs 07] 34

Inner distance vs. (2D) geodesic distance 35

The problem of junctions Is inner distance truly invariant to articulations? 36

37

Non-planar articulations? [Gopalan, Turaga, Chellappa 10] 38

Indexing approach to shape matching [Biswas et al 10] Why? 39

Indexing - framework Pair-wise Features: Inner distance, Contour length, relative angles etc. 40

41

Part 2 Shapes as equivalence classes Kendall s shape space Shape is all the geometric information that remains when the location, scale and rotation effects are filtered out from the object 42

Pre-shape Kendall s Statistical Shape Theory used for the characterization of shape. Pre-shape accounts for location and scale invariance alone. k landmark points (X:k\times 2) Translational Invariance: Subtract mean Scale Invariance : Normalize the scale CX 1 Z, 1 1 T c = where C = Ik k k C X k Some slides were adapted from Dr. Veeraraghavan s website 43

Feature extraction Silhoutte Landmarks Centered Landmarks Pre-shape vector 44

[Veeraraghavan, Roy-Chowdhury, Chellappa 05] Shape lies on a spherical manifold. Shape distance must incorporate the non- Euclidean nature of the shape space. 45

Affine subspaces [Turaga, Veeraraghavan, Chellappa 08] 46

Other examples Space of Blur Modeling group trajectories etc.. 47

Conclusion Shape as a set of points configuring the geometry of the object Representation, matching, recognition Shape contexts, Indexing, Articulation Shape as equivalence class under a group of transformations 48

Announcements HW 5 will be posted today; On Stereo, and Shape matching Due Nov. 30 (Tuesday after Thanksgiving) Turn in HW 4 Midterms solutions by weekend 49

Questions? 50