Computer Vision Spring 2012 15-385,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.

Slides:



Advertisements
Similar presentations
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Advertisements

Segmentation (2): edge detection
Lecture 5 Hough transform and RANSAC
Thresholding Otsu’s Thresholding Method Threshold Detection Methods Optimal Thresholding Multi-Spectral Thresholding 6.2. Edge-based.
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.
1Ellen L. Walker Segmentation Separating “content” from background Separating image into parts corresponding to “real” objects Complete segmentation Each.
1 Model Fitting Hao Jiang Computer Science Department Oct 8, 2009.
Computer Vision - A Modern Approach Set: Fitting Slides by D.A. Forsyth Fitting Choose a parametric object/some objects to represent a set of tokens Most.
Fitting. We’ve learned how to detect edges, corners, blobs. Now what? We would like to form a higher-level, more compact representation of the features.
Edge Detection Today’s reading Forsyth, chapters 8, 15.1
Feature Detection: Corners and Lines. Edges vs. Corners Edges = maxima in intensity gradientEdges = maxima in intensity gradient.
Fitting a Model to Data Reading: 15.1,
CS 376b Introduction to Computer Vision 04 / 14 / 2008 Instructor: Michael Eckmann.
Stockman MSU/CSE Fall 2009 Finding region boundaries.
CS 376b Introduction to Computer Vision 04 / 15 / 2008 Instructor: Michael Eckmann.
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.
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.
Lecture 10: Robust fitting CS4670: Computer Vision Noah Snavely.
Fitting.
כמה מהתעשייה? מבנה הקורס השתנה Computer vision.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30 – 11:50am.
Feature Detection. Image features Global features –global properties of an image, including intensity histogram, frequency domain descriptors, covariance.
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
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
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
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.
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.
Fitting: The Hough transform
Computational Vision / Ioannis Stamos  Edge Detection  Canny Detector  Line Detection  Hough Transform  Trucco: Chapter 4, pp. 76 – 80 Chapter 5,
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
EECS 274 Computer Vision Model Fitting. Fitting Choose a parametric object/some objects to represent a set of points Three main questions: –what object.
Fitting Thursday, Sept 24 Kristen Grauman UT-Austin.
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.
CSE 185 Introduction to Computer Vision Feature Matching.
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.
Fitting.
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.
Object Recognition. Segmentation –Roughly speaking, segmentation is to partition the images into meaningful parts that are relatively homogenous in certain.
Grouping and Segmentation. Sometimes edge detectors find the boundary pretty well.
HOUGH TRANSFORM.
CSSE463: Image Recognition Day 26
Fitting: Voting and the Hough Transform
Miguel Tavares Coimbra
Fitting.
Line Fitting James Hayes.
Detection of discontinuity using
Exercise Class 11: Robust Tecuniques RANSAC, Hough Transform
A special case of calibration
Fitting Curve Models to Edges
Computer Vision - A Modern Approach
CSSE463: Image Recognition Day 26
CSSE463: Image Recognition Day 26
CSSE463: Image Recognition Day 27
CSSE463: Image Recognition Day 26
CSE 185 Introduction to Computer Vision
CSSE463: Image Recognition Day 26
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am

Boundary Detection: Hough Transform Lecture #7 Reading: Computer Vision (Ballard and Brown): Chapter 4 “Use of the Hough Transform to detect lines and curves in pictures”, Comm. ACM 15, 1, January 1972 (pgs )

Boundaries of Objects Marked by many users

Boundaries of Objects from Edges Brightness Gradient (Edge detection) Missing edge continuity, many spurious edges

Boundaries of Objects from Edges Multi-scale Brightness Gradient But, low strength edges may be very important

Boundaries of Objects from Edges Image Machine Edge Detection Human Boundary Marking

Boundaries in Medical Imaging Detection of cancerous regions. [Foran, Comaniciu, Meer, Goodell, 00]

Boundaries in Ultrasound Images Hard to detect in the presence of large amount of speckle noise

Boundaries of Objects Sometimes hard even for humans!

