digital image processing, 2nd ed. © 2002 r. c. gonzalez & r. e. woods chapter 11...

29
Digital Image Processing, 2nd ed. www.imageprocessingbook.com 002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Distância de Hausdorff The Hausdorff distance is a measure between two sets, not necessarily with the same dimensions. It measures how a subset of points of a set A is near from a subset of a distinct set B. Formally, given two point sets A and B, the Hausdorff distance between them is defined as: ) (min max ) , ( )) , ( ), , ( max( ) , ( b a B A h onde A B h B A h B A H B b A a

Upload: angel-henderson

Post on 26-Mar-2015

250 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Distância de Hausdorff

The Hausdorff distance is a measure between two sets, not necessarily with the same dimensions. It measures how a subset of points of a set A is near from a subset of a distinct set B.

Formally, given two point sets A and B, the Hausdorff distance between them is defined as:

)(minmax),(

)),(),,(max(),(

baBAh

onde

ABhBAhBAH

BbAa

Page 2: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Seja B1 e B2 duas bordas em coordenadas cartesianas. A medida PDM entre elas é definida como:

Polyline Distance Mesure (PDM)

21

1221

221

2

##

),(),(

),(),(

),(min),(

1

2

BvérticeBvértice

BBdBBdd

BAdBBd

SAdBAd

vbvbErrorpoly

BAbvb

BSb

Page 3: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 4: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 5: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 6: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 7: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 8: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 9: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 10: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 11: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 12: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 13: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Algoritmo para Esqueletização

(a) 2 ≤ N(p1) ≤ 6;(b) s(P1) = 1;(c) p1 . p4 . p6 = 0;(d) p4. p6. p8 = 0

N(P1) é o número de vizinhos não zeros de p1;

S(p1) é o número de transições 0-1 naseqüência ordenada p2, p3, ...., p8, p9, p2

Page 14: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 15: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 16: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 17: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 18: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 19: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 20: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 21: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 22: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

O número de Euler aqui é: E(A) = 0 e E(B) = -1

Page 23: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 24: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 25: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 26: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 27: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Door-In-Door-Out Algoritmo para extrair coordenadas de Bordas

Page 28: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description

Page 29: Digital Image Processing, 2nd ed.  © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation

Digital Image Processing, 2nd ed.Digital Image Processing, 2nd ed.www.imageprocessingbook.com

© 2002 R. C. Gonzalez & R. E. Woods

Chapter 11Representation & Description

Chapter 11Representation & Description