From Szymon Rusinkiewicz, Princeton

Similar documents
Feature Detectors and Descriptors: Corners, Lines, etc.

CAP 5415 Computer Vision Fall 2012

Edge linking. Two types of approaches. This process needs to be able to bridge gaps in detected edges due to the reason mentioned above

Announcements, schedule. Lecture 8: Fitting. Weighted graph representation. Outline. Segmentation by Graph Cuts. Images as graphs

Lecture 15: Segmentation (Edge Based, Hough Transform)

Lecture 9: Hough Transform and Thresholding base Segmentation

An edge is not a line... Edge Detection. Finding lines in an image. Finding lines in an image. How can we detect lines?

Fitting. Lecture 8. Cristian Sminchisescu. Slide credits: K. Grauman, S. Seitz, S. Lazebnik, D. Forsyth, J. Ponce

Issues with Curve Detection Grouping (e.g., the Canny hysteresis thresholding procedure) Model tting They can be performed sequentially or simultaneou

Edge detection. Gradient-based edge operators

Finding 2D Shapes and the Hough Transform

Types of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection

Fitting: The Hough transform

CS443: Digital Imaging and Multimedia Perceptual Grouping Detecting Lines and Simple Curves

Computer Vision 6 Segmentation by Fitting

Elaborazione delle Immagini Informazione Multimediale. Raffaella Lanzarotti

Lecture 8: Fitting. Tuesday, Sept 25

GRAPHICS OUTPUT PRIMITIVES

HOUGH TRANSFORM CS 6350 C V

Example: Line fitting. Difficulty of line fitting. Fitting lines. Fitting lines. Fitting lines. Voting 9/22/2009

Fitting: The Hough transform

Multi-stable Perception. Necker Cube

Fitting. Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local

Model Fitting: The Hough transform II

Fitting: The Hough transform

Prof. Kristen Grauman

Scale Invariant Feature Transform (SIFT) CS 763 Ajit Rajwade

Photo by Carl Warner

HOUGH TRANSFORM. Plan for today. Introduction to HT. An image with linear structures. INF 4300 Digital Image Analysis

Straight Lines and Hough

Feature Matching and Robust Fitting

Announcements. Edges. Last Lecture. Gradients: Numerical Derivatives f(x) Edge Detection, Lines. Intro Computer Vision. CSE 152 Lecture 10

Biomedical Image Analysis. Point, Edge and Line Detection

Contents Edge Linking and Boundary Detection

Segmentation I: Edges and Lines

E0005E - Industrial Image Analysis

(Refer Slide Time: 0:32)

Model Fitting: The Hough transform I

OUTPUT PRIMITIVES. CEng 477 Introduction to Computer Graphics METU, 2007

Computer Vision. Image Segmentation. 10. Segmentation. Computer Engineering, Sejong University. Dongil Han

CS 450: COMPUTER GRAPHICS RASTERIZING LINES SPRING 2016 DR. MICHAEL J. REALE

12.4 The Ellipse. Standard Form of an Ellipse Centered at (0, 0) (0, b) (0, -b) center

SUMMARY PART I. Variance, 2, is directly a measure of roughness. A bounded measure of smoothness is

Wheelchair Detection in a Calibrated Environment

Other Linear Filters CS 211A

Edge Detection. EE/CSE 576 Linda Shapiro

OBJECT detection in general has many applications

Image Processing and Computer Vision

Edge Detection. Announcements. Edge detection. Origin of Edges. Mailing list: you should have received messages

CSC Computer Graphics

Fitting a transformation: Feature-based alignment April 30 th, Yong Jae Lee UC Davis

Generalized Hough Transform, line fitting

Fitting: Voting and the Hough Transform April 23 rd, Yong Jae Lee UC Davis

Lecture 4: Finding lines: from detection to model fitting

A Circle Detection Method Based on Optimal Parameter Statistics in Embedded Vision

Fitting: Voting and the Hough Transform

Regional Precalculus/Trigonometry Contest 2006

EECS490: Digital Image Processing. Lecture #20

Introduction. Chapter Overview

EECS490: Digital Image Processing. Lecture #21

Template Matching Rigid Motion

DETECTION AND ROBUST ESTIMATION OF CYLINDER FEATURES IN POINT CLOUDS INTRODUCTION

of Straight Lines 1. The straight line with gradient 3 which passes through the point,2

Edge detection. Convert a 2D image into a set of curves. Extracts salient features of the scene More compact than pixels

Real-Time Object Recognition Using a Modified Generalized Hough Transform

CS 664 Image Matching and Robust Fitting. Daniel Huttenlocher

RANSAC and some HOUGH transform

Robust Ring Detection In Phase Correlation Surfaces

EDGE EXTRACTION ALGORITHM BASED ON LINEAR PERCEPTION ENHANCEMENT

Model Fitting, RANSAC. Jana Kosecka

Test Name: Chapter 3 Review

Model Fitting. Introduction to Computer Vision CSE 152 Lecture 11

