Hough Transform (Section 10.2) CS474/67. Edge Linking and Boundary Detection Edge detection does not yield connected boundaries. Edge linking and boundary.

Slides:



Advertisements
Similar presentations
Hough Transforms CSE 6367 – Computer Vision Vassilis Athitsos University of Texas at Arlington.
Advertisements

Instructor: Mircea Nicolescu Lecture 12 CS 485 / 685 Computer Vision.
Hough Transform Omri Zorea and Alon LipnikGroup #11.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Segmentation (2): edge detection
Image Segmentation Region growing & Contour following Hyeun-gu Choi Advisor: Dr. Harvey Rhody Center for Imaging Science.
Hough Transform Jeremy Wyatt. The story so far We know how to find edges by convolving with the derivative of a Gaussian filter in two directions We then.
Biomedical Image Analysis Rangaraj M. Rangayyan Ch. 5 Detection of Regions of Interest: Sections , Presentation March 3rd 2005 Jukka Parviainen.
Lecture 5 Hough transform and RANSAC
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Detecting.
1 Model Fitting Hao Jiang Computer Science Department Oct 6, 2009.
Chapter 10 Image Segmentation.
1Ellen L. Walker Segmentation Separating “content” from background Separating image into parts corresponding to “real” objects Complete segmentation Each.
CS 376b Introduction to Computer Vision 04 / 11 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 16 / 2008 Instructor: Michael Eckmann.
Object Recognition A wise robot sees as much as he ought, not as much as he can Search for objects that are important lamps outlets wall corners doors.
Chapter 10 Image Segmentation.
CS 376b Introduction to Computer Vision 04 / 14 / 2008 Instructor: Michael Eckmann.
CS 376b Introduction to Computer Vision 04 / 15 / 2008 Instructor: Michael Eckmann.
Robust estimation Problem: we want to determine the displacement (u,v) between pairs of images. We are given 100 points with a correlation score computed.
Segmentation Slides Credit: Jim Rehg, G.Tech. Christopher Rasmussen, UD John Spletzer, Lehigh Also, Slides adopted from material provided by David Forsyth.
כמה מהתעשייה? מבנה הקורס השתנה Computer vision.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
FEATURE EXTRACTION FOR JAVA CHARACTER RECOGNITION Rudy Adipranata, Liliana, Meiliana Indrawijaya, Gregorius Satia Budhi Informatics Department, Petra Christian.
Hough Transform on the GPU Presented by Javier Garcia November 29, 2010.
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
Edge Linking & Boundary Detection
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
From Pixels to Features: Review of Part 1 COMP 4900C Winter 2008.
HOUGH TRANSFORM Presentation by Sumit Tandon
HOUGH TRANSFORM & Line Fitting Introduction  HT performed after Edge Detection  It is a technique to isolate the curves of a given shape / shapes.
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
Hough Transform : A preliminary study Indranil Das HEP Devn., SINP.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Segmentation.
Generalized Hough Transform
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
Joonas Vanninen Antonio Palomino Alarcos.  One of the objectives of biomedical image analysis  The characteristics of the regions are examined later.
Chapter 10 Image Segmentation.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
Digital Image Processing & Pattern Analysis (CSCE 563) Image Segmentation Prof. Amr Goneid Department of Computer Science & Engineering The American University.
Lecture 08 Detecting Shape Using Hough Transform Lecture 08 Detecting Shape Using Hough Transform Mata kuliah: T Computer Vision Tahun: 2010.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
HOUGH TRANSFORM. Introduced in 1962 by Paul Hough pronounced like “tough” according to orm.html.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
Session 2 – Hough Transformation Ashay Tejwani. Video Processing In the last session we saw that an image can be represented by an array of RGB values.
The Hough Transform for Vertical Object Recognition in 3D Images Generated from Airborne Lidar Data Christopher Parrish ECE533 Project December 2006.
Object Detection 01 – Basic Hough Transformation JJCAO.
Hough Transform Procedure to find a shape in an image Shape can be described in parametric form Shapes in image correspond to a family of parametric solutions.
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
Hough transform and geometric transform
Image Segmentation Image segmentation (segmentace obrazu)
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Object Recognition. Segmentation –Roughly speaking, segmentation is to partition the images into meaningful parts that are relatively homogenous in certain.
: Chapter 13: Finding Basic Shapes 1 Montri Karnjanadecha ac.th/~montri Image Processing.
1 Hough Transform. 2 A Technique to Isolate Features of a Particular Shape within an Image The classical Hough transform is most commonly used for the.
HOUGH TRANSFORM.
Chapter 10 Image Segmentation
Fitting: Voting and the Hough Transform
Detection of discontinuity using
Image Segmentation – Edge Detection
Finding Lines in Images
Fitting Curve Models to Edges
Image Processing, Leture #12
ECE 692 – Advanced Topics in Computer Vision
Hough Transform COMP 4900C Winter 2008.
Hough Transform.
Outline Announcement Perceptual organization, grouping, and segmentation Hough transform Read Chapter 17 of the textbook File: week14-m.ppt.
Finding Basic Shapes Hough Transforms
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Hough Transform (Section 10.2) CS474/67

