Lecture 6: Edge Detection. CAP 5415: Computer Vision Fall 2008

Similar documents
Filtering and Edge Detection

Laplacian Filters. Sobel Filters. Laplacian Filters. Laplacian Filters. Laplacian Filters. Laplacian Filters

Lecture 7: Edge Detection

Edge Detection. CS 650: Computer Vision

Edge Detection. Introduction to Computer Vision. Useful Mathematics Funcs. The bad news

Machine vision. Summary # 4. The mask for Laplacian is given

Machine vision, spring 2018 Summary 4

Edge Detection PSY 5018H: Math Models Hum Behavior, Prof. Paul Schrater, Spring 2005

CSE 473/573 Computer Vision and Image Processing (CVIP)

Lecture 8: Interest Point Detection. Saad J Bedros

Edge Detection. Computer Vision P. Schrater Spring 2003

Image Gradients and Gradient Filtering Computer Vision

Lecture 04 Image Filtering

Introduction to Computer Vision

Roadmap. Introduction to image analysis (computer vision) Theory of edge detection. Applications

Feature extraction: Corners and blobs

Lecture 8: Interest Point Detection. Saad J Bedros

Blobs & Scale Invariance

Advanced Edge Detection 1

ITK Filters. Thresholding Edge Detection Gradients Second Order Derivatives Neighborhood Filters Smoothing Filters Distance Map Image Transforms

Edge Detection. Image Processing - Computer Vision

Lecture 3: Linear Filters

Edges and Scale. Image Features. Detecting edges. Origin of Edges. Solution: smooth first. Effects of noise

I Chen Lin, Assistant Professor Dept. of CS, National Chiao Tung University. Computer Vision: 4. Filtering

TRACKING and DETECTION in COMPUTER VISION Filtering and edge detection

SIFT keypoint detection. D. Lowe, Distinctive image features from scale-invariant keypoints, IJCV 60 (2), pp , 2004.

Lecture 3: Linear Filters

Computer Vision Lecture 3

Blob Detection CSC 767

CS5670: Computer Vision

Detectors part II Descriptors

Additional Pointers. Introduction to Computer Vision. Convolution. Area operations: Linear filtering

Templates, Image Pyramids, and Filter Banks

CS4495/6495 Introduction to Computer Vision. 2A-L6 Edge detection: 2D operators

Corners, Blobs & Descriptors. With slides from S. Lazebnik & S. Seitz, D. Lowe, A. Efros

Properties of detectors Edge detectors Harris DoG Properties of descriptors SIFT HOG Shape context

LoG Blob Finding and Scale. Scale Selection. Blobs (and scale selection) Achieving scale covariance. Blob detection in 2D. Blob detection in 2D

CS4670: Computer Vision Kavita Bala. Lecture 7: Harris Corner Detec=on

Advanced Features. Advanced Features: Topics. Jana Kosecka. Slides from: S. Thurn, D. Lowe, Forsyth and Ponce. Advanced features and feature matching

CS 3710: Visual Recognition Describing Images with Features. Adriana Kovashka Department of Computer Science January 8, 2015

Achieving scale covariance

Vlad Estivill-Castro (2016) Robots for People --- A project for intelligent integrated systems

Overview. Harris interest points. Comparing interest points (SSD, ZNCC, SIFT) Scale & affine invariant interest points

Corner detection: the basic idea

Image matching. by Diva Sian. by swashford

SURF Features. Jacky Baltes Dept. of Computer Science University of Manitoba WWW:

Reading. 3. Image processing. Pixel movement. Image processing Y R I G Q

Basics on 2-D 2 D Random Signal

Image Analysis. Feature extraction: corners and blobs

Announcements. Filtering. Image Filtering. Linear Filters. Example: Smoothing by Averaging. Homework 2 is due Apr 26, 11:59 PM Reading:

CS5112: Algorithms and Data Structures for Applications

Overview. Introduction to local features. Harris interest points + SSD, ZNCC, SIFT. Evaluation and comparison of different detectors

Image Filtering. Slides, adapted from. Steve Seitz and Rick Szeliski, U.Washington

Advances in Computer Vision. Prof. Bill Freeman. Image and shape descriptors. Readings: Mikolajczyk and Schmid; Belongie et al.

SIFT: Scale Invariant Feature Transform

Scale Space Smoothing, Image Feature Extraction and Bessel Filters

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Multimedia Databases. Previous Lecture. 4.1 Multiresolution Analysis. 4 Shape-based Features. 4.1 Multiresolution Analysis

Multimedia Databases. Wolf-Tilo Balke Philipp Wille Institut für Informationssysteme Technische Universität Braunschweig

Feature Extraction and Image Processing

Multimedia Databases. 4 Shape-based Features. 4.1 Multiresolution Analysis. 4.1 Multiresolution Analysis. 4.1 Multiresolution Analysis

Understanding How ConvNets See

Total Variation Image Edge Detection

Wavelet-based Salient Points with Scale Information for Classification

Recap: edge detection. Source: D. Lowe, L. Fei-Fei

Local Enhancement. Local enhancement

Feature detectors and descriptors. Fei-Fei Li

Feature detection.

Total Variation Theory and Its Applications

Edge Detection in Computer Vision Systems

Feature detectors and descriptors. Fei-Fei Li

K-Means, Expectation Maximization and Segmentation. D.A. Forsyth, CS543

Visuelle Perzeption für Mensch- Maschine Schnittstellen

Vectors [and more on masks] Vector space theory applies directly to several image processing/ representation problems

Scale-space image processing

