Image Content Representation

Similar documents
Spline Curves. Color Interpolation. Normal Interpolation. Last Time? Today. glshademodel (GL_SMOOTH); Adjacency Data Structures. Mesh Simplification

EECS 487: Interactive Computer Graphics

Curves & Surfaces. Last Time? Today. Readings for Today (pick one) Limitations of Polygonal Meshes. Today. Adjacency Data Structures

Last Time: Curves & Surfaces. Today. Questions? Limitations of Polygonal Meshes. Can We Disguise the Facets?

Today. Curves & Surfaces. Can We Disguise the Facets? Limitations of Polygonal Meshes. Better, but not always good enough

STEREO PLANE MATCHING TECHNIQUE

AML710 CAD LECTURE 11 SPACE CURVES. Space Curves Intrinsic properties Synthetic curves

CENG 477 Introduction to Computer Graphics. Modeling Transformations

A Matching Algorithm for Content-Based Image Retrieval

Schedule. Curves & Surfaces. Questions? Last Time: Today. Limitations of Polygonal Meshes. Acceleration Data Structures.

STRING DESCRIPTIONS OF DATA FOR DISPLAY*

4.1 3D GEOMETRIC TRANSFORMATIONS

Sam knows that his MP3 player has 40% of its battery life left and that the battery charges by an additional 12 percentage points every 15 minutes.

Implementing Ray Casting in Tetrahedral Meshes with Programmable Graphics Hardware (Technical Report)

Image segmentation. Motivation. Objective. Definitions. A classification of segmentation techniques. Assumptions for thresholding

Shortest Path Algorithms. Lecture I: Shortest Path Algorithms. Example. Graphs and Matrices. Setting: Dr Kieran T. Herley.

MORPHOLOGICAL SEGMENTATION OF IMAGE SEQUENCES

Evaluation and Improvement of Region-based Motion Segmentation

CAMERA CALIBRATION BY REGISTRATION STEREO RECONSTRUCTION TO 3D MODEL

Chapter Six Chapter Six

AUTOMATIC 3D FACE REGISTRATION WITHOUT INITIALIZATION

Landmarks: A New Model for Similarity-Based Pattern Querying in Time Series Databases

Fill in the following table for the functions shown below.

Rao-Blackwellized Particle Filtering for Probing-Based 6-DOF Localization in Robotic Assembly

Gauss-Jordan Algorithm

4. Minimax and planning problems

Video Content Description Using Fuzzy Spatio-Temporal Relations

In Proceedings of CVPR '96. Structure and Motion of Curved 3D Objects from. using these methods [12].

Numerical Solution of ODE

Representing Non-Manifold Shapes in Arbitrary Dimensions

X-Splines : A Spline Model Designed for the End-User

Optimal Crane Scheduling

Lecture 18: Mix net Voting Systems

Engineering Mathematics 2018

A Face Detection Method Based on Skin Color Model

MOTION DETECTORS GRAPH MATCHING LAB PRE-LAB QUESTIONS

PART 1 REFERENCE INFORMATION CONTROL DATA 6400 SYSTEMS CENTRAL PROCESSOR MONITOR

NURBS rendering in OpenSG Plus

MATH Differential Equations September 15, 2008 Project 1, Fall 2008 Due: September 24, 2008

A non-stationary uniform tension controlled interpolating 4-point scheme reproducing conics

Collision-Free and Curvature-Continuous Path Smoothing in Cluttered Environments

NEWTON S SECOND LAW OF MOTION

COMP26120: Algorithms and Imperative Programming

LAMP: 3D Layered, Adaptive-resolution and Multiperspective Panorama - a New Scene Representation

Computer representations of piecewise

Projective geometry- 2D

Video-Based Face Recognition Using Probabilistic Appearance Manifolds

SOT: Compact Representation for Triangle and Tetrahedral Meshes

Real Time Integral-Based Structural Health Monitoring

Research Article Auto Coloring with Enhanced Character Registration

