SlideShare une entreprise Scribd logo
1  sur  17
LINEAR HOUGH TRANSFORM
1
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
P A T I L V A I B H A V V .
G R . N O . : - 1 2 2 0 3 7
R O L L N O . : - 1 8
D I V - N
What is HT?
Q. What is this?
It is an image consist of lines in some sort of fashion
2
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Introduction:
 It is invented by Paul Hough.
 The Hough transform was patented in 1962 with
name ‘method and means for detecting complex
patterns ’ the patent uses slope intercept model for
straight lines.
 It is redefined by R. O. Duda and P.E. Hart in 1972
and known as ‘GENERALIZED HOUGH
TRANSFORM’.
3
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Basics of Image Processing:
 Image: image is two dimensional matrix. The
elements of matrix represent intensity levels.
 Types of image:
1)Binary image.
2)Grayscale image.
3)True Colour image.
4)Indexed image.
grayscale image
binary image
4
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Basics of Image Processing:
 Edge: edge is high frequency content in image. It is
the portion of image where intensity changes
significantly.
%matlab command
im=imread('C:Documents and Settingsvaibhav patilDesktopprintoutscharlie_grayscale.jpg');
Im1=rgb2gray(im);
im2 = im2bw(im,level);
im3= edge(Im);
5
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Basics of Image Processing
 Hough space: Hough space is same as Cartesian co-
ordanate system except,
 it’s x-axis represent angles in accumulator.
 It’s y-axis represent distance of line from agreed
origin.
Ө=0 Ө=180
ρ =0
ρ =100
6
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Linear Hough Transform
 The linear Hough transform is popularly used for
detecting lines.
 The dimension of accumulator equals to number of
unknown parameters i.e. 2
 One dimension of this matrix is quantized angle ө
and other is distance ρ.
 Each element of matrix has a value equal to number
of points that are positioned on line represented by
quantized parameters.
Edge
detection
LHT
Image
o/p
Accumulator
7
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Algorithm
 For each data point, a number of lines are plotted
going through it, all at different angles.
 For each solid line a line is plotted which s
perpendicular to it and which intersects the origin
these.
 The length and angle of each perpendicular is
measured and saved in accumulator.
 This is repeated for each point.
 A graph of the line lengths for each angle, known as a
Hough space graph, is then created.
8
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Let see how it works?
Angle Distance
0 40
30 69.6
60 81.2
90 70
120 40.6
9
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Continued….
10
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Accumulator plotted in Hough space
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
11
Example:
bit map image image
edge detected image
(degrees)
x
R (x )
0 20 40 60 80 100 120 140 160 180
-150
-100
-50
0
50
100
150
12
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Matlab program:
 %haugh transform
 t= imread('C:Documents and Settingsvaibhav patilDesktopuntitled.bmp');
 v=rgb2gray(t);
 I=imresize(v,[255,255]);
 %convert image into edge image
 BW = edge(I);
 subplot(2,1,1);
 imshow(I);
 title('bit map image image');
 subplot(2,1,2);
 imshow(BW);
 title('edge detected image');
 %calculate hough transform
 theta = 0:180;
 [R,xp] = radon(BW,theta);
 figure;
 imagesc(theta, xp, R);
 xlabel('theta (degrees)');
 ylabel('xprime');
 title('R_{theta} (xprime)');
13
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Advantages & Disadvantages
 Advantages:
1)Conceptually simple technique.
2)Handles missing occluded data gracefully.
3) Can be adapted for many other forms.
 Disadvantages:
1)Large storage space required.
2)Checks for only one type of object.
14
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Conclusion
Although it is the commonly preferred method for
lines & circle detection, the HT in general has
several limitations making it challenging to detect
anything other than lines and circles. This is
especially the case when more parameters are
needed to describe shapes, this add more complexity.
15
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
THANK YOU
16
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
Questions
VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
17

Contenu connexe

