1.03k likes | 1.28k Views
Shape-Representation. and. Shape Similarity. Part 1: Shapes. Dr. Rolf Lakaemper. May I introduce myself…. Rolf Lakaemper PhD (Doctorate Degree) 2000 Hamburg University, Germany Currently Assist. Professor at Department of Computer and Information Sciences,
E N D
Shape-Representation and Shape Similarity Part 1: Shapes Dr. Rolf Lakaemper
May I introduce myself… • Rolf Lakaemper • PhD (Doctorate Degree) 2000 • Hamburg University, Germany • Currently Assist. Professor at Department • of Computer and Information Sciences, • Temple University, Philadelphia, USA • Main Research Area: Computer Vision
Motivation WHY SHAPE ?
Motivation These objects are recognized by…
Motivation These objects are recognized by…
Why Shape ? Several applications in computer vision use shape processing: • Object recognition • Image retrieval • Processing of pictorial information • Video compression (eg. MPEG-7) … This presentation focuses on object recognition and image retrieval.
Motivation Typical Application: Multimedia: Image Database Query by Shape / Texture / …(Color / Keyword)
Blobworld Example 1: Blobworld http://elib.cs.berkeley.edu/photos/blobworld/start.html BLOB = “Binary Large Object”, “an indistinct shapeless (really ?) form”
Blobworld Blobworld: Query by Shape / Texture / Location / Color Selected Blob Query: by Color and Texture of Blob Result: Blobs with similar Color and Texture Satisfying ?
Blobworld Blobworld: Query by Shape / Texture / Location / Color Selected Blob Query: by Shape of Blob Result: …are these shapes similar ? Satisfying ?
Blobworld Result: SHAPE recognition seems to be necessary but not easy !
ISS Database Example 2: ISS-Database http://knight.cis.temple.edu/~shape
ISS Database ISS: Query by Shape / Texture Sketch of Shape Query: by Shape only Result: Satisfying ?
ISS Database SHAPE recognition seems to be possible and leads to satisfying results !
ISS Database The ISS-Database will be topic of part IV of this tutorial …so stay alert !
Overview • Overview Part 1 • Why shape ? • What is shape ? • Shape similarity • Metrices • Classes of similarity measures • Feature Based Coding • Examples for global similarity
Why Shape ? Why Shape ? • Shape is probably the most important property that is perceived about objects. It allows to predict more facts about an object than other features, e.g. color (Palmer 1999) • Thus, recognizing shape is crucial for object recognition. In some applications it may be the only feature present, e.g. logo recognition
Why Shape ? • Shape is not only perceived by visual means: • tactical sensors can also provide shape information that are processed in a similar way. • robots’ range sensor provide shape information, too.
Shape • Typical problems: • • How to describe shape ? • What is the matching transformation? • No one-to-one correspondence • • Occlusion • • Noise
Shape • Partial match: only part of query appears in part of database shape
What is Shape ? • What is Shape ? • Plato, "Meno", 380 BC: • "figure is the only existing thing that is found always following color“ • "figure is limit of solid"
What is Shape ? … let’s start with some properties easier to agree on: • Shape describes a spatial region Shape is a (the ?) specific part of spatial cognition • Typically addresses 2D space why ?
What is Shape ? • 3D => 2D projection
What is Shape ? • the original 3D (?) object
What is Shape ? Moving on from the naive understanding, some questions arise: • Is there a maximum size for a shape to be a shape? • Can a shape have holes? • Does shape always describe a connected region? • How to deal with/represent partial shapes (occlusion / partial match) ?
What is Shape ? Shape or Not ? Continuous transformation from shape to no shape: Is there a point when it stops being a shape?
What is Shape ? Shape or Not ? Continuous transformation from shape to two shapes: Is there a point when it stops being a single shape?
What is Shape ? But there’s no doubt that a single, connected region is a shape. Right ?
What is Shape ? A single, connected region. But a shape ? A question of scale !
What is Shape ? • There’s no easy, single definition of shape • In difference to geometry, arbitrary shape is not covered by an axiomatic system • Different applications in object recognition focus on different shape related features • Special shapes can be handled • Typically, applications in object recognition employ a similarity measure to determine a plausibility that two shapes correspond to each other
Similarity So the new question is: What is Shape Similarity ? or How to Define a Similarity Measure
Similarity Again: it’s not so simple (sorry). There’s nothing like THE similarity measure
Similarity which similarity measure, depends on which required properties, depends on which particular matching problem, depends on which application
Similarity …which application Simple Recognition (yes / no) ... robustness Common Rating (best of ...) Analytical Rating (best of, but...) ... invariance to basic transformations
Similarity …which problem • computation problem: d(A,B) • decision problem: d(A,B) <e ? • decision problem: is there g: d(g(A),B) <e ? • optimization problem: find g: min d(g(A),B)
Similarity …which properties: We concentrate here on the computational problem d(A,B)
Similarity Measure • Requirements to a similarity measure • Should not incorporate context knowledge (no AI), thus computes generic shape similarity
Similarity Measure • Requirements to a similarity measure • Must be able to deal with noise • Must be invariant with respect to basic transformations Next: Strategy Scaling (or resolution) Rotation Rigid / non-rigid deformation
Similarity Measure • Requirements to a similarity measure • Must be able to deal with noise • Must be invariant with respect to basic transformations • Must be in accord with human perception
Similarity Measure Some other aspects worth consideration: • Similarity of structure • Similarity of area Can all these aspects be expressed by a single number?
Similarity Measure • Desired Properties of a Similarity Function C • (Basri et al. 1998) • C should be a metric • C should be continous • C should be invariant (to…)
Properties Metric Properties S set of patterns Metric: d: S ´ S ® R satisfying 1. Self-identity: " xÎS, d(x,x)=0 2. Positivity: " x ¹yÎS, d(x,y)>0 3. Symmetry: " x, yÎS, d(x,y)= d(y,x) 4. Triangle inequality: " x, y, zÎS, d(x,z)£d(x,y)+d(y,z) • Semi-metric: 1, 2, 3 • Pseudo-metric: 1, 3, 4 • S with fixed metric d is called metric space
Properties • Self-identity: " xÎS, d(x,x)=0 • Positivity: " x ¹yÎS, d(x,y)>0 • …surely makes sense