A Hierarchical Object Recognition System Based on Multi-scale Principal Curvature Regions

Network management and QoS provisioning - QoS in Frame Relay. . packet switching with virtual circuit service (virtual circuits are bidirectional);

Image warping Li Zhang CS559

Audio Engineering Society. Convention Paper. Presented at the 119th Convention 2005 October 7 10 New York, New York USA

Integro-differential splines and quadratic formulae

Mobile Robots Mapping

M y. Image Warping. Targil 7 : Image Warping. Image Warping. 2D Geometric Transformations. image filtering: change range of image g(x) = T(f(x))

Assignment 2. Due Monday Feb. 12, 10:00pm.

A Principled Approach to. MILP Modeling. Columbia University, August Carnegie Mellon University. Workshop on MIP. John Hooker.

3-D Object Modeling and Recognition for Telerobotic Manipulation

parametric spline curves

Restorable Dynamic Quality of Service Routing

Traditional Rendering (Ray Tracing and Radiosity)

Effects needed for Realism. Ray Tracing. Ray Tracing: History. Outline. Foundations of Computer Graphics (Fall 2012)

Simultaneous Precise Solutions to the Visibility Problem of Sculptured Models

A Review on Block Matching Motion Estimation and Automata Theory based Approaches for Fractal Coding

BOUNDARY REPRESENTATION MODELLING WITH LOCAL TOLERANCES

Image warping/morphing

A Numerical Study on Impact Damage Assessment of PC Box Girder Bridge by Pounding Effect

Virtual Recovery of Excavated Archaeological Finds

Precise Voronoi Cell Extraction of Free-form Rational Planar Closed Curves

COSC 3213: Computer Networks I Chapter 6 Handout # 7

It is easier to visualize plotting the curves of cos x and e x separately: > plot({cos(x),exp(x)},x = -5*Pi..Pi,y = );

Motor Control. 5. Control. Motor Control. Motor Control

Systems & Biomedical Engineering Department. Transformation

Probabilistic Detection and Tracking of Motion Discontinuities

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Handling uncertainty in semantic information retrieval process

Introduction to Computer Graphics 10. Curves and Surfaces

Dynamic Depth Recovery from Multiple Synchronized Video Streams 1

Maximum Flows: Polynomial Algorithms

A Bayesian Approach to Video Object Segmentation via Merging 3D Watershed Volumes

BI-TEMPORAL INDEXING

DAGM 2011 Tutorial on Convex Optimization for Computer Vision

Fully Dynamic Algorithm for Top-k Densest Subgraphs

Constant-Work-Space Algorithms for Shortest Paths in Trees and Simple Polygons

Outline. CS38 Introduction to Algorithms 5/8/2014. Network flow. Lecture 12 May 8, 2014

Section 2. Mirrors and Prism Systems

Projection & Interaction

Segmentation by Level Sets and Symmetry

Visual Perception as Bayesian Inference. David J Fleet. University of Toronto

Streamline Pathline Eulerian Lagrangian

Scattering at an Interface: Normal Incidence

Flow graph/networks MAX FLOW APPLICATIONS. Flow constraints. Max flow problem 4/26/12

Real-Time Non-Rigid Multi-Frame Depth Video Super-Resolution

Chapter 8 LOCATION SERVICES

Improved TLD Algorithm for Face Tracking

Robust Segmentation and Tracking of Colored Objects in Video

Exercise 3: Bluetooth BR/EDR

An Improved Square-Root Nyquist Shaping Filter

Transcription:

Image Conen Represenaion Represenaion for curves and shapes regions relaionships beween regions E.G.M. Perakis Image Represenaion & Recogniion 1

Reliable Represenaion Uniqueness: mus uniquely specify an image oherwise dissimilar images migh have similar represenaions Invariance: mus be invarian o viewing condiions: ranslaion, roaion, scale invarian, viewing angle changes and symmeric ransformaions Efficiency: compuaionally efficien E.G.M. Perakis Image Represenaion & Recogniion 2

