Detection of discontinuity using

Slides:



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

Boundary Detection - Edges Boundaries of objects –Usually different materials/orientations, intensity changes.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Segmentation (2): edge detection
EE663 Image Processing Edge Detection 1
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.
Canny Edge Detector.
CS 376b Introduction to Computer Vision 04 / 11 / 2008 Instructor: Michael Eckmann.
Announcements Mailing list: –you should have received messages Project 1 out today (due in two weeks)
Edge Detection Today’s reading Forsyth, chapters 8, 15.1
CS 376b Introduction to Computer Vision 04 / 14 / 2008 Instructor: Michael Eckmann.
Image Features, Hough Transform Image Pyramid CSE399b, Spring 06 Computer Vision Lecture 10
Lecture 4: Edge Based Vision Dr Carole Twining Thursday 18th March 2:00pm – 2:50pm.
Announcements Since Thursday we’ve been discussing chapters 7 and 8. “matlab can be used off campus by logging into your wam account and bringing up an.
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.
© 2010 Cengage Learning Engineering. All Rights Reserved.
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.
Hough Transform (Section 10.2) CS474/67. Edge Linking and Boundary Detection Edge detection does not yield connected boundaries. Edge linking and boundary.
כמה מהתעשייה? מבנה הקורס השתנה 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.
Edge Linking & Boundary Detection
Lecture 16 Image Segmentation 1.The basic concepts of segmentation 2.Point, line, edge detection 3.Thresh holding 4.Region-based segmentation 5.Segmentation.
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.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Segmentation.
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.
Image Segmentation and Morphological Processing Digital Image Processing in Life- Science Aviad Baram
Chapter 10 Image Segmentation.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Fitting: The Hough transform
CS654: Digital Image Analysis Lecture 24: Introduction to Image Segmentation: Edge Detection Slide credits: Derek Hoiem, Lana Lazebnik, Steve Seitz, David.
Many slides from Steve Seitz and Larry Zitnick
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Edge Detection and Geometric Primitive Extraction Jinxiang Chai.
Course 8 Contours. Def: edge list ---- ordered set of edge point or fragments. Def: contour ---- an edge list or expression that is used to represent.
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
Chapter 9: Image Segmentation
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Image Segmentation Image segmentation (segmentace obrazu)
Edges and Lines Readings: Chapter 10:
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
1 Edge Operators a kind of filtering that leads to useful features.
Grouping and Segmentation. Sometimes edge detectors find the boundary pretty well.
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
Chapter 10 Image Segmentation
Fitting: Voting and the Hough Transform
Miguel Tavares Coimbra
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Image Segmentation – Edge Detection
Fitting: The Hough transform
Finding Lines in Images
Fitting Curve Models to Edges
Image Processing, Leture #12
Jeremy Bolton, PhD Assistant Teaching Professor
Computer Vision Lecture 9: Edge Detection II
ECE 692 – Advanced Topics in Computer Vision
a kind of filtering that leads to useful features
Edge Detection CSE 455 Linda Shapiro.
a kind of filtering that leads to useful features
Canny Edge Detector.
Hough Transform.
Morphological Operators
Outline Announcement Perceptual organization, grouping, and segmentation Hough transform Read Chapter 17 of the textbook File: week14-m.ppt.
Edge Detection Today’s readings Cipolla and Gee Watt,
Finding Basic Shapes Hough Transforms
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Image Segmentation – Edge linking: Canny Edge Detector & Hough Transform

Detection of discontinuity using Image Segmentation - 2 Review Detection of discontinuity using 1st derivative Providing gradient and magnitude Zero crossing (2nd derivative using Laplacian) For edge location No gradient information Sensitive to noise Smoothing using Gaussian filter (LoG)

Image Segmentation - 2 Edge linking How to deal with gaps in edges? How to deal with noise in edges? Linking points by determining whether they lie on a curve of a specific shape

Edge linking – Local Processing Image Segmentation - 2 Edge linking – Local Processing Analyze the characteristics of the edge pixels in a small neighborhood Its magnitude Its direction E: nonnegative threshold E=25 A: nonnegative angle threshold A=150 (x0,y0): an edge point

Q1: Is a pixel an edge element or not? Image Segmentation - 2 What is missing? Q1: Is a pixel an edge element or not? Canny Edge Detection Q2: If the edge elements are not connect, how to establish the boundary between regions? Hough Transform

Canny edge detector answers the first question. Image Segmentation - 2 Canny Edge Detector Canny edge detector answers the first question. Characteristics of the edge detector: Low error rate -- finding all edges and nothing but edges. Localization of edges – distance between edges found and actual edges should be minimized. Single response – no multiple edge pixels when only a single edge exists.

Edge Function in Matlab Image Segmentation - 2 Edge Function in Matlab sensitivity thresholds I: intensity image, BW: binary image THRESH: is a two-element vector in which the first element is the low threshold, and the second element is the high threshold. The Canny method uses 2 thresholds, to detect strong and weak edges, and includes the weak edges in the output only if they are connected to strong edges. This method is therefore less likely than the others to be "fooled" by noise, and more likely to detect true weak edges. BW = edge(I,'canny') BW = edge(I,'canny',thresh) BW = edge(I,'canny',thresh,sigma) Syntax smoothing

I = imread(‘Will.jpg’); bw = edge(I,'canny'); I = imread(‘Lena.tif’); bw = edge(I,'canny');

sigma A =edge(I,'canny',[], 1); B =edge(I,'canny',[], 2); C =edge(I,'canny',[], 3); D =edge(I,'canny',[], 4); E =[A B C D]; imshow(E)

Why is Canny so dominant? Image Segmentation - 2 Why is Canny so dominant? Still widely used after 20 years. Theory is nice (but end result same). Details good (magnitude of gradient). Hysteresis an important heuristic. Code was distributed. Perhaps this is about all you can do with linear filtering.

Therefore, need to fit a line to the edge points. Image Segmentation - 2 Hough Transform Results of edge-detection methods may contain sparse points, instead of straight lines or curves. Therefore, need to fit a line to the edge points. Efficient solution: Hough Transform Originally for finding lines Easily varied to find other shapes

Image Segmentation - 2 Simple Example Consider a point (xi,yi) and the general equation of a straight line in slope-intercept form: Q: How many lines may pass through (xi,yi)? Re-writing the equation in ab-plane How many lines do we get for a fixed (xi,yi)? intercept slope

Image Segmentation - 2 Finding (a,b) Now given another point (xj, yj), how to find the parameter (a’,b’) which defines the line that contains both points?

Image Segmentation - 2 (con’d) All points on this line have lines in parameter space that intersect at (a’,b’).

How about a vertical line? Image Segmentation - 2 What is the problem? How about a vertical line? Gradient/slope is infinite Need another parameterization scheme. Now consider r is the shortest distance from the line to the origin, and is the angle New parameterization:

Computation for Hough Transform Image Segmentation - 2 Computation for Hough Transform Choosing a discrete set of values of r and . Construct an accumulator array, initialized with 0 for each entry. Picture this process as a voting process rmin rmax r

For each edge point (x,y) in the image, Image Segmentation - 2 (con’d) For each edge point (x,y) in the image, we compute for each Increment the counter for the cell of the resulting (r, ) At the end, the (r, ) with highest count correspond to strongest line in the image.

Edge linking - Hough transform Image Segmentation - 2 Edge linking - Hough transform Can tolerate noise and gaps in edge image Look for solutions in a parameter space Classical Hough transform Detect simple shape Line detection Circle detection Generalized Hough Transform Detect complicated shapes