Introduction to Computer Vision

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

Image Gradients and Gradient Filtering Computer Vision

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

ECE Digital Image Processing and Introduction to Computer Vision. Outline

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

Filtering and Edge Detection

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

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

Lecture 04 Image Filtering

Templates, Image Pyramids, and Filter Banks

Lecture 7: Edge Detection

Edge Detection. CS 650: Computer Vision

Edge Detection. Computer Vision P. Schrater Spring 2003

Lecture 3: Linear Filters

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

Lecture 3: Linear Filters

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

Medical Image Analysis

Introduction to Computer Vision

Blobs & Scale Invariance

Computer Vision Lecture 3

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

Lecture 8: Interest Point Detection. Saad J Bedros

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

Achieving scale covariance

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

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

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

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

CS4495/6495 Introduction to Computer Vision. 6B-L1 Dense flow: Brightness constraint

Detectors part II Descriptors

SIFT: Scale Invariant Feature Transform

Machine vision, spring 2018 Summary 4

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

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

Edge Detection in Computer Vision Systems

Linear Diffusion. E9 242 STIP- R. Venkatesh Babu IISc

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

Image Analysis. Feature extraction: corners and blobs

Feature extraction: Corners and blobs

Taking derivative by convolution

CITS 4402 Computer Vision

Advanced Edge Detection 1

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

INTEREST POINTS AT DIFFERENT SCALES

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

SIFT: SCALE INVARIANT FEATURE TRANSFORM BY DAVID LOWE

The Frequency Domain : Computational Photography Alexei Efros, CMU, Fall Many slides borrowed from Steve Seitz

Blob Detection CSC 767

Analysis of Functions

Harris Corner Detector

Image preprocessing in spatial domain

TRACKING and DETECTION in COMPUTER VISION Filtering and edge detection

Scale & Affine Invariant Interest Point Detectors

The Frequency Domain. Many slides borrowed from Steve Seitz

Introduction to Computer Vision. 2D Linear Systems

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

ECE Digital Image Processing and Introduction to Computer Vision

Lecture 7: Finding Features (part 2/2)

Scale & Affine Invariant Interest Point Detectors

Thinking in Frequency

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

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

Fourier Analysis and Imaging Ronald Bracewell L.M. Terman Professor of Electrical Engineering Emeritus Stanford University Stanford, California

Digital Image Processing ERRATA. Wilhelm Burger Mark J. Burge. An algorithmic introduction using Java. Second Edition. Springer

CS5670: Computer Vision

Today s lecture. Local neighbourhood processing. The convolution. Removing uncorrelated noise from an image The Fourier transform

Colorado School of Mines Image and Multidimensional Signal Processing

Digital Image Processing: Sharpening Filtering in Spatial Domain CSC Biomedical Imaging and Analysis Dr. Kazunori Okada

Computational Photography

Local Enhancement. Local enhancement

Lecture 7: Finding Features (part 2/2)

Computer Vision & Digital Image Processing

Feature detectors and descriptors. Fei-Fei Li

Image Enhancement: Methods. Digital Image Processing. No Explicit definition. Spatial Domain: Frequency Domain:

Total Variation Image Edge Detection

Scale-space image processing

Feature detectors and descriptors. Fei-Fei Li

Lucas-Kanade Optical Flow. Computer Vision Carnegie Mellon University (Kris Kitani)

Image Enhancement in the frequency domain. Inel 5046 Prof. Vidya Manian

Corner detection: the basic idea

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

Numerical Methods in TEM Convolution and Deconvolution

Local enhancement. Local Enhancement. Local histogram equalized. Histogram equalized. Local Contrast Enhancement. Fig 3.23: Another example

CS 556: Computer Vision. Lecture 21

Mixture Models and EM

Image enhancement. Why image enhancement? Why image enhancement? Why image enhancement? Example of artifacts caused by image encoding

Why does a lower resolution image still make sense to us? What do we lose? Image:

Image Filtering, Edges and Image Representation

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

Edge Detection. Image Processing - Computer Vision

