Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Gradients and edges Points of sharp change in an image are interesting:

Slides:



Advertisements
Similar presentations
Scale & Affine Invariant Interest Point Detectors Mikolajczyk & Schmid presented by Dustin Lennon.
Advertisements

Boundary Detection - Edges Boundaries of objects –Usually different materials/orientations, intensity changes.
CSE 473/573 Computer Vision and Image Processing (CVIP)
October 2, 2014Computer Vision Lecture 8: Edge Detection I 1 Edge Detection.
CSE 473/573 Computer Vision and Image Processing (CVIP)
Edge and Corner Detection Reading: Chapter 8 (skip 8.1) Goal: Identify sudden changes (discontinuities) in an image This is where most shape information.
Edge Detection. Our goal is to extract a “line drawing” representation from an image Useful for recognition: edges contain shape information –invariance.
EE663 Image Processing Edge Detection 1
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Lecture 4 Edge Detection
Computer Vision Group Edge Detection Giacomo Boracchi 5/12/2007
Canny Edge Detector.
Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Differentiation and convolution Recall Now this is linear and shift invariant,
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
Image processing. Image operations Operations on an image –Linear filtering –Non-linear filtering –Transformations –Noise removal –Segmentation.
Computer Vision - A Modern Approach
Midterm review: Cameras Pinhole cameras Vanishing points, horizon line Perspective projection equation, weak perspective Lenses Human eye Sample question:
Edge Detection Today’s reading Forsyth, chapters 8, 15.1
Feature extraction: Corners and blobs
Linear filters and edges. Linear Filters General process: Form new image whose pixels are a weighted sum of original pixel values, using the same set.
Filters and Edges. Zebra convolved with Leopard.
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.
Edge Detection Today’s readings Cipolla and Gee –supplemental: Forsyth, chapter 9Forsyth Watt, From Sandlot ScienceSandlot Science.
Edge Detection.
Computer Vision P. Schrater Spring 2003
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Computer Vision Linear filters and edges Marc Pollefeys COMP 256.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30 – 11:50am.
Linear Filters and Edges
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
Discrete Images (Chapter 7) Fourier Transform on discrete and bounded domains. Given an image: 1.Zero boundary condition 2.Periodic boundary condition.
Computer Vision : CISC 4/689 Sobel Edge Detection: Gradient Approximation Horizontal diff.Vertical diff Note anisotropy of edge.
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
Edge Detection Today’s reading Cipolla & Gee on edge detection (available online)Cipolla & Gee on edge detection Szeliski, Ch 4.1.2, From Sandlot.
Computer Vision : CISC 4/689 Gradients and edges Points of sharp change in an image are interesting: –change in reflectance –change in object –change in.
Lecture 6: Edge Detection CAP 5415: Computer Vision Fall 2008.
EECS 274 Computer Vision Linear Filters and Edges.
CSC508 What You Should Be Doing Code, code, code –Programming Gaussian Convolution Sobel Edge Operator.
Instructor: S. Narasimhan
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
CSE 185 Introduction to Computer Vision Edges. Scale space Reading: Chapter 3 of S.
Many slides from Steve Seitz and Larry Zitnick
Edges.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Edge 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.
Course 5 Edge Detection. Image Features: local, meaningful, detectable parts of an image. edge corner texture … Edges: Edges points, or simply edges,
Instructor: Mircea Nicolescu Lecture 7
Finding Boundaries Computer Vision CS 143, Brown James Hays 09/28/11 Many slides from Lana Lazebnik, Steve Seitz, David Forsyth, David Lowe, Fei-Fei Li,
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Edges Edges = jumps in brightness/color Brightness jumps marked in white.
Winter in Kraków photographed by Marcin Ryczek
Edge Detection Images and slides from: James Hayes, Brown University, Computer Vision course Svetlana Lazebnik, University of North Carolina at Chapel.
Edge Detection slides taken and adapted from public websites:
Linear Filters and Edges Chapters 7 and 8
Edge Detection CS 678 Spring 2018.
Corners and Interest Points
Jeremy Bolton, PhD Assistant Teaching Professor
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Review: Linear Systems
Lecture 2: Edge detection
Canny Edge Detector.
Feature Detection .
Edge Detection Today’s readings Cipolla and Gee Watt,
Winter in Kraków photographed by Marcin Ryczek
IT472 Digital Image Processing
IT472 Digital Image Processing
CAP 5415 Computer Vision Fall 2004
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Presentation transcript:

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Gradients and edges Points of sharp change in an image are interesting: –change in reflectance –change in object –change in illumination –noise Sometimes called edge points General strategy –determine image gradient –now mark points where gradient magnitude is particularly large wrt neighbours (ideally, curves of such points).

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth There are three major issues: 1) The gradient magnitude at different scales is different; which should we choose? 2) The gradient magnitude is large along thick trail; how do we identify the significant points? 3) How do we link the relevant points up into curves?

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Smoothing and Differentiation Issue: noise –smooth before differentiation –two convolutions to smooth, then differentiate? –actually, no - we can use a derivative of Gaussian filter because differentiation is convolution, and convolution is associative

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth The scale of the smoothing filter affects derivative estimates, and also the semantics of the edges recovered. 1 pixel 3 pixels 7 pixels

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth The Laplacian of Gaussian Another way to detect an extremal first derivative is to look for a zero second derivative Appropriate 2D analogy is rotation invariant –the Laplacian Bad idea to apply a Laplacian without smoothing –smooth with Gaussian, apply Laplacian –this is the same as filtering with a Laplacian of Gaussian filter Now mark the zero points where there is a sufficiently large derivative, and enough contrast

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth sigma=2 sigma=4 contrast=1 contrast=4 LOG zero crossings

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth We still have unfortunate behaviour at corners

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth We wish to mark points along the curve where the magnitude is biggest. We can do this by looking for a maximum along a slice normal to the curve (non-maximum suppression). These points should form a curve. There are then two algorithmic issues: at which point is the maximum, and where is the next one?

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Non-maximum suppression At q, we have a maximum if the value is larger than those at both p and at r. Interpolate to get these values.

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Predicting the next edge point Assume the marked point is an edge point. Then we construct the tangent to the edge curve (which is normal to the gradient at that point) and use this to predict the next points (here either r or s).

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Remaining issues Check that maximum value of gradient value is sufficiently large –drop-outs? use hysteresis use a high threshold to start edge curves and a low threshold to continue them.

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Notice Something nasty is happening at corners Scale affects contrast Edges aren’t bounding contours

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth fine scale high threshold

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth coarse scale, high threshold

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth coarse scale low threshold

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Orientation representations The gradient magnitude is affected by illumination changes –but it’s direction isn’t We can describe image patches by the swing of the gradient orientation Important types: –constant window small gradient mags –edge window few large gradient mags in one direction –flow window many large gradient mags in one direction –corner window large gradient mags that swing

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Representing Windows Types –constant small eigenvalues –Edge one medium, one small –Flow one large, one small –corner two large eigenvalues

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Harris Corner detector Le regioni uniformi hanno tutti I gradienti uniformi I bordi lineari hanno tutti i gradienti allineati gli angoli sono I punti di congiunzione di due bordi e quindi avra` I gradienti attorno allineati lungo due direttrici fondamentali

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Harris Corner detector Tutti e due gli auovalori di H sono > 0 Rilevatore di angoli Harris: gli angoli sono massimi locali della funzione R=det(H)-kTr(H) 2 2 1

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Edge Linking

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Hough Transform

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Metodi graph-based

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Normalized Cut