More Crieria Robusness: resisance o moderae amouns of deformaion and noise disorions and noise should a leas resul in variaions in he represenaions of similar magniude Scalabiliy: mus conain informaion abou he image a many levels of deail images are deemed similar even if hey appear a differen view-scales (resoluion) E.G.M. Perakis Image Represenaion & Recogniion 3

Image Recogniion Mach he represenaion of an unknown image wih represenaions compued from known images (model based recogniion) Maching akes in wo represenaions and compues heir disance he more similar he images are he lower he heir disance is (and he reverse) E.G.M. Perakis Image Represenaion & Recogniion 4

Shape Represenaion The shapes are represened by conours or curves Conour: a linked lis of edge pixels open or closed region boundaries much space overhead Curve: he mahemaical model of a conour polygons splines E.G.M. Perakis Image Represenaion & Recogniion 5

Shape Maching The algorihm akes in wo shapes and compues heir disance he correspondences beween similar pars in he shapes E.G.M. Perakis Image Represenaion & Recogniion 6

Polylines Sequence of line segmens approximaing a conour joined end o end Polyline: P={(x 1,y 1 ),(x 2,y 2 ),.,(x n,y n )} for closed conours x 1 =x n, x n =y n Verices: poins where line segmens are joined E.G.M. Perakis Image Represenaion & Recogniion 7

Polyline Compuaion Sar wih a line segmen beween he end poins find he furhes poin from he line if is disance > T a new verex is insered a he poin repea he same for he wo curve pieces E.G.M. Perakis Image Represenaion & Recogniion 8

Hop along algorihm Works wih liss of k pixels a a ime and adjuss heir line approximaion 1. ake he firs k pixels 2. fi a line segmen beween hem 3. compue heir disances from he line 4. if a disance > T ake k < k pixels and go o sep 2 5. if he orienaion of he curren and previous line segmens are similar, merge hem o one 6. advance k pixels and go o sep 2 E.G.M. Perakis Image Represenaion & Recogniion 9

B-Splines guided polygon spline Piecewise polynomial curves beer aesheic represenaion analyic properies coninuiy of firs and second derivaives E.G.M. Perakis Image Represenaion & Recogniion 10

Types of Splines n=2: quadraic spline n=1: linear spline n=3: cubic spline The spline varies less han he guided polygon The spline lies beween he convex hull of groups of n+1 consecuive poins n is he degree of he inerpolaive polynomial cubic splines are frequenly used E.G.M. Perakis Image Represenaion & Recogniion 11

Spline Inerpolaion The inerpolan hough a se of poins x i,i=1,2, n is a vecor piecewise polynomial funcion x() n 1 + x( ) = i= 0 vc ( ) v i s are he verices of he guided polygon here are n+2 coefficiens he addiional 2 coefficiens are deermined from boundary condiions by seing curvaure = 0 a end poins we ge v 1 =(v 0 +v 2 )/2, v n =(v n-1 +v n+1 )/2 i i E.G.M. Perakis Image Represenaion & Recogniion 12

x( ) n 1 = + = i 0 vc ( ) i i E.G.M. Perakis Image Represenaion & Recogniion 13

