Top Banner
Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 http://www.quicktopic.com/35/H/NHVD8SZQQJHZ
31

Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Image Features, Hough Transform

Image Pyramid

CSE399b, Spring 06

Computer Vision

Lecture 10

http://www.quicktopic.com/35/H/NHVD8SZQQJHZ

Page 2: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Boundary and Edge: Edge detection-> lines

Page 3: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

An example:

S.F. in fog S.F. in Canny

Page 4: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

An example:

S.F. in fog S.F. with Hough lines

Page 5: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Hough Transform

• image edges needs to be grouped into lines and junctions• Hough transform: Detect lines in an edge image

Page 6: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Line Representation

• is the distance from the origin to the line

is the norm direction of the line

• Image space : Hough space :•

•point in image space ==> a curve in hough space

Page 7: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Line Representation

• is the distance from the origin to the line

is the norm direction of the line

• Image space : Hough space :•

•point in image space ==> a curve in hough space

For every theta, set:

Page 8: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Hough Space

• point in hough space ==> line in image space

Page 9: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Intersection of the curves

• Each pixel in the image => One curve in Hough space

• What is the intersection of the curves?

Page 10: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Hough Transform

• Points in the line : • In hough space, all the curves pass:• So the intersection of the curves is the parameters of the line! • Next question:

How to find the intersection ?

Page 11: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Voting Scheme

• Each edge pixel in the image votes in Hough space fora series of

• Choose the of maximum votes

Page 12: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Basic Hough Transform

Page 13: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Example

Page 14: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Example

Page 15: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Extension

• Choose the sampling of

• Use gradient of the image voting for specific

• Iteratively find the maximum votes and remove

corresponding edge pixels

• Suppress edge pixels close to the detected lines

Page 16: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Example of Using Estimated Edge Orientation+Iterative line removal

Page 17: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .
Page 18: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

A detour through scale space

Page 19: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Image encoding-decoding

1) Image statistics: pixel in neighborhood are correlated, encode per pixel value is redundant

2) Predictive Coding:use raster scan, predict based on pass value, and store only the error in prediction. Simple and fast

1010 20 22 24 24

1010 15 21 23 24

signal

prediction

00 5 1 1 0Error-encoded

Page 20: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Non-causal prediction

non-causal involves typically transform, or solution to a large sets of equations. Encode block by block. Bigger compression but slower.

1010 20 22 24 24

1310 17 22 23 24

signal

prediction

20 3 0 1 0Error-encoded

Page 21: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Gaussian Pyramid for encoding

1) Prediction using weighted local Gaussian average2) Encode the difference as the Laplacian3) Both Laplacian and the Averaged image is easy to encode

[Burt & Adelson, 1983]

Page 22: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Gaussian pyramid

Page 23: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Choice in weighting function

Gaussian

Page 24: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Image Expansion

Page 25: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Image Expansion

Page 26: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .
Page 27: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

+ -

Laplaican Image

Page 28: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Gaussian pyramid is smooth=> can be subsampled

Laplacian pyramid has narrow band of frequency=> compressed

Page 29: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .

Ln = Gn

Page 30: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .
Page 31: Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10 .