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

Similar documents
Edge Detection. Today s reading. Cipolla & Gee on edge detection (available online) From Sandlot Science

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

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

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

Edge Detection. EE/CSE 576 Linda Shapiro

Other Linear Filters CS 211A

CS5670: Computer Vision

Edge Detection (with a sidelight introduction to linear, associative operators). Images

Edge detection. Goal: Identify sudden. an image. Ideal: artist s line drawing. object-level knowledge)

CS4670: Computer Vision Noah Snavely

Anno accademico 2006/2007. Davide Migliore

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

CS 4495 Computer Vision. Linear Filtering 2: Templates, Edges. Aaron Bobick. School of Interactive Computing. Templates/Edges

Edge Detection CSC 767

Edge detection. Winter in Kraków photographed by Marcin Ryczek

Edge detection. Gradient-based edge operators

Edge and Texture. CS 554 Computer Vision Pinar Duygulu Bilkent University

Edge detection. Winter in Kraków photographed by Marcin Ryczek

Lecture 7: Most Common Edge Detectors

Edge Detection. CSC320: Introduction to Visual Computing Michael Guerzhoy. René Magritte, Decalcomania. Many slides from Derek Hoiem, Robert Collins

Lecture 4: Finding lines: from detection to model fitting

Edge and corner detection

Generalized Hough Transform, line fitting

Prof. Feng Liu. Winter /15/2019

Edge Detection. CS664 Computer Vision. 3. Edges. Several Causes of Edges. Detecting Edges. Finite Differences. The Gradient

convolution shift invariant linear system Fourier Transform Aliasing and sampling scale representation edge detection corner detection

Announcements. Segmentation (Part 2) Image Segmentation. From images to objects. Image histograms. What do histograms look like?

Segmentation (Part 2)

Lecture 9: Hough Transform and Thresholding base Segmentation

What is an edge? Paint. Depth discontinuity. Material change. Texture boundary

Edge Detection. Computer Vision Shiv Ram Dubey, IIIT Sri City

DIGITAL IMAGE PROCESSING

Digital Image Processing. Image Enhancement - Filtering

CS334: Digital Imaging and Multimedia Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

Digital Image Processing COSC 6380/4393

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

Review of Filtering. Filtering in frequency domain

Edges and Binary Images

Straight Lines and Hough

Solution: filter the image, then subsample F 1 F 2. subsample blur subsample. blur

Image gradients and edges April 11 th, 2017

Lecture 6: Edge Detection

Image gradients and edges April 10 th, 2018

CS534: Introduction to Computer Vision Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

Lecture 8: Fitting. Tuesday, Sept 25

Biomedical Image Analysis. Point, Edge and Line Detection

Image Analysis. Edge Detection

Filtering Applications & Edge Detection. GV12/3072 Image Processing.

Announcements. Edge Detection. An Isotropic Gaussian. Filters are templates. Assignment 2 on tracking due this Friday Midterm: Tuesday, May 3.

Computer Vision I. Announcements. Fourier Tansform. Efficient Implementation. Edge and Corner Detection. CSE252A Lecture 13.

Image gradients and edges

Feature extraction. Bi-Histogram Binarization Entropy. What is texture Texture primitives. Filter banks 2D Fourier Transform Wavlet maxima points

Announcements. Hough Transform [ Patented 1962 ] Generalized Hough Transform, line fitting. Assignment 2: Due today Midterm: Thursday, May 5 in class

Edge Detection. CMPUT 206: Introduction to Digital Image Processing. Nilanjan Ray. Source:

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

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

Edge Detection Lecture 03 Computer Vision

Edge detection. Stefano Ferrari. Università degli Studi di Milano Elaborazione delle immagini (Image processing I)

ME/CS 132: Introduction to Vision-based Robot Navigation! Low-level Image Processing" Larry Matthies"

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

Edges and Lines Readings: Chapter 10: better edge detectors line finding circle finding

Image Analysis. Edge Detection

E0005E - Industrial Image Analysis

Finding 2D Shapes and the Hough Transform

Practical Image and Video Processing Using MATLAB

Image Processing. BITS Pilani. Dr Jagadish Nayak. Dubai Campus

EECS490: Digital Image Processing. Lecture #19

Filtering Images. Contents

Computer Vision I. Announcement. Corners. Edges. Numerical Derivatives f(x) Edge and Corner Detection. CSE252A Lecture 11

2%34 #5 +,,% ! # %& ()% #% +,,%. & /%0%)( 1 ! # %& % %()# +(& ,.+/ +&0%//#/ &

Image Processing

Filtering and Edge Detection. Computer Vision I. CSE252A Lecture 10. Announcement

Lecture 15: Segmentation (Edge Based, Hough Transform)

CS559: Computer Graphics. Lecture 6: Painterly Rendering and Edges Li Zhang Spring 2008

Model Fitting. Introduction to Computer Vision CSE 152 Lecture 11

Image gradients and edges

Neighborhood operations

A Robust Method for Circle / Ellipse Extraction Based Canny Edge Detection

Local Image preprocessing (cont d)

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

What Are Edges? Lecture 5: Gradients and Edge Detection. Boundaries of objects. Boundaries of Lighting. Types of Edges (1D Profiles)

EE795: Computer Vision and Intelligent Systems

Outlines. Medical Image Processing Using Transforms. 4. Transform in image space

Lesson 6: Contours. 1. Introduction. 2. Image filtering: Convolution. 3. Edge Detection. 4. Contour segmentation

