Hough Transform - PowerPoint PPT Presentation

About This Presentation
Title:

Hough Transform

Description:

Convolution Mask Triangular Approximate Gaussian Gaussian Gaussian Separability Algorithm ... Coding using Laplacian Pyramid Decoding using Laplacian ... – PowerPoint PPT presentation

Number of Views:144
Avg rating:3.0/5.0
Slides: 49
Provided by: shah173
Learn more at: http://www.cs.ucf.edu
Category:

less

Transcript and Presenter's Notes

Title: Hough Transform


1
Lecture-12
  • Hough Transform
  • Examples

2
Hough Space
Theta is from -90 to 90
3
Fitting Lines In an Image
4
Fitting Lines In an Image
5
Fitting lines in an image
6
Fitting Circles
7
Fitting Circles
8
Detecting Lines in Gray Level Images
Detect yellow line in the middle Use gray levels
instead of edges Increment the parameter space by
gray level at a pixel instead of by 1.
9
Pyramids
  • Very useful for representing images.
  • Pyramid is built by using multiple copies of
    image.
  • Each level in the pyramid is 1/4 of the size of
    previous level.
  • The lowest level is of the highest resolution.
  • The highest level is of the lowest resolution.

10
Pyramid
11
Gaussian Pyramids
12
Convolution
13
Gaussian Pyramids
14
Reduce (1D)
15
Reduce
16
Expand (1D)
17
Expand (1D)
18
Expand
19
Convolution Mask
20
Convolution Mask
  • Separable
  • Symmetric

21
Convolution Mask
  • The sum of mask should be 1.
  • All nodes at a given level must contribute the
    same total weight to the nodes at the next higher
    level.

22
c
c
a
b
b
23
Convolution Mask
a.4 GAUSSIAN, a.5 TRINGULAR
24
Triangular
25
Approximate Gaussian
26
Gaussian
27
Gaussian

-3 -2 -1 0 1 2 3
.011 .13 .6 1 .6 .13 .011
x
g(x)
28
(No Transcript)
29
Separability
30
Algorithm
  • Apply 1-D mask to alternate pixels along each row
    of image.
  • Apply 1-D mask to alternate pixel along each
    column of resultant image from previous step.

31
Gaussian Pyramid
32
Laplacian Pyramids
  • Similar to edge detected images.
  • Most pixels are zero.
  • Can be used for image compression.

33
(No Transcript)
34
Coding using Laplacian Pyramid
  • Compute Gaussian pyramid
  • Compute Laplacian pyramid
  • Code Laplacian pyramid

35
Decoding using Laplacian pyramid
  • Decode Laplacian pyramid.
  • Compute Gaussian pyramid from Laplacian pyramid.

36
Laplacian Pyramid
37
Image Compression (Entropy)
7.6
4.4
.77
1.9
5.0
3.3
5.6
4.2
6.2
38
Huffman Coding (Example-1)
0
A1 A2 A3 A4
P.5
0
1
P.25
0
1
P.125
1
A1 0 A2 10 A3 110 A4 111
P.125
39
Huffman Coding
Entropy
40
Image Compression
1.58
1
.73
41
Combining Apple Orange
42
Combining Apple Orange
43
Algorithm
  • Generate Laplacian pyramid Lo of orange image.
  • Generate Laplacian pyramid La of apple image.
  • Generate Laplacian pyramid Lc by copying left
    half of nodes at each level from apple and right
    half of nodes from orange pyramids.
  • Reconstruct combined image from Lc.

44
Quad Trees
  • Data structure to represent regions
  • Three types of nodes gray, black and white
  • First generate the pyramid, then
  • If type of pyramid is black or white then return
    else
  • Recursively find quad tree of SE quadrant
  • Recursively find quad tree of SW quadrant
  • Recursively find quad tree of NE quadrant
  • Recursively find quad tree of NW quadrant
  • Return

45
(No Transcript)
46
Chain Code
  • A simple technique to represent a shape of
    boundary.
  • Each directed line segment is assigned a code.
  • Chain code is integer obtained by putting
    together the codes of all consecutive line
    segments.
  • Shape number is a normalized chain code, which is
    invariant to translation and rotation.

47
(No Transcript)
48
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com