SlideShare une entreprise Scribd logo
1  sur  19
Edge detection using
Hough Transform
Presented by:
Mrunal K. Selokar [2013BCS065]
Suraj A. Bobade [2013BCS072]
Hough transform
Objective:
• O/p of edge detection: valid edge points.
• Previous techniques for edge linking:
 Local processing: we should know position of straight lines.
 Region processing: We should have knowledge about region
of interest to find out boundaries.
• Limitation: we should have knowledge about patterns
prior to apply edge linking which is not possible in every
situations.
• Solution??  Hough transform.
Edge Detection and boundary linking Hough Transform
• Hough transform: a way of finding
edge points in an image that lie
along a straight line or curve.
Haugh Transform
• Steps:
• Consider one valid edge point (xi,yi) in xy-plane & the
equation of line passing through it can be,
• As it is a point, infinite lines will be passing through it
given by above equation & different values of a & b.
• We can write this equation as,
which gives us a line in ab-plane(parameter plane)
passing through fixed pair (xi,yi).
baxy ii 
ii yaxb 
Haugh Transform
• Next, we will consider 2nd valid edge point (xj,yj) and
find out equation in parameter plane. It will be,
• If these 2 points lies on a st line in xy-plane, then the
two lines in parameter plane will intersect at point(a’,b’)
where, a’ is slope and b’ is intercept of line passing
through 2 points (xi,yi) and (xj,yj) in xy-plane.
jj yaxb 
• What is the drawback???
• Slope (a) will be infinite in case of vertical lines.
• Example:
If 2 valid points are (3,1) and (3,2)
Line eq in ab-plane will be,
(3,1)b=-3a+1 & (3,2) b=-3a+2
Here, slope of 2 lines is equal, hence they are parallel in ab-
plane.
We can not find point of intersection which gives us slope
and intercept i.e a’ and b’ of line passing through (3,1) and
(3,2) in xy-plane.
• Solution???
Haugh Transform
Haugh Transform
• Solution: use equation,
e.g.
• For horizontal line
theta0
rho+ve x-intercept.
• for vertical line,
theta90 degree
rho+ve y-intercept
  sincos yx
• & gives two sine
waves on  -plane.
• intersection pt (’, ’) corresponds to line passing
through both the pts in xy-plane.
  sincos ii yx   sincos jj yx