6.869 Advances in Computer Vision. Bill Freeman, Antonio Torralba and Phillip Isola MIT Oct. 3, 2018

Image Processing 1 (IP1) Bildverarbeitung 1

arxiv: v1 [cs.cv] 10 Feb 2016

ECE Digital Image Processing and Introduction to Computer Vision

Signal Processing COS 323

Image as a signal. Luc Brun. January 25, 2018

CITS 4402 Computer Vision

Neural Networks 2. 2 Receptive fields and dealing with image inputs

INTEREST POINTS AT DIFFERENT SCALES

Digital Image Processing COSC 6380/4393

CS 534: Computer Vision Segmentation III Statistical Nonparametric Methods for Segmentation

Harris Corner Detector

Outline. Convolution. Filtering

Instance-level l recognition. Cordelia Schmid INRIA

Scale & Affine Invariant Interest Point Detectors

Lecture Notes 5: Multiresolution Analysis

SGD and Deep Learning

Scale & Affine Invariant Interest Point Detectors

Review Smoothing Spatial Filters Sharpening Spatial Filters. Spatial Filtering. Dr. Praveen Sankaran. Department of ECE NIT Calicut.

Extract useful building blocks: blobs. the same image like for the corners

Detection of Artificial Satellites in Images Acquired in Track Rate Mode.

Signal Modeling Techniques in Speech Recognition. Hassan A. Kingravi

Machine Learning for Signal Processing Bayes Classification and Regression

A Flexible Framework for Local Phase Coherence Computation

Transcription:

Lecture 6: Edge Detection CAP 5415: Computer Vision Fall 2008

Announcements PS 2 is available Please read it by Thursday During Thursday lecture, I will be going over it in some detail Monday - Computer Vision Distinguished Lecturer series

Edge Detection Nonetheless, experience building vision systems suggests that very often, interesting things are happening in an image at an edge and it is worth knowing where the edges are. Forsyth and Ponce in Computer Vision- A Modern Approach

Simplest Strategy Calculate the magnitude of the image gradient Compare against a threshold

Problems We get thick edges Redundant, especially if we going to be searching in places where edges are found

Solution Identify the local maximums Called non-maximal suppression

Basic Idea The gradient will be perpendicular to the edge Search along the gradient for the maximum point (From Slides by Forsyth)

Implementation Quantize the gradient orientation to a fixed number of orientations Search along those lines in a window around points above a threshold (From Course Notes by Shah)

Comparison Gradient Thresholding With non-maximal suppression

Avoiding Non-Maximal Suppression Can we formulate the problem so we can eliminate non-maximal suppression? Remember: we want to find the maxima and minima of the gradient Look for places where 2 nd derivative is zero Called zero-crossings (you may not see the 2 nd derivative actually be zero)

Finding Zero-Crossings The second derivative is directional, but we can us the Laplacian which is rotationally invariant The image is usually smoothed first to eliminate noise Computing Laplacian after filtering with a Gaussian is equivalent to convolving with a Laplacian of a Gaussian

The Laplacian of Gaussian Sometimes called a center-surround filter Response is similar to the response of some neurons in the visual cortex

Implementation Filter with Laplacian of Gaussian Look for patterns like {+,0,-} or {+,-} Also known as the Marr-Hildreth Edge Detector

Disadvantages Behaves poorly at corners (From Slides by Forsyth)

Noise and Edge Detection Noise is a bad thing for edge-detection Usually assume that noise is white Gaussian noise (not likely in reality!) Introduces many spurious edges Low-pass filtering is a simple way of reducing the noise For the Laplacian of Gaussian Method, it is integrated into the edge detection

Why does filtering with a Gaussian reduce noise? Forsyth and Ponce s explanation: Secondly, pixels will have a greater tendency to look like neighbouring pixels if we take stationary additive Gaussian noise, and smooth it, the pixel values of the resulting signal are no longer independent. In some sense, this is what smoothing was about recall we introduced smoothing as a method to predict a pixel s value from the values of its neighbours. However, if pixels tend to look like their neighbours, then derivatives must be smaller (because they measure the tendency of pixels to look different from their neighbours). from Computer Vision A Modern Approach

How I like to see it If F is the DFT of an image, then F 2 is the power at each frequency for i=1:10000 cimg=randn(128); cum=cum+abs(fft2(cimg)).^2; end In the average power image, the power is equal at every frequency

Remember: Energy in Images is concentrated in low-frequencies Log-Spectrum of the Einstein Image When you low-pass filter, you re retaining the relatively important low-frequencies and eliminating the noise in the high frequencies, where you don t expect much image energy

Smoothing Fast The Gaussian Filter is a separable filter * = The 2D filter can be expressed as a series of 2 1D convolutions For a 9x9 filter, a separable filter requires 18 computations versus 81 for the 2D filter

Further Improvements to the Gradient Edge-Dector Fundamental Steps in Gradient-Based Edge Dection that we have talked about: Smooth to reduce noise Compute Gradients Do Non-maximal suppression There is one more heuristic that we can advantage of. Edges tend to be continuous

Hysteresis Thresholding Edges tend to be continuous Still threshold the gradient Use a lower threshold if a neighboring point is an edge The Canny Edge Detector uses all of these heuristics

Is there better information than the gradient? Martin, Fowlkes, and Malik gathered a set of human segmentations From Martin, Fowlkes, and Malik (2004)

Capturing Texture

Texture and Color Help This is a precisionrecall curve

Interesting Side-note The edge-detector was a classifier The type of classifier didn t matter for this task

Next Time: Fitting Lines to Edge Points Binary Operations