Edge Linking and Boundary Detection Edge detection does not yield connected boundaries. Edge linking and boundary following must be applied after edge detection. gradient magnitude thresholded gradient magnitude

Local Processing Methods At each pixel, a neighborhood (e.g., 3x3) is examined. Pixels which are similar in this neighborhood are linked. How do we define similarity ?

Local Processing Methods (cont’d) G x - Sobel G y - Sobel linking results T=25, A=15

Global Processing Methods If gaps are very large, local processing methods are not effective. Model-based approaches can be used in this case! Hough TransformHough Transform can be used to determine whether points lie on a curve of a specified shape.

Hough Transform – Line Detection Consider the slope-intercept equation of line Rewrite the equation as follows (a, b are constants, x is a variable, y is a function of x) (now, x, y are constants, a is a variable, b is a function of a)

Hough Transform – Line Detection (cont’d) x-y spaceslope-intercept space

Properties in slope-intercept space Each point (x i, y i ) defines a line in the a − b space (parameter space). Points lying on the same line in the x − y space, define lines in the parameter space which all intersect at the same point. The coordinates of the point of intersection define the parameters of the line in the x − y space.

Algorithm 1. Quantize parameter space (a,b): P[a min,..., a max ][b min,..., b max ] (accumulator array) a max

Algorithm (cont’d) 2. For each edge point (x, y) For(a = a min ; a ≤ a max ; a++) { b = − xa + y; /* round off if needed * (P[a][b])++; /* voting */ } 3. Find local maxima in P[a][b] if P[a j ][b k ]=M, then M points lie on the line y = a j x + b k

Effects of Quantization The parameters of a line can be estimated more accurately using a finer quantization of the parameter space. Finer quantization increases space and time requirements. For noise tolerance, however, a coarser quantization is better. a max

Effects of Quantization (cont’d)

Problems with slope-intercept equation The slope can become very large or even infinity! –e.g., for vertical or close to vertical lines Suppose (x 1,y 1 ) and (x 2,y 2 ) lie on the line: It will be impossible to quantize such a large space! slope:

Polar Representation of Lines (no problem with vertical lines, i.e., θ =90) ρ−θ space

Properties in ρ−θ space Each point (x i, y i ) defines a sinusoidal curve in the ρ −θ space (parameter space). Points lying on the same line in the x − y space, define lines in the parameter space which all intersect at the same point. The coordinates of the point of intersection define the parameters of the line in the x − y space.

Properties in ρ−θ space (cont’d) ρ=√2D -ρ=-√2D D: max distance

Example long vertical lines

Algorithm 1. Quantize the parameter space (ρ,θ) P[ρ min,..., ρ max ][θ min,...,θ max ] (accumulator array)

Algorithm (cont’d) 2. For each edge point (x, y) For(θ = θ min ;θ ≤ θ max ;θ ++) { ρ = xcos(θ) + ysin(θ) ; /* round off if needed * (P[ρ][θ])++; /* voting */ } 3. Find local maxima in P[ρ][θ]

Example Richard Duda and Peter Hart “Use of the Hough Transformation to Detect Lines and Curves in Pictures” Communications of the ACM Volume 15, Issue 1 (January 1972) Pages: 11 – 15

Example (cont’d)

Extending Hough Transform Hough transform can also be used for detecting circles, ellipses, etc. For example, the equation of circle is: In this case, there are three parameters: (x 0, y 0 ), r

Extending Hough Transform (cont’d) In general, we can use hough transform to detect any curve which can be described analytically by an equation of the form: Detecting arbitrary shapes, with no analytical description, is also possible (i.e., Generalized Hough Transform)