SlideShare a Scribd company logo
2
Most read
12
Most read
13
Most read
Linear Hough Transform
190283103015
Raj Rana
Introduction
• The Hough transform is a feature Extraction technique
used in image analysis, computer vision and digital
image processing .
• It is a technique to isolate the curves of a given shapes
in a given image.
• Classical Hough Transform can locate regular curves like
straight lines, circles, parabolas, ellipses, etc.
• Every edge pixel Is a point that votes for all shapes that
passes through it.
• This voting procedure is carried out in a Parameter
space.
• Parameter space is a K-dimensional Histogram.
Hough Transform for Straight line
A straight line can be mathematically represented as:
Y = ax + b
Where, a is slope and b is a intercept
Image Space Parameter space
Y = ax + b b = -ax + y
Point Line
Line Point
Image Space Parameter space
Basics of Linear Hough Transform
Line Detection Algorithm
• Step-1:- Quantize the parameter space
• Step-2:- Create accumulator array
• Step-3:- Set all value by zero
• Step-4:- For each edge in (xi, yi),
P(a, b) = P (a, b) + 1
If (a, b) lies on line: -mxi + yi
• Step-5:- Find local maxima in P(a, b)
xi, yi
Image space P (a, b)
Maxima
xi, yi
Applications
• Detection of lines
• Fill the edges
• Linking the edge points
• To Find out Points are collinear
• Find aligned points in image that create lines
Basics of Linear Hough Transform
Basics of Linear Hough Transform
• We get our (a, b) = (1, 1)
• Our line of equation is y = ax + b
• By substitute values we will get,
y = x + 1
This line in collinear that has values (1,2), (2,3), (3,4), (4,5)
on it.
Hence all the points lies on the same line they are called
collinear.
Problem in Hough Transform
• For the line of equation
Y = ax + b
The slope a lies between – ∞ ≤ 𝑎 ≤ +∞
Which creates problem in the case of quantizing vertical
line.
It ends up with massive amount of data and large
accumulator to store it.
In that case this representation fails completely.
Solution
• There is one more representation that can be used
𝑥𝑠𝑖𝑛𝜃 + 𝑦𝑐𝑜𝑠𝜃 + 𝜌 = 0
here 𝜃 is finite: 0 ≤ 𝜃 ≤ 𝜋
𝜌 is a finite
Advantages of Hough Transform
• Tolerant to the gaps in the edges
• Not affected by noise
• Not affected by occlusion in image
Ending..

More Related Content

PDF
Edge linking in image processing
PPTX
Lesson 2d channel assignment strategies.pptx
PPTX
Image Enhancement - Point Processing
PPT
Image trnsformations
PPTX
Walsh transform
PDF
Region Splitting and Merging Technique For Image segmentation.
PPT
17 SONET/SDH
Edge linking in image processing
Lesson 2d channel assignment strategies.pptx
Image Enhancement - Point Processing
Image trnsformations
Walsh transform
Region Splitting and Merging Technique For Image segmentation.
17 SONET/SDH

What's hot (20)

DOCX
Computer Network Notes UNIT II
PPTX
Digital image processing
PPT
Image processing SaltPepper Noise
PPTX
Digital communications
PDF
Elements of visual perception
PPTX
Convolution&Correlation
PPTX
Image Filtering in the Frequency Domain
PPTX
Chap6 image restoration
PPTX
Watershed
PPTX
Wavelet based image compression technique
PPT
Digital modulation techniques
PPTX
Texture,pattern and pattern classes
PDF
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
PDF
Pixel Relationships Examples
PPTX
Introduction to Image Compression
PDF
Lecture 13 (Usage of Fourier transform in image processing)
PPTX
Linear Image Processing
PPTX
Digital Image Processing
PDF
1.Basics of Signals
Computer Network Notes UNIT II
Digital image processing
Image processing SaltPepper Noise
Digital communications
Elements of visual perception
Convolution&Correlation
Image Filtering in the Frequency Domain
Chap6 image restoration
Watershed
Wavelet based image compression technique
Digital modulation techniques
Texture,pattern and pattern classes
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
Pixel Relationships Examples
Introduction to Image Compression
Lecture 13 (Usage of Fourier transform in image processing)
Linear Image Processing
Digital Image Processing
1.Basics of Signals
Ad

Similar to Basics of Linear Hough Transform (20)