E.G.M. Perakis Image Represenaion & Recogniion 14 Spline Base Funcions 6 1 3 3 ) ( 6 4 6 3 ) ( 6 1 3 3 3 ) ( 6 ) ( 2 3 3 2 3 2 2 3 1 3 0 + + = = + = + + + = = C C C C x() in (i,i+1) is compued as C i (s): piecewise cubic polynomials ) ( ) ( ) ( 1) ( ) ( 0 2 1 1 2 3 1 i C v i C v i v C C v x i i i i + + + = + +

Chain Codes Recording of he change of direcion along a conour (4 or 8 direcions) sar a he firs edge and go clockwise he derivaive of he chain code is a roaion invarian E.G.M. Perakis Image Represenaion & Recogniion 15

Commens Independency of saring poin is achieved by roaing he code unil he sequence of codes forms he minimum possible ineger Sensiive o noise and scale Exension: approximae he boundary using chain codes (l i,a i ), (Tsai & Yu, IEE PAMI 7(4):453-462, 1985) l i : lengh a i : angle difference beween consecuive vecors E.G.M. Perakis Image Represenaion & Recogniion 16

Maching Chain Codes Ediing disance D(A,B) D(A,B): minimum cos o ransform A o B operaions: inser, delee, change coss: cos of changing o is 2 cos of changing o is 1 cos of deleion is 2 cos of inserion is 2 E.G.M. Perakis Image Represenaion & Recogniion 17

a a a a a a b b c A c d d b B c c c d b b C c d d A: aabbccdd B: aaabcccd C: a bbc dd C: a bbb dd D(A,C) = 4 D(B,C) = 4 E.G.M. Perakis Image Represenaion & Recogniion 18

Maching Algorihm Compue D(A,B) #A, #B lenghs of A, B 0: null symbol R: cos of an edi operaion D(0,0) = 0 for i = 0 o #A: D(i:0) = D(i-1,0) + R(A[i] 0); for j = 0 o #B: D(0:j) = D(0,j-1) + R(0 B[j]); for i = 0 o #A for j = 0 o #B { 1. m 1 = D(i,j-1) + R(0 B[j]); 2. m 2 = D(i-1,j) + R(A[i] 0); 3. m 3 = D(i-1,j-1) + R(A[i] B[j]); 4. D(i,j) = min{m 1, m 2, m 3 }; } E.G.M. Perakis Image Represenaion & Recogniion 19

i 0 1 2 3 4 5 6 j a b b c d d 0 0 1 2 3 4 5 6 1 a 1 0 1 2 3 4 5 2 a 2 1 1 2 3 4 5 3 a 3 2 2 2 3 4 5 4 b 4 3 2 2 3 4 5 5 c 5 4 3 2 2 3 4 6 c 6 5 4 4 3 3 4 7 c 7 6 5 5 4 4 4 8 d 8 7 6 6 5 4 4 iniializaion cos oal cos E.G.M. Perakis Image Represenaion & Recogniion 20

Ψ-s Slope Represenaion Plo of angen Ψ versus arc lengh s Ψ-s is a represenaion of he shape of a conour line segmens horizonal line segmens in Ψ-s circular arcs oher line segmens in Ψ-s use Ψ-s o segmen a curve ino lines and arcs for a closed conour Ψ-s is periodic Ψ-s is ranslaion and scale invarian he derivaive of Ψ-s is also roaion invarian E.G.M. Perakis Image Represenaion & Recogniion 21

Ψ-s Examples From Ballard and Brown 84 a) riangular curve b) regions of high curvaure c) resulan segmenaion E.G.M. Perakis Image Represenaion & Recogniion 22