Computer Vision Lecture 3

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

Gradient Descent and Implementation Solving the Euler-Lagrange Equations in Practice

Multiscale Image Transforms

Subsampling and image pyramids

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

A Novel Method for Generating Scale Space Kernels Based on Wavelet Theory

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

Transcription:

Introduction to Computer Vision Michael J. Black Sept 2009 Lecture 8: Pyramids and image derivatives

Goals Images as functions Derivatives of images Edges and gradients Laplacian pyramids

Code for lecture http://www.cs.brown.edu/courses/cs143/ Matlab/lecture5Script.m http://www.cs.brown.edu/courses/cs143/ Matlab/lecture6featureScript.m

Next week I m at ICCV in Japan Monday: Deqing Sun features and correlation (assignment 1) Wednesday: data for assignment 2. important that you attend. Friday: Silvia Zuffi color

Image Filtering Smoothing and sharpening Edge detection Feature detection/search Source: T. Darrell

Images as functions x f(x,y) y Image is a function, f, from R 2 to R: f( x, y ) gives the image intensity at position ( x, y ) Realistically, we expect the image only to be defined over a rectangle, with a finite range: f: [a,b] x [c,d] [0, 1.0] Source: S. Seitz

Images as functions A color image is just three functions pasted together. We can write this as a vector-valued function: Source: S. Seitz

Images as Functions Images are a discretely sampled representation of a continuous signal I(x) x

Images as Functions Images are a discretely sampled representation of a continuous signal I(x) x

Images as Functions What if I want to know I(x 0 +dx) for small dx<1? I(x) x 0 x

Taylor Series Approximation I(x) x 0 Locally linear approximation to the function using an estimate of the slope. How do we compute the partial derivatives of an image? x

Simple Signal Discontinuous Smoothed with Gaussian

Extrema of first derivative

Idealized: step What are edges (1D) ramp line or bar roof

Actual 1D profile

Smoothed with a Gaussian

Edges Correspond to fast changes Where the magnitude of the derivative is large

Compute Derivatives We can implement this as a linear filter: 1.0-1.0 [ -1 1] -1 0 1-1 0 1 Or [-1 0 1] symmetric

Partial Derivatives Often approximated with simple filters: D x = 1 0 1 1 0 1 1 0 1 D y = 1 1 1 0 0 0 1 1 1 Finite differences

Barbara signal and derivatives

Derivatives and Smoothing? G

Derivatives and Smoothing G dg

In 2D Compare with [-1 0 1] filters.

1D Barbara signal Smoothed Signal First Derivative Note the amplification of small variations.

How can we detect edges? Find the peak in the derivative. Two issues: Should be a local maximum. Should be sufficiently high.

Thresholding the Derivative?

Finite differences Sept, 2007 Is this I x or I y Is the sign right?

Finite differences responding to noise Increasing noise (this is zero mean additive Gaussian noise) Ponce & Forsyth

1 pixel 3 pixels 7 pixels The scale of the smoothing filter affects derivative estimates, and also the semantics of the edges recovered. Note: strong edges persist across scales. Ponce & Forsyth

Barbara signal and derivatives What happens if we now take the derivative of the derivative?

Second Derivative Filter kernel? [1-2 1]

Maxima of first derivative zero crossings of second derivative

Step Edge The zero-crossings of the second derivative tell us the location of edges.

The Laplacian Just another linear filter.

The Laplacian center-surround Mexican hat

Approximating the Laplacian Difference of Gaussians at different scales.

Approximating the Laplacian Difference of Gaussians at different scales. DoG=fspecial('gaussian',15,2)- fspecial('gaussian',15,1); surf(dog)

The Laplacian Pyramid Gaussian Pyramid Laplacian Pyramid expand - = - = - = Sept, 2007

LoG zero crossings (where the filter response changes sign) sigma=4 sigma=2 Ponce & Forsyth

http://cvcl.mit.edu/hybridimage.htm

http://cvcl.mit.edu/hybridimage.htm