SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

Erosion and dilation
Erosion and dilationErosion and dilation
Erosion and dilationAkhil .B
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portionMoe Moe Myint
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING anam singla
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point ProcessingGayathri31093
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Moe Moe Myint
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainA B Shinde
 
digital image processing
digital image processingdigital image processing
digital image processingAbinaya B
 
Image enhancement
Image enhancementImage enhancement
Image enhancementAyaelshiwi
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformationMdFazleRabbi18
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationVarun Ojha
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Predictive coding
Predictive codingPredictive coding
Predictive codingp_ayal
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 
Image Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsImage Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsKalyan Acharjya
 

Mais procurados (20)

Wiener Filter
Wiener FilterWiener Filter
Wiener Filter
 
Erosion and dilation
Erosion and dilationErosion and dilation
Erosion and dilation
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portion
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
Chapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier TransformationChapter 5 Image Processing: Fourier Transformation
Chapter 5 Image Processing: Fourier Transformation
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Predictive coding
Predictive codingPredictive coding
Predictive coding
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Image Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):BasicsImage Restoration (Frequency Domain Filters):Basics
Image Restoration (Frequency Domain Filters):Basics
 

Semelhante a 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
 

Semelhante a 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
 

Último

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 

Último (20)

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 

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