The intersection of the
curves corresponding to
points 1,3,5
(’, ’)=(0,-45)
2,3,4
(’,
’)=(D/2,45)
(’, ’)=((71,45)
1,4
1,2
resolution of image101 X 101
D= 142.
range of   -90 to +90
range of   -D to +D , D max dist between 2
opposite corner of image
3.5 Line Detection by Hough
Transform
EE6358-ComputerVision
16
Parameters for analytic curves
Analytic Form Parameters Equation
Line ,  xcos+ysin=
Circle x0, y0,  (x-xo)2+(y-y0)2=r2
Parabola x0, y0, ,  (y-y0)2=4(x-xo)
Ellipse x0, y0, a, b,  (x-xo)2/a2+(y-y0)2/b2=1
EE6358 - Computer Vision 17
Edge Detection using Hough Transform
Edge Detection using Hough Transform

Contenu connexe

Tendances (20)

Histogram Equalization
Histogram EqualizationHistogram Equalization
Histogram Equalization
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Point processing
Point processingPoint processing
Point processing
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul Islam
 
Sharpening spatial filters
Sharpening spatial filtersSharpening spatial filters
Sharpening spatial filters
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial Domain
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Application of image processing
Application of image processingApplication of image processing
Application of image processing
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 

Similaire à Edge Detection using Hough Transform

Basics of Linear Hough Transform
Basics of Linear Hough TransformBasics of Linear Hough Transform
Basics of Linear Hough TransformRaj Rana
 
pembinaan geometri
pembinaan geometripembinaan geometri
pembinaan geometriintansmkbdp
 
OCW Chapter 5.pptx
OCW Chapter 5.pptxOCW Chapter 5.pptx
OCW Chapter 5.pptxFelixXZ
 
image segmentation image segmentation.pptx
image segmentation image segmentation.pptximage segmentation image segmentation.pptx
image segmentation image segmentation.pptxNaveenKumar5162
 
Copy_of_slopeofaline (1).ppt
Copy_of_slopeofaline (1).pptCopy_of_slopeofaline (1).ppt
Copy_of_slopeofaline (1).pptLeianMartin1
 
Copy_of_slopeofaline.ppt
Copy_of_slopeofaline.pptCopy_of_slopeofaline.ppt
Copy_of_slopeofaline.pptchinnurulz
 
Obj. 30 Reflections and Translations
Obj. 30 Reflections and TranslationsObj. 30 Reflections and Translations
Obj. 30 Reflections and Translationssmiller5
 
A some basic rules of tensor calculus
A some basic rules of tensor calculusA some basic rules of tensor calculus
A some basic rules of tensor calculusTarun Gehlot
 
UNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptxUNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptxdinesh babu
 
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKS
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKSFACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKS
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKSijaia
 
Straight_Lines in mat 111 full lecture.ppt
Straight_Lines in mat 111 full lecture.pptStraight_Lines in mat 111 full lecture.ppt
Straight_Lines in mat 111 full lecture.pptElaiyarajaR1
 

Similaire à Edge Detection using Hough Transform (20)

Basics of Linear Hough Transform
Basics of Linear Hough TransformBasics of Linear Hough Transform
Basics of Linear Hough Transform
 
Elhabian_curves10.pdf
Elhabian_curves10.pdfElhabian_curves10.pdf
Elhabian_curves10.pdf
 
pembinaan geometri
pembinaan geometripembinaan geometri
pembinaan geometri
 
testpang
testpangtestpang
testpang
 
Lines
LinesLines
Lines
 
OCW Chapter 5.pptx
OCW Chapter 5.pptxOCW Chapter 5.pptx
OCW Chapter 5.pptx
 
image segmentation image segmentation.pptx
image segmentation image segmentation.pptximage segmentation image segmentation.pptx
image segmentation image segmentation.pptx
 
Copy_of_slopeofaline (1).ppt
Copy_of_slopeofaline (1).pptCopy_of_slopeofaline (1).ppt
Copy_of_slopeofaline (1).ppt
 
Copy_of_slopeofaline.ppt
Copy_of_slopeofaline.pptCopy_of_slopeofaline.ppt
Copy_of_slopeofaline.ppt
 
Copy_of_slopeofaline.ppt
Copy_of_slopeofaline.pptCopy_of_slopeofaline.ppt
Copy_of_slopeofaline.ppt
 
Copy_of_slopeofaline.ppt
Copy_of_slopeofaline.pptCopy_of_slopeofaline.ppt
Copy_of_slopeofaline.ppt
 
cupdf.com_control-chap7.ppt
cupdf.com_control-chap7.pptcupdf.com_control-chap7.ppt
cupdf.com_control-chap7.ppt
 
Vectors Victor
Vectors VictorVectors Victor
Vectors Victor
 
Obj. 30 Reflections and Translations
Obj. 30 Reflections and TranslationsObj. 30 Reflections and Translations
Obj. 30 Reflections and Translations
 
A some basic rules of tensor calculus
A some basic rules of tensor calculusA some basic rules of tensor calculus
A some basic rules of tensor calculus
 
curve one
curve onecurve one
curve one
 
UNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptxUNIT 2-Geometric Modeling.pptx
UNIT 2-Geometric Modeling.pptx
 
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKS
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKSFACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKS
FACE RECOGNITION ALGORITHM BASED ON ORIENTATION HISTOGRAM OF HOUGH PEAKS
 
Straight_Lines in mat 111 full lecture.ppt
Straight_Lines in mat 111 full lecture.pptStraight_Lines in mat 111 full lecture.ppt
Straight_Lines in mat 111 full lecture.ppt
 
identities1.2
identities1.2identities1.2
identities1.2
 

Dernier

Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 

Dernier (20)

Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 

Edge Detection using Hough Transform

  • 1. Edge detection using Hough Transform Presented by: Mrunal K. Selokar [2013BCS065] Suraj A. Bobade [2013BCS072]
  • 4. • O/p of edge detection: valid edge points. • Previous techniques for edge linking:  Local processing: we should know position of straight lines.  Region processing: We should have knowledge about region of interest to find out boundaries. • Limitation: we should have knowledge about patterns prior to apply edge linking which is not possible in every situations. • Solution??  Hough transform. Edge Detection and boundary linking Hough Transform
  • 5. • Hough transform: a way of finding edge points in an image that lie along a straight line or curve.
  • 6.
  • 7. Haugh Transform • Steps: • Consider one valid edge point (xi,yi) in xy-plane & the equation of line passing through it can be, • As it is a point, infinite lines will be passing through it given by above equation & different values of a & b. • We can write this equation as, which gives us a line in ab-plane(parameter plane) passing through fixed pair (xi,yi). baxy ii  ii yaxb 
  • 8.
  • 9. Haugh Transform • Next, we will consider 2nd valid edge point (xj,yj) and find out equation in parameter plane. It will be, • If these 2 points lies on a st line in xy-plane, then the two lines in parameter plane will intersect at point(a’,b’) where, a’ is slope and b’ is intercept of line passing through 2 points (xi,yi) and (xj,yj) in xy-plane. jj yaxb 
  • 10.
  • 11. • What is the drawback??? • Slope (a) will be infinite in case of vertical lines. • Example: If 2 valid points are (3,1) and (3,2) Line eq in ab-plane will be, (3,1)b=-3a+1 & (3,2) b=-3a+2 Here, slope of 2 lines is equal, hence they are parallel in ab- plane. We can not find point of intersection which gives us slope and intercept i.e a’ and b’ of line passing through (3,1) and (3,2) in xy-plane. • Solution??? Haugh Transform
  • 12. Haugh Transform • Solution: use equation, e.g. • For horizontal line theta0 rho+ve x-intercept. • for vertical line, theta90 degree rho+ve y-intercept   sincos yx
  • 13. • & gives two sine waves on  -plane. • intersection pt (’, ’) corresponds to line passing through both the pts in xy-plane.   sincos ii yx   sincos jj yx
  • 14.
  • 15. The intersection of the curves corresponding to points 1,3,5 (’, ’)=(0,-45) 2,3,4 (’, ’)=(D/2,45) (’, ’)=((71,45) 1,4 1,2 resolution of image101 X 101 D= 142. range of   -90 to +90 range of   -D to +D , D max dist between 2 opposite corner of image
  • 16. 3.5 Line Detection by Hough Transform EE6358-ComputerVision 16
  • 17. Parameters for analytic curves Analytic Form Parameters Equation Line ,  xcos+ysin= Circle x0, y0,  (x-xo)2+(y-y0)2=r2 Parabola x0, y0, ,  (y-y0)2=4(x-xo) Ellipse x0, y0, a, b,  (x-xo)2/a2+(y-y0)2/b2=1 EE6358 - Computer Vision 17