PPTX
Edge Detection using Hough Transform
PDF
UNIT-4.pdf image processing btech aktu notes
PPTX
Lecture_07_InterestPoints_computer_vision.pptx
PDF
Lec09 hough
PPT
Chapter10 image segmentation
PPTX
09 cie552 image_featuresi
PPT
EDGEDETECTION algorithm and theory for image processing
PPTX
Mvs adas
PPT
Edge linking via Hough transform.ppt
PDF
Chapter8 LINEAR DESCRIMINANT FOR MACHINE LEARNING.pdf
PPTX
Fuzzy Logic Based Edge Detection
PPTX
Cochino’s math
PPTX
Cochino’s math
PPTX
Line Detection using Hough transform .pptx
PPT
Polygon Fill
PPTX
image segmentation image segmentation.pptx
PDF
scan conversion of point , line and circle
PPTX
UNIT 2-Geometric Modeling.pptx
PPTX
machine learning.pptx
PPTX
Digital Image Processing--Unit-3 - L2.pptx
Edge Detection using Hough Transform
UNIT-4.pdf image processing btech aktu notes
Lecture_07_InterestPoints_computer_vision.pptx
Lec09 hough
Chapter10 image segmentation
09 cie552 image_featuresi
EDGEDETECTION algorithm and theory for image processing
Mvs adas
Edge linking via Hough transform.ppt
Chapter8 LINEAR DESCRIMINANT FOR MACHINE LEARNING.pdf
Fuzzy Logic Based Edge Detection
Cochino’s math
Cochino’s math
Line Detection using Hough transform .pptx
Polygon Fill
image segmentation image segmentation.pptx
scan conversion of point , line and circle
UNIT 2-Geometric Modeling.pptx
machine learning.pptx
Digital Image Processing--Unit-3 - L2.pptx
Ad

Recently uploaded (20)

PDF
PPT on Performance Review to get promotions
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
web development for engineering and engineering
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Welding lecture in detail for understanding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
CH1 Production IntroductoryConcepts.pptx
PPT
Project quality management in manufacturing
PPT on Performance Review to get promotions
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
web development for engineering and engineering
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
additive manufacturing of ss316l using mig welding
Foundation to blockchain - A guide to Blockchain Tech
Lecture Notes Electrical Wiring System Components
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
bas. eng. economics group 4 presentation 1.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Mechanical Engineering MATERIALS Selection
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Welding lecture in detail for understanding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
OOP with Java - Java Introduction (Basics)
CH1 Production IntroductoryConcepts.pptx
Project quality management in manufacturing

Basics of Linear Hough Transform

  • 2. Introduction • The Hough transform is a feature Extraction technique used in image analysis, computer vision and digital image processing . • It is a technique to isolate the curves of a given shapes in a given image. • Classical Hough Transform can locate regular curves like straight lines, circles, parabolas, ellipses, etc.
  • 3. • Every edge pixel Is a point that votes for all shapes that passes through it. • This voting procedure is carried out in a Parameter space. • Parameter space is a K-dimensional Histogram.
  • 4. Hough Transform for Straight line A straight line can be mathematically represented as: Y = ax + b Where, a is slope and b is a intercept
  • 5. Image Space Parameter space Y = ax + b b = -ax + y
  • 6. Point Line Line Point Image Space Parameter space
  • 8. Line Detection Algorithm • Step-1:- Quantize the parameter space • Step-2:- Create accumulator array • Step-3:- Set all value by zero • Step-4:- For each edge in (xi, yi), P(a, b) = P (a, b) + 1 If (a, b) lies on line: -mxi + yi • Step-5:- Find local maxima in P(a, b) xi, yi Image space P (a, b) Maxima xi, yi
  • 9. Applications • Detection of lines • Fill the edges • Linking the edge points • To Find out Points are collinear • Find aligned points in image that create lines
  • 12. • We get our (a, b) = (1, 1) • Our line of equation is y = ax + b • By substitute values we will get, y = x + 1 This line in collinear that has values (1,2), (2,3), (3,4), (4,5) on it. Hence all the points lies on the same line they are called collinear.
  • 13. Problem in Hough Transform • For the line of equation Y = ax + b The slope a lies between – ∞ ≤ 𝑎 ≤ +∞ Which creates problem in the case of quantizing vertical line. It ends up with massive amount of data and large accumulator to store it. In that case this representation fails completely.
  • 14. Solution • There is one more representation that can be used 𝑥𝑠𝑖𝑛𝜃 + 𝑦𝑐𝑜𝑠𝜃 + 𝜌 = 0 here 𝜃 is finite: 0 ≤ 𝜃 ≤ 𝜋 𝜌 is a finite
  • 15. Advantages of Hough Transform • Tolerant to the gaps in the edges • Not affected by noise • Not affected by occlusion in image Ending..