E.G.M. Perakis Image Represenaion & Recogniion 23 Fourier Represenaion Fourier ransform of conour represenaion u(n) = x(n) + j y(n), n = 0,1,2,N-1 or u(n) = Ψ(n) 2πn/L (subracs rising componen) for closed curves u(n) is periodic N kn j N n N k N kn j e n u N k a N n e k a n u π π 2 1 0 1 0 2 ) ( 1 ) ( 1,0 ) ( ) ( = = = =

Fourier Descripors (FDs) The complex coefficiens a(k) are called Fourier Descripors (FD) of he boundary use he lower order FD s if only he firs M coefficiens are used M u( n) = 1 k= 0 a( k) e j2πkn N,0 u(n) is an approximaion of u(n) he approximaion depends on M 1 Shape disance: disance beween vecors of FD s E.G.M. Perakis Image Represenaion & Recogniion 24 n M

FDs and Invariance Simple geomeric ransformaions: ranslaion : u(n) + a(k) + δ(κ) roaion : u(n)e jθ a(k)e jθ scaling : su(n) sa(k) saring poin : u(n - ) a(k) e j2πk/n FDs of Ψ-s: invarian FDs of (x(n),y(n)): see Wallace & Winz Efficien 3-D Aircraf Recogniion using FDs, CGIP, 13:99-126, 1980 E.G.M. Perakis Image Represenaion & Recogniion 25

FDs and Occluded Shapes FDs of derivaive of Ψ-s: roaion invariance Ignoring a(0): ranslaion invariance Normalizing all FD s by a(1) : scale invariance Vecor of M coefficiens saring from a(2) E.G.M. Perakis Image Represenaion & Recogniion 26

Momen Invarians [Hu 62] An objec is represened by is binary image R A se of 7 feaures can be defined based on cenral momens m pq = x y m, x = y = p q 10 01 ( x, y) R m00 m00 p q µ pq = ( x x ) ( y y ), p,q = 0,1,2... ( x,y ) R E.G.M. Perakis Image Represenaion & Recogniion 27 m

Cenral Momens [Hu 62] Invarian o ranslaion and roaion Use η pq =μ pq /μ γ 00 where γ=(p+q)/2 + 1 for p+q=2,3 insead of μ s in he above formulas o achieve scale invariance E.G.M. Perakis Image Represenaion & Recogniion 28

Scale-Space Descripions (SSD) Shape maching using represenaions a various level of deail (resoluion) Mehod: Scale-Space Descripions and Recogniion of Planar Curves, F. Mokharian and A. Mackworh, IEEE PAMI 1986 SSDs were originally proposed by Wikin E.G.M. Perakis Image Represenaion & Recogniion 29

Zero Crossings SSD: represenaion of zero-crossings of he curvaure k for all possible values of σ Curve: {x(), y()}, in [0,1] Curvaure: k = dφ/d=1/ρ k = xy yx + ) 2 2 ( x y y' = x = x = E.G.M. Perakis Image Represenaion & Recogniion 30 3/ 2 ρ 2 dy d y, y' ' = 2 dx dx dx dy, y = d d 2 2 d x d y, y = 2 2 d d

E.G.M. Perakis Image Represenaion & Recogniion 31 Curvaure Compue k on x(),y() a various levels of deail convolve wih... ), ( ) ( ), ( 2 1 ) ( ), ( ) ( ), ( 2 1 ), ( 2 2 2 2 2 ) ( 2 = = = = = σ σ π σ σ σ π σ σ σ σ g y y du e u x g x x e g u

Smoohing a Curve κ(,σ) E.G.M. Perakis Image Represenaion & Recogniion 32

SSD of Africa E.G.M. Perakis Image Represenaion & Recogniion 33

Maching SSDs Varian of A* algorihm 1. compare he wo higher curves firs 2. compare he curves included saring from he wo higher curves ec. unil all included curves are mached 3. compare he curves nex o he wo higher Some curves may be missing assign a cos for missing curves E.G.M. Perakis Image Represenaion & Recogniion 34

Maching Scale-Space Curves σ A ll 1 σ B ll 2 d h 2 1 lr 1 d1 h 2 lr 2 D(A,B) = h 1 - h 2 + ll 1 - ll 2 + lr 1 - lr 2 Trea ranslaion and scaling: compue (d,k) = k + d, k = h 1 /h 2, d = d 1 - d 2, σ = κσ mormalize A, B before maching Cos of maching: leas cos maching E.G.M. Perakis Image Represenaion & Recogniion 35

Relaional Srucures Represenaions of he relaionships beween objecs Aribued Relaional Graphs (ARGs) Semanic Nes (SNs) Proposiional Logic May include or combined wih represenaions of objecs E.G.M. Perakis Image Represenaion & Recogniion 36

Aribued Relaional Graphs (ARGs) Objecs correspond o nodes, relaionships beween objecs correspond o arcs beween nodes boh nodes and arcs may be labeled label ypes depend on applicaion and designer usually feaure vecors recogniion is based on graph maching which is NP-hard E.G.M. Perakis Image Represenaion & Recogniion 37

ARG for Cup direced graph Node feaure: compacness = area/perimeer 2 Arc feaures: bigger (area 1 /area 2 ) adjacency (percenage of common boundary), disance beween ceners of graviy E.G.M. Perakis Image Represenaion & Recogniion 38

ARG for Face Node feaure: perimeer l Arc feaures: relaive disance r, angle wih he horizonal a E.G.M. Perakis Image Represenaion & Recogniion 39

ARG for Doll Connecion graph represening he connecions beween he pieces of an objec E.G.M. Perakis Image Represenaion & Recogniion 40

Semanic Nes (SNs) Generalizaion of ARG SNs represen informaion a he high semanic level e.g. a represenaion of chairs around a able E.G.M. Perakis Image Represenaion & Recogniion 41

Hierarchical SNs (HSN) Informaion organized in ISA and PART-OF hierarchies ISA: generalizaion hierarchy, generalizaion of classes and relaionships beween insances and classes PART-OF: relaionships beween pars and whole Inheriance: lower level classes inheri properies of he higher level classes House Building Camel Mammal E.G.M. Perakis Image Represenaion & Recogniion 42

Example HSN op of a ransisor SN of a silicon chip ransisor silicon chip E.G.M. Perakis Image Represenaion & Recogniion 43

Long / Shor Term Memory Long Term Memory (LTM): schema or model represenaion of an image a high - semanic level virual classes in C++ Shor Term Memory (STM): represenaion of insances o LTM objecs insances o virual classes E.G.M. Perakis Image Represenaion & Recogniion 44

E.G.M. Perakis Image Represenaion & Recogniion 45

Proposiional Represenaions Collecion of facs and rules in informaion base new facs are deduced from exising facs ransisor(region 1 ) ransisor(region 2 ) greaer(area(region 1 ), 100.0) & less(area(region 1 ), 4.0) & is-conneced(region 1,region 2 ) & base(region 2 ) ransisor(region 2 ) E.G.M. Perakis Image Represenaion & Recogniion 46

Commens Pros: clear and compac expandable represenaions of image knowledge Cons: non-hierarchical no easy o rea uncerainy and incompaibiliies complexiy of maching E.G.M. Perakis Image Represenaion & Recogniion 47

Maching Relaional Srucures Maching beween A, B is ransformed o a graph or sub-graph isomorphism problem graph isomorphism: one o one mapping of nodes and arcs beween he srucures of A, B (NP-hard!) sub-graph isomorphism: isomorphism of a subgraph of A and B (harder!!) double sub-graph isomorphism: isomorphism of a sub-graph of A and a sub-graph of B (even harder!!!) E.G.M. Perakis Image Represenaion & Recogniion 48

(a), (b) are isomorphic (a), (c ) have many sub-graph isomorphisms (a), (d) have many double sub-graph isomorphisms E.G.M. Perakis Image Represenaion & Recogniion 49

Maching Algorihm Find all sub-graph isomorphisms Branch and bound search wih backracking a each sep expand a parial soluion a all possible direcions when search fails (a parial soluion can be expanded) backrack o an earlier parial soluion he cos of complee soluion is an upper bound o prune he expansion of non-promising soluions wih greaer cos keep he leas cos complee soluion E.G.M. Perakis Image Represenaion & Recogniion 50

he graph of (a) has o be mached wih he graph of (b) arcs are unlabeled differen shapes denoe differen shape properies: differen shapes canno be mached parial maches complee maches E.G.M. Perakis Image Represenaion & Recogniion 51

Maching Cos Cos of maching: he maching wih he leas cos cos: disance beween heir feaure vecors cos of maching nodes plus o he cos of maching arcs plus he cos of missing nodes and arcs (someimes exra or missing nodes or arcs in model graph are ignored) E.G.M. Perakis Image Represenaion & Recogniion 52

query model E.G.M. Perakis Image Represenaion & Recogniion 53

Leas Cos Maching E.G.M. Perakis Image Represenaion & Recogniion 54