Segmentation I: Edges and Lines

Ulrik Söderström 16 Feb Image Processing. Segmentation

Edges and Lines Readings: Chapter 10: better edge detectors line finding circle finding

Edge and local feature detection - 2. Importance of edge detection in computer vision

[ ] Review. Edges and Binary Images. Edge detection. Derivative of Gaussian filter. Image gradient. Tuesday, Sept 16

Comparison between Various Edge Detection Methods on Satellite Image

School of Computing University of Utah

Edges, interpolation, templates. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth)

Lecture 4: Image Processing

PA2 Introduction to Tracking. Connected Components. Moving Object Detection. Pixel Grouping. After Pixel Grouping 2/19/17. Any questions?

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

Feature Detectors and Descriptors: Corners, Lines, etc.

Image Processing: Final Exam November 10, :30 10:30

Image Processing. Traitement d images. Yuliya Tarabalka Tel.

Filtering in frequency domain

Lecture: Edge Detection

Transcription:

Announcements Mailing list: csep576@cs.washington.edu you should have received messages Project 1 out today (due in two weeks) Carpools Edge Detection From Sandlot Science Today s reading Forsyth, chapters 8, 15.1 Edge detection Origin of Edges surface normal discontinuity depth discontinuity surface color discontinuity illumination discontinuity Convert a 2D image into a set of curves Extracts salient features of the scene More compact than pixels Edges are caused by a variety of factors

Edge detection Image gradient The gradient of an image: The gradient points in the direction of most rapid change in intensity The gradient direction is given by: How can you tell that a pixel is on an edge? how does this relate to the direction of the edge? The edge strength is given by the gradient magnitude snoop demo The discrete gradient How can we differentiate a digital image F[x,y]? The discrete gradient How can we differentiate a digital image F[x,y]? Option 1: reconstruct a continuous image, then take gradient Option 2: take discrete derivative (finite difference) How would you implement this as a cross-correlation? filter demo

The Sobel operator Better approximations of the derivatives exist The Sobel operators below are very commonly used Effects of noise Consider a single row or column of the image Plotting intensity as a function of position gives a signal -1 1 1 2 1-2 -1 2 1-1 -2-1 The standard defn. of the Sobel operator omits the 1/8 term doesn t make a difference for edge detection the 1/8 term is needed to get the right gradient value, however Where is the edge? Solution: smooth first Derivative theorem of convolution This saves us one operation: Where is the edge? Look for peaks in

Laplacian of Gaussian 2D edge detection filters Consider Laplacian of Gaussian Laplacian of Gaussian operator Gaussian derivative of Gaussian is the Laplacian operator: Where is the edge? Zero-crossings of bottom graph filter demo The Canny edge detector The Canny edge detector original image (Lena) norm of the gradient

The Canny edge detector Non-maximum suppression thresholding Check if pixel is local maximum along gradient direction requires checking interpolated pixels p and r The Canny edge detector Effect of σ (Gaussian kernel spread/size) original Canny with Canny with thinning (non-maximum suppression) The choice of depends on desired behavior large detects large scale edges small detects fine features

Edge detection by subtraction Edge detection by subtraction original smoothed (5x5 Gaussian) Edge detection by subtraction Gaussian - image filter Why does this work? Gaussian delta function smoothed original (scaled by 4, offset +128) filter demo Laplacian of Gaussian

An edge is not a line... Finding lines in an image Option 1: Search for the line at every possible position/orientation What is the cost of this operation? Option 2: Use a voting scheme: Hough transform How can we detect lines? Finding lines in an image Finding lines in an image y b y b b y x image space m m Hough space x x image space m Hough space Connection between image (x,y) and Hough (m,b) spaces A line in the image corresponds to a point in Hough space To go from image space to Hough space: given a set of points (x,y), find all (m,b) such that y = mx + b Connection between image (x,y) and Hough (m,b) spaces A line in the image corresponds to a point in Hough space To go from image space to Hough space: given a set of points (x,y), find all (m,b) such that y = mx + b What does a point (x, y ) in the image space map to? A: the solutions of b = -x m + y this is a line in Hough space

Hough transform algorithm Typically use a different parameterization Hough transform algorithm Typically use a different parameterization d is the perpendicular distance from the line to the origin θ is the angle this perpendicular makes with the x axis Why? d is the perpendicular distance from the line to the origin θ is the angle this perpendicular makes with the x axis Why? Basic Hough transform algorithm 1. Initialize H[d, θ]= 2. for each edge point I[x,y] in the image for θ = to 18 H[d, θ] += 1 3. Find the value(s) of (d, θ) where H[d, θ] is maximum 4. The detected line in the image is given by What s the running time (measured in # votes)? Hough line demo Extensions Extension 1: Use the image gradient 1. same 2. for each edge point I[x,y] in the image compute unique (d, θ) based on image gradient at (x,y) H[d, θ] += 1 3. same 4. same What s the running time measured in votes? Extension 2 give more votes for stronger edges Extension 3 change the sampling of (d, θ) to give more/less resolution Extension 4 The same procedure can be used with circles, squares, or any other shape Extensions Extension 1: Use the image gradient 1. same 2. for each edge point I[x,y] in the image compute unique (d, θ) based on image gradient at (x,y) H[d, θ] += 1 3. same 4. same What s the running time measured in votes? Extension 2 give more votes for stronger edges Extension 3 change the sampling of (d, θ) to give more/less resolution Extension 4 The same procedure can be used with circles, squares, or any other shape Hough circle demo