Template Matching Rigid Motion. Find transformation to align two images. Focus on geometric features

GENERALIZING THE HOUGH TRANSFORM TO DETECT ARBITRARY SHAPES. D. H. Ballard Pattern Recognition Vol. 13 No

Fitting. Fitting. Slides S. Lazebnik Harris Corners Pkwy, Charlotte, NC

Solutions to Some Examination Problems MATH 300 Monday 25 April 2016

Image formation - About the course. Grading & Project. Tentative Schedule. Course Content. Students introduction

Pattern recognition systems Lab 3 Hough Transform for line detection

Edge Detection. CSE 576 Ali Farhadi. Many slides from Steve Seitz and Larry Zitnick

Circular Hough Transform

Bioimage Informatics

Hough Transform and RANSAC

CS 157: Assignment 6

Multimedia Computing: Algorithms, Systems, and Applications: Edge Detection

Practical Image and Video Processing Using MATLAB

CHAPTER 40 CARTESIAN AND POLAR COORDINATES

14.5 Directional Derivatives and the Gradient Vector

Coordinate Transformations in Advanced Calculus

9.5 Polar Coordinates. Copyright Cengage Learning. All rights reserved.

Object Detection. Sanja Fidler CSC420: Intro to Image Understanding 1/ 1

13 Trigonometric Graphs

CS6640: Image Processing Project 4 Hough Transform

Gradient-Free Boundary Tracking* Zhong Hu Faculty Advisor: Todd Wittman August 2007 UCLA Department of Mathematics

Appendix D Trigonometry

4.1 Angles and Angle Measure. 1, multiply by

EE795: Computer Vision and Intelligent Systems

Polar Coordinates. Chapter 10: Parametric Equations and Polar coordinates, Section 10.3: Polar coordinates 27 / 45

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

Perception IV: Place Recognition, Line Extraction

7-5 Parametric Equations

Transcription:

Hough Transform General idea: transform from image coordinates to parameter space of feature Need parameterized model of features For each piel, determine all parameter values that might have given rise to that piel; vote At end, look for peaks in parameter space Hough Transform for Lines Generic line: = a+b Parameters: a and b 1

Hough Transform for Lines 1. Initialize table of buckets,, indeed b a and b,,tozero. For each detected edge piel (,): a. Determine all (a,b) such that = a+b b. Increment bucket (a,b) 3. Buckets with man votes indicate probable lines Hough Transform for Lines a b

Hough Transform for Lines a b Difficulties with Hough Transform for Lines Slope / intercept parameterization not ideal Non-uniform sampling of directions Can t represent vertical lines Angle / distance parameterization Line represented as (r, ) where cos + sin = r r 3

Finding Lines Using the Hough Transform i, i cos sin i i Algorithm Discretize the parameter spaces ρ and θ. Create Accumulator arra A(1..R,1..T). Set A(k,h)=0 for all k and h. For each image edge E(i,j)=1 For h=1 T ρ =i cosθd(h)+j sinθd (h) Find inde k: ρd ρ is closest to ρ Increment A(h,k) b one. Find all local maima (kp, hp) such that A (kp, hp)>τ 4

Hough Transform Results Forsth & Ponce Hough Transform Results Forsth & Ponce 5

Finding Lines Using the Hough Transform Strong local peaks correspond to lines. Finding Lines Using the Hough Transform Resolution Issues 6

Bucket Selection How to select bucket size? Bucket Selection How to select bucket size? Too small: poor performance on nois data Too large: poor accurac, long running times, possibilit of false positives Large buckets + verification and refinement Problems distinguishing nearb lines Be smarter at selecting buckets Use gradient information to select subset of buckets More sensitive to noise 7

Hough Transform: Results Image Edge detection Hough Transform Summar Hough Transform Smart counting Local evidence for global features Organized in a table Careful with parameterization! Problem: Curse of dimensionalit Works great for simple features with 3 unknowns Will fail for comple objects Problem: Not a local algorithm 8

Hough Transform What else can be detected using Hough transform? Hough Transform What else can be detected using Hough transform? Anthing, but dimensionalit is ke 9

Finding Circles b Hough Transform b0 r (i,i) Equation of Circle: a0 ( a r i 0 ) ( i b0 ) Finding Circles b Hough Transform b0 r (i,i) Equation of Circle: a0 ( a r If radius r is known: b (i,i) Accumulator arra A(a,b) i 0 ) ( i b0 ) Circles! a 10

Finding Circles b Hough Transform b0 r (i,i) a0 If r is not known Use accumulator arra A(a,b,r) For each h( (i,i)increment ta( A(a,b,r) such hthatt ( i a ) ( i b ) r Using Gradient Information Can save lot of computations! Given: location (i,i) Edge direction φi 11

Using Gradient Information Can save lot of computations! Given: location (i,i) Edge direction φi Assume r is known: (i,i) φi (a,b) a=-rcosφ b=-rsinφ Need to increment onl one point in Accumulator Arra. 1