Topics Preprocessing Edge Images Edge Tracking Methods Fitting Lines and Curves to Edges The Hough Transform

Preprocessing Edge Images Image Edge detection and Thresholding Noisy edge image Incomplete boundaries Shrink and Expand Thinning

Edge Tracking Methods Adjusting a priori Boundaries: Given: Approximate Location of Boundary Task: Find Accurate Location of Boundary Search for STRONG EDGES along normals to approximate boundary. Fit curve (eg., polynomials) to strong edges.

Edge Tracking Methods Divide and Conquer: Given: Boundary lies between points A and B Task: Find Boundary Connect A and B with Line Find strongest edge along line bisector Use edge point as break point Repeat

Fitting Lines to Edges (Least Squares) Given: Many pairs Find: Parameters Minimize: Average square distance: Using: Note:

Problem with Parameterization Line that minimizes E!! Solution: Use a different parameterization Note: Error E must be formulated carefully!

Computer Vision - A Modern Approach Set: Fitting Slides by D.A. Forsyth Line fitting can be max. likelihood - but choice of model is important

Curve Fitting Find Polynomial: that best fits the given points Minimize: Using: Note:is LINEAR in the parameters (a, b, c, d)

Line Grouping Problem Slide credit: David Jacobs

This is difficult because of: Extraneous data: clutter or multiple models –We do not know what is part of the model? –Can we pull out models with a few parts from much larger amounts of background clutter? Missing data: only some parts of model are present Noise Cost: –It is not feasible to check all combinations of features by fitting a model to each possible subset

Hough Transform Elegant method for direct object recognition Edges need not be connected Complete object need not be visible Key Idea: Edges VOTE for the possible model

Image and Parameter Spaces Equation of Line: Find: Consider point: Image Space Parameter Space Parameter space also called Hough Space

Line Detection by Hough Transform Parameter Space Algorithm: Quantize Parameter Space Create Accumulator Array Set For each image edge increment: If lies on the line: Find local maxima in

Better Parameterization NOTE: Large Accumulator More memory and computations Improvement: Line equation: Here Given points find (Finite Accumulator Array Size) Image Space Hough Space ? Hough Space Sinusoid

Image space Votes Horizontal axis is θ, vertical is rho.

Image space votes

Mechanics of the Hough transform Difficulties –how big should the cells be? (too big, and we merge quite different lines; too small, and noise causes lines to be missed) How many lines? –Count the peaks in the Hough array –Treat adjacent peaks as a single peak Which points belong to each line? –Search for points close to the line –Solve again for line and iterate

Fewer votes land in a single bin when noise increases.

Adding more clutter increases number of bins with false peaks.

Real World Example Original Edge Detection Found Lines Parameter Space

Finding Circles by Hough Transform Equation of Circle: If radius is known: Accumulator Array (2D Hough Space)

Finding Circles by Hough Transform Equation of Circle: If radius is not known: 3D Hough Space! Use Accumulator array What is the surface in the hough space?

Using Gradient Information Gradient information can save lot of computation: Edge Location Edge Direction Need to increment only one point in Accumulator!! Assume radius is known:

Real World Circle Examples Crosshair indicates results of Hough transform, bounding box found via motion differencing.

Finding Coins Original Edges (note noise)

Finding Coins (Continued) PenniesQuarters

Finding Coins (Continued) Coin finding sample images from: Vivek Kwatra Note that because the quarters and penny are different sizes, a different Hough transform (with separate accumulators) was used for each circle size.

Generalized Hough Transform Model Shape NOT described by equation

Generalized Hough Transform Model Shape NOT described by equation

Generalized Hough Transform Find Object Center given edges Create Accumulator Array Initialize: For each edge point For each entry in table, compute: Increment Accumulator: Find Local Maxima in

Hough Transform: Comments Works on Disconnected Edges Relatively insensitive to occlusion Effective for simple shapes (lines, circles, etc) Trade-off between work in Image Space and Parameter Space Handling inaccurate edge locations: Increment Patch in Accumulator rather than a single point

Next Class Physics based Vision