Tendances

Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Fundamental steps in image processing
Fundamental steps in image processingFundamental steps in image processing
Fundamental steps in image processingPremaPRC211300301103
 
K Space in MRI
K Space in MRIK Space in MRI
K Space in MRIKajal Jha
 
Radon Transform - image analysis
Radon Transform - image analysisRadon Transform - image analysis
Radon Transform - image analysisVanya Valindria
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods thanhhoang2012
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersKarthika Ramachandran
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamNazmul Islam
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
Image enhancement
Image enhancementImage enhancement
Image enhancementAyaelshiwi
 
Image Reconstruction in Computed Tomography
Image Reconstruction in Computed TomographyImage Reconstruction in Computed Tomography
Image Reconstruction in Computed TomographyAnjan Dangal
 
Image reconstruction in computed tomography
Image reconstruction in computed tomographyImage reconstruction in computed tomography
Image reconstruction in computed tomographyManojzz Bhatta
 
discrete wavelet transform
discrete wavelet transformdiscrete wavelet transform
discrete wavelet transformpiyush_11
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.pptshankar64
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 

Tendances (20)

Jpeg standards
Jpeg   standardsJpeg   standards
Jpeg standards
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Fundamental steps in image processing
Fundamental steps in image processingFundamental steps in image processing
Fundamental steps in image processing
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Ct Generations
Ct  GenerationsCt  Generations
Ct Generations
 
K Space in MRI
K Space in MRIK Space in MRI
K Space in MRI
 
Radon Transform - image analysis
Radon Transform - image analysisRadon Transform - image analysis
Radon Transform - image analysis
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods
 
Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul Islam
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image Contrast, Noise, Resolution
Image Contrast, Noise, ResolutionImage Contrast, Noise, Resolution
Image Contrast, Noise, Resolution
 
Computed tomography
Computed tomographyComputed tomography
Computed tomography
 
Image Reconstruction in Computed Tomography
Image Reconstruction in Computed TomographyImage Reconstruction in Computed Tomography
Image Reconstruction in Computed Tomography
 
Image reconstruction in computed tomography
Image reconstruction in computed tomographyImage reconstruction in computed tomography
Image reconstruction in computed tomography
 
discrete wavelet transform
discrete wavelet transformdiscrete wavelet transform
discrete wavelet transform
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
digital radiography
digital radiographydigital radiography
digital radiography
 

Similaire à Linear Hough TRansform

A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...
A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...
A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...IJERA Editor
 
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
 
Iaetsd an enhanced circular detection technique rpsw using circular hough t...
Iaetsd an enhanced circular detection technique   rpsw using circular hough t...Iaetsd an enhanced circular detection technique   rpsw using circular hough t...
Iaetsd an enhanced circular detection technique rpsw using circular hough t...Iaetsd Iaetsd
 
Iaetsd an enhanced circular detection technique rpsw using circular hough t...
Iaetsd an enhanced circular detection technique   rpsw using circular hough t...Iaetsd an enhanced circular detection technique   rpsw using circular hough t...
Iaetsd an enhanced circular detection technique rpsw using circular hough t...Iaetsd Iaetsd
 
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-II
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-IIDesign of Linear Array Transducer Using Ultrasound Simulation Program Field-II
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-IIinventy
 
Edge detection algorithm based on quantum superposition principle and photons...
Edge detection algorithm based on quantum superposition principle and photons...Edge detection algorithm based on quantum superposition principle and photons...
Edge detection algorithm based on quantum superposition principle and photons...IJECEIAES
 
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...inventionjournals
 
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...inventionjournals
 
A Hough Transform Implementation for Line Detection for a Mobile Robot Self-N...
A Hough Transform Implementation for Line Detection for a Mobile Robot Self-N...A Hough Transform Implementation for Line Detection for a Mobile Robot Self-N...
A Hough Transform Implementation for Line Detection for a Mobile Robot Self-N...iosrjce
 
