Object Recognition. Segmentation –Roughly speaking, segmentation is to partition the images into meaningful parts that are relatively homogenous in certain.

Slides:



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

Fitting: The Hough transform. Voting schemes Let each feature vote for all the models that are compatible with it Hopefully the noise features will not.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Hough Transform Reading Watt, An edge is not a line... How can we detect lines ?
Segmentation (2): edge detection
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.
Fitting: The Hough transform
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.
Fitting lines. Fitting Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local –can’t.
1 Model Fitting Hao Jiang Computer Science Department Oct 6, 2009.
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.
1 Model Fitting Hao Jiang Computer Science Department Oct 8, 2009.
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.
Fitting a Model to Data Reading: 15.1,
Moments area of the object center of mass  describe the image content (or distribution) with respect to its axes.
CS 376b Introduction to Computer Vision 04 / 14 / 2008 Instructor: Michael Eckmann.
Hough Transform. Detecting Lines Hough transform detects lines in images Equation of line is: y = mx + b or Hough transform uses an array called accumulator.
3-D Computer Vision CSc Feature Detection and Grouping.
Edge Detection Today’s readings Cipolla and Gee –supplemental: Forsyth, chapter 9Forsyth Watt, From Sandlot ScienceSandlot Science.
Edge Detection.
כמה מהתעשייה? מבנה הקורס השתנה 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.
Computer Vision More Image Features Hyunki Hong School of Integrative Engineering.
Edge Linking & Boundary Detection
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
Image Segmentation And Representation Cosimo Distante.
Fitting: The Hough transform. Voting schemes Let each feature vote for all the models that are compatible with it Hopefully the noise features will not.
Lecture 6-1CS251: Intro to AI/Lisp II I can see clearly now May 4th, 1999.
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.
Fitting : Voting and the Hough Transform Monday, Feb 14 Prof. Kristen Grauman UT-Austin.
Generalized Hough Transform
CSSE463: Image Recognition Day 25 This week This week Today: Finding lines and circles using the Hough transform (Sonka 6.26) Today: Finding lines and.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP8 Segmentation Miguel Tavares Coimbra.
Digital Image Processing & Pattern Analysis (CSCE 563) Image Segmentation Prof. Amr Goneid Department of Computer Science & Engineering The American University.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Fitting: The Hough transform
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.
Fitting Thursday, Sept 24 Kristen Grauman UT-Austin.
1 Model Fitting Hao Jiang Computer Science Department Sept 30, 2014.
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.
Image Segmentation Image segmentation (segmentace obrazu)
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Hough Transform. Introduction The Hough Transform is a general technique for extracting geometrical primitives from e.g. edge data Performed after Edge.
Detecting Image Features: Corner. Corners Given an image, denote the image gradient. C is symmetric with two positive eigenvalues. The eigenvalues give.
Hough Transform CS 691 E Spring Outline Hough transform Homography Reading: FP Chapter 15.1 (text) Some slides from Lazebnik.
: 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.
Fitting: Voting and the Hough Transform
Miguel Tavares Coimbra
Detection of discontinuity using
Finding Lines in Images
Fitting Curve Models to Edges
Image Processing, Leture #12
Object Detection.
CSSE463: Image Recognition Day 26
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
CSE 185 Introduction to Computer Vision
CSSE463: Image Recognition Day 26
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Object Recognition

Segmentation –Roughly speaking, segmentation is to partition the images into meaningful parts that are relatively homogenous in certain sense

Segmentation by Fitting a Model One view of segmentation is to group pixels (tokens, etc.) belong together because they conform to some model –In many cases, explicit models are available, such as a line –Also in an image a line may consist of pixels that are not connected or even close to each other

Canny and Hough Together

Hough Transform It locates straight lines It locates straight line intervals It locates circles It locates algebraic curves It locates arbitrary specific shapes in an image –But you pay progressively for complexity of shapes by time and memory usage

* * * * * ** Hough Transform for circles You need three parameters to describe a circle Vote space is three dimensional

First Parameterization of Hough Transform for lines

Hough Transform – cont. Straight line case –Consider a single isolated edge point (x i, y i ) There are an infinite number of lines that could pass through the points –Each of these lines can be characterized by some particular equation

Line detection Mathematical model of a line: xy Y = mx + n P(x 1,y 1 ) P(x 2,y 2 ) Y 1 =m x 1 +n Y 2 =m x 2 +n Y N =m x N +n

Image and Parameter Spaces xy Y = mx + n Y1=m x1+nY1=m x1+nY1=m x1+nY1=m x1+n Y2=m x2+nY2=m x2+nY2=m x2+nY2=m x2+n YN=m xN+nYN=m xN+nYN=m xN+nYN=m xN+n Y = m’x + n’ Image Space Parameter Space interceptslope mn m’n’ Line in Img. Space ~ Point in Param. Space

Looking at it backwards … Can be re-written as: n = -x 1 m + Y 1 Y 1 =m x 1 +n Parameter space Fix (-x 1,y 1 ), Vary (m,n) - Line n = -x 1 m + Y 1 interceptslopem n m’n’

Hough Transform Technique At each point of the (discrete) parameter space, count how many lines pass through it. –Use an array of counters –Can be thought as a “ parameter image” The higher the count, the more edges are collinear in the image space. –Find a peak in the counter array –This is a “bright” point in the parameter image –It can be found by thresholding

Hough Transform – cont. Hough transform algorithm 1. Find all of the desired feature points in the image 2. For each feature point For each possibility i in the accumulator that passes through the feature point Increment that position in the accumulator 3. Find local maxima in the accumulator 4. If desired, map each maximum in the accumulator back to image space

Hough Transform – cont. A better way of expressing lines for Hough transform

Hough Transform is a voting neural network voting One of the most popular utilizations of a voting mechanism A kind of structured Neural Network image space parameter space (vote space, Hough space). A transformation from an image space to a parameter space (vote space, Hough space). Voting is performed in the parameter space This transform can be also treated as template matching

HT for Circles Extend HT to other shapes that can be expressed parametrically Circle, fixed radius r, centre (a,b) –(x 1 -a) 2 + (x 2 -b) 2 = r 2 –accumulator array must be 3D –unless circle radius, r is known –re-arrange equation so x 1 is subject and x 2 is the variable –for every point on circle edge (x,y) plot range of (x 1,x 2 ) for a given r

Hough Transform – cont. Here the radius is fixed

Hough circle Fitting

Hough Transform

Hough Transform – cont. More complicated shapes –As you can see, the Hough transform can be used to find shapes with arbitrary complexity as long as we can describe the shape with some fixed number of parameters –The number of parameters required indicates the dimensionality of the accumulator

Hough Transform for Curves The H.T. can be generalized to detect any curve that can be expressed in parametric form: –Y = f(x, a1,a2,…ap) –a1, a2, … ap are the parameters –The parameter space is p-dimensional –The accumulating array is LARGE!

Fitting Lines Fitting lines are useful –Many objects are characterized by the presence of straight lines Line fitting with least squares

Fitting Lines with Least Squares

Incremental Fitting

K-means Line Fitting

Fitting Curves – cont.

Parameter space q = y - kx –a set of values on a line in the (k,q) space == point passing through (x,y) in image space OR –every point in image space (x,y) == line in parameter space