Texture and Image Pyramids

14
Texture and Image Pyramids Prof. Dr. Elli Angelopoulou Chair of Pattern Recognition (Computer Science 5) Friedrich-Alexander-University Erlangen-Nuremberg

description

Texture and Image Pyramids. P rof. Dr. Elli Angelopoulou Chair of Pattern Recognition (Computer Science 5) Friedrich-Alexander-University Erlangen-Nuremberg. Texture. Texture : a repeatable pattern of small elements Stripes Brick wall Appearance related Single leaf vs. foliage - PowerPoint PPT Presentation

Transcript of Texture and Image Pyramids

Page 1: Texture and Image Pyramids

Texture and Image Pyramids

Prof. Dr. Elli AngelopoulouChair of Pattern Recognition (Computer Science 5)

Friedrich-Alexander-University Erlangen-Nuremberg

Page 2: Texture and Image Pyramids

Page 2 Page 2

Elli Angelopoulou Texture and Image Pyramids

Texture

Texture : a repeatable pattern of small elements Stripes Brick wall

Appearance related Single leaf vs. foliage Single stripe vs. the stripes on a zebra

Texture can be formed by: The presence of a large number of small objects

Pebbles Coffee beans

Orderly patterns that look like large numbers of small elements Spots on cats Grains on wooden surfaces

Page 3: Texture and Image Pyramids

Page 3 Page 3

Elli Angelopoulou Texture and Image Pyramids

Examples of Texture

Page 4: Texture and Image Pyramids

Page 4 Page 4

Elli Angelopoulou Texture and Image Pyramids

Examples of Texture

Page 5: Texture and Image Pyramids

Page 5 Page 5

Elli Angelopoulou Texture and Image Pyramids

Texture Filters

Sample texture filters 2 dot filters 6 bar filters

Original image

Squared response of each texture filter.

Page 6: Texture and Image Pyramids

Page 6 Page 6

Elli Angelopoulou Texture and Image Pyramids

Texture Filters

Same sample texture filters 2 dot filters 6 bar filters

Original image at half size

Squared response of each texture filter.

Filtering was performed at coarser scale, since the filter size remained fixed but the image was half the size of the original.

Page 7: Texture and Image Pyramids

Page 7 Page 7

Elli Angelopoulou Texture and Image Pyramids

Texture Filtering at Different Scales

Finer Scale

Enlarged coarser scale

Page 8: Texture and Image Pyramids

Page 8 Page 8

Elli Angelopoulou Texture and Image Pyramids

The Gaussian Pyramid

Low-pass Pyramid First smooth an image

Downsample smoothed image, typically by a factor of two.

Repeat

Each successive layer is a low-pass filtered image of the higher resolution image.

Page 9: Texture and Image Pyramids

Page 9 Page 9

Elli Angelopoulou Texture and Image Pyramids

Gaussian Pyramid Example

Page 10: Texture and Image Pyramids

Page 10 Page 10

Elli Angelopoulou Texture and Image Pyramids

The Laplacian Pyramid

Band-pass Pyramid Given a Gaussian (or other lowpass) pyramid

Store the difference between adjacent levels. Lowest resolution image must be first upsampled via some form of interpolation to allow for pixel-wise difference computation.

Each successive layer stores the information lost (the error) between an expanded coarser level and its preceding finer level.

Caution: The Laplacian pyramid, does not compute the Laplacian of Gaussian (LoG) of an image.

Page 11: Texture and Image Pyramids

Page 11 Page 11

Elli Angelopoulou Texture and Image Pyramids

Laplacian Pyramid Example

Page 12: Texture and Image Pyramids

Page 12 Page 12

Elli Angelopoulou Texture and Image Pyramids

Shape from Texture

When the texture pattern is known, we can use its distortion to infer shape.

We can only compute the surface normals.

The sphere on the left is projected on the image plane using perspective projection. The one on the right using orthographic projection.

Texture images courtesy of J.T. Todd, L. Thaler, T.M.H. Dijkstra, J.J. Koenderink, and A.M.L. Kappers.

Page 13: Texture and Image Pyramids

Page 13 Page 13

Elli Angelopoulou Texture and Image Pyramids

Sample Results of Shape from Texture

Images courtesy of A.M. Loh

Page 14: Texture and Image Pyramids

Page 14 Page 14

Elli Angelopoulou Texture and Image Pyramids

Most of the material in this presentation is based on the slides by D. A. Forsyth for his book “Computer Vision - A Modern Approach”