Dynamic texture based traffic vehicle monitoring system
Dynamic texture based traffic vehicle monitoring systemDynamic texture based traffic vehicle monitoring system
Dynamic texture based traffic vehicle monitoring systemeSAT Journals
 
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONU-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONdannyijwest
 
U-MENTALISM PATENT: THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISM PATENT: THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONU-MENTALISM PATENT: THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISM PATENT: THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONIJwest
 
Line Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision - Recent Developments and ApplicationsLine Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision - Recent Developments and ApplicationsParth Nandedkar
 
ANALYSIS OF BIOMEDICAL IMAGE USING WAVELET TRANSFORM
ANALYSIS OF BIOMEDICAL IMAGE USING WAVELET TRANSFORMANALYSIS OF BIOMEDICAL IMAGE USING WAVELET TRANSFORM
ANALYSIS OF BIOMEDICAL IMAGE USING WAVELET TRANSFORMijiert bestjournal
 
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...Ijripublishers Ijri
 
AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS USING VECTOR CALCUL...
AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS USING VECTOR CALCUL...AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS USING VECTOR CALCUL...
AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS USING VECTOR CALCUL...ijcga
 

Similaire à Linear Hough TRansform (20)

A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...
A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...
A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...
 
F0164348
F0164348F0164348
F0164348
 
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
 
Iaetsd an enhanced circular detection technique rpsw using circular hough t...
Iaetsd an enhanced circular detection technique   rpsw using circular hough t...Iaetsd an enhanced circular detection technique   rpsw using circular hough t...
Iaetsd an enhanced circular detection technique rpsw using circular hough t...
 
Iaetsd an enhanced circular detection technique rpsw using circular hough t...
Iaetsd an enhanced circular detection technique   rpsw using circular hough t...Iaetsd an enhanced circular detection technique   rpsw using circular hough t...
Iaetsd an enhanced circular detection technique rpsw using circular hough t...
 
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-II
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-IIDesign of Linear Array Transducer Using Ultrasound Simulation Program Field-II
Design of Linear Array Transducer Using Ultrasound Simulation Program Field-II
 
Edge detection algorithm based on quantum superposition principle and photons...
Edge detection algorithm based on quantum superposition principle and photons...Edge detection algorithm based on quantum superposition principle and photons...
Edge detection algorithm based on quantum superposition principle and photons...
 
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
 
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
Method Of Measuring Projections Multi Function Using The Quick And Accurate O...
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
A Hough Transform Implementation for Line Detection for a Mobile Robot Self-N...
A Hough Transform Implementation for Line Detection for a Mobile Robot Self-N...A Hough Transform Implementation for Line Detection for a Mobile Robot Self-N...
A Hough Transform Implementation for Line Detection for a Mobile Robot Self-N...
 
F017663344
F017663344F017663344
F017663344
 
B045050812
B045050812B045050812
B045050812
 
Dynamic texture based traffic vehicle monitoring system
Dynamic texture based traffic vehicle monitoring systemDynamic texture based traffic vehicle monitoring system
Dynamic texture based traffic vehicle monitoring system
 
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONU-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
 
U-MENTALISM PATENT: THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISM PATENT: THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONU-MENTALISM PATENT: THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISM PATENT: THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
 
Line Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision - Recent Developments and ApplicationsLine Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision - Recent Developments and Applications
 
ANALYSIS OF BIOMEDICAL IMAGE USING WAVELET TRANSFORM
ANALYSIS OF BIOMEDICAL IMAGE USING WAVELET TRANSFORMANALYSIS OF BIOMEDICAL IMAGE USING WAVELET TRANSFORM
ANALYSIS OF BIOMEDICAL IMAGE USING WAVELET TRANSFORM
 
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
Ijri ece-01-02 image enhancement aided denoising using dual tree complex wave...
 
AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS USING VECTOR CALCUL...
AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS USING VECTOR CALCUL...AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS USING VECTOR CALCUL...
AN EFFICIENT LINE CLIPPING ALGORITHM FOR CIRCULAR WINDOWS USING VECTOR CALCUL...
 

Dernier

Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 

Dernier (20)

Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

Linear Hough TRansform

  • 1. LINEAR HOUGH TRANSFORM 1 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE P A T I L V A I B H A V V . G R . N O . : - 1 2 2 0 3 7 R O L L N O . : - 1 8 D I V - N
  • 2. What is HT? Q. What is this? It is an image consist of lines in some sort of fashion 2 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 3. Introduction:  It is invented by Paul Hough.  The Hough transform was patented in 1962 with name ‘method and means for detecting complex patterns ’ the patent uses slope intercept model for straight lines.  It is redefined by R. O. Duda and P.E. Hart in 1972 and known as ‘GENERALIZED HOUGH TRANSFORM’. 3 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 4. Basics of Image Processing:  Image: image is two dimensional matrix. The elements of matrix represent intensity levels.  Types of image: 1)Binary image. 2)Grayscale image. 3)True Colour image. 4)Indexed image. grayscale image binary image 4 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 5. Basics of Image Processing:  Edge: edge is high frequency content in image. It is the portion of image where intensity changes significantly. %matlab command im=imread('C:Documents and Settingsvaibhav patilDesktopprintoutscharlie_grayscale.jpg'); Im1=rgb2gray(im); im2 = im2bw(im,level); im3= edge(Im); 5 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 6. Basics of Image Processing  Hough space: Hough space is same as Cartesian co- ordanate system except,  it’s x-axis represent angles in accumulator.  It’s y-axis represent distance of line from agreed origin. Ө=0 Ө=180 ρ =0 ρ =100 6 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 7. Linear Hough Transform  The linear Hough transform is popularly used for detecting lines.  The dimension of accumulator equals to number of unknown parameters i.e. 2  One dimension of this matrix is quantized angle ө and other is distance ρ.  Each element of matrix has a value equal to number of points that are positioned on line represented by quantized parameters. Edge detection LHT Image o/p Accumulator 7 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 8. Algorithm  For each data point, a number of lines are plotted going through it, all at different angles.  For each solid line a line is plotted which s perpendicular to it and which intersects the origin these.  The length and angle of each perpendicular is measured and saved in accumulator.  This is repeated for each point.  A graph of the line lengths for each angle, known as a Hough space graph, is then created. 8 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 9. Let see how it works? Angle Distance 0 40 30 69.6 60 81.2 90 70 120 40.6 9 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 11. Accumulator plotted in Hough space VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE 11
  • 12. Example: bit map image image edge detected image (degrees) x R (x ) 0 20 40 60 80 100 120 140 160 180 -150 -100 -50 0 50 100 150 12 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 13. Matlab program:  %haugh transform  t= imread('C:Documents and Settingsvaibhav patilDesktopuntitled.bmp');  v=rgb2gray(t);  I=imresize(v,[255,255]);  %convert image into edge image  BW = edge(I);  subplot(2,1,1);  imshow(I);  title('bit map image image');  subplot(2,1,2);  imshow(BW);  title('edge detected image');  %calculate hough transform  theta = 0:180;  [R,xp] = radon(BW,theta);  figure;  imagesc(theta, xp, R);  xlabel('theta (degrees)');  ylabel('xprime');  title('R_{theta} (xprime)'); 13 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 14. Advantages & Disadvantages  Advantages: 1)Conceptually simple technique. 2)Handles missing occluded data gracefully. 3) Can be adapted for many other forms.  Disadvantages: 1)Large storage space required. 2)Checks for only one type of object. 14 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE
  • 15. Conclusion Although it is the commonly preferred method for lines & circle detection, the HT in general has several limitations making it challenging to detect anything other than lines and circles. This is especially the case when more parameters are needed to describe shapes, this add more complexity. 15 VISHWAKARMA INSTITUTE OF TECHNOLOGY,PUNE