Toward a Realization of Marr s Theory of Primal Sketches via Autocorrelation Wavelets: Image Representation using Multiscale Edge Information

Similar documents
Wavelets, Multiresolution Analysis and Fast Numerical Algorithms. G. Beylkin 1

A Tutorial on Wavelets and their Applications. Martin J. Mohlenkamp

Lecture 7 Multiresolution Analysis

Module 4 MULTI- RESOLUTION ANALYSIS. Version 2 ECE IIT, Kharagpur

Lectures notes. Rheology and Fluid Dynamics

Lecture Notes 5: Multiresolution Analysis

Invariant Scattering Convolution Networks

MGA Tutorial, September 08, 2004 Construction of Wavelets. Jan-Olov Strömberg

On the fast algorithm for multiplication of functions in the wavelet bases

Wavelets and multiresolution representations. Time meets frequency

An Introduction to Wavelets and some Applications

Wavelets in Scattering Calculations

Wavelet transforms and compression of seismic data

We have to prove now that (3.38) defines an orthonormal wavelet. It belongs to W 0 by Lemma and (3.55) with j = 1. We can write any f W 1 as

From Fourier to Wavelets in 60 Slides

Digital Image Processing

Multiscale Image Transforms

Wavelets and Image Compression. Bradley J. Lucier

Analysis of Fractals, Image Compression and Entropy Encoding

Harmonic Analysis: from Fourier to Haar. María Cristina Pereyra Lesley A. Ward

Multiresolution image processing

1 Introduction to Wavelet Analysis

Multiresolution analysis & wavelets (quick tutorial)

On the Hilbert Transform of Wavelets

Wavelets For Computer Graphics

Lecture 16: Multiresolution Image Analysis

Biorthogonal Spline Type Wavelets

Wavelet Analysis. Willy Hereman. Department of Mathematical and Computer Sciences Colorado School of Mines Golden, CO Sandia Laboratories

Construction of Orthonormal Quasi-Shearlets based on quincunx dilation subsampling

Construction of Multivariate Compactly Supported Orthonormal Wavelets

Unique Recovery from Edge Information

Sparse linear models

1 The Continuous Wavelet Transform The continuous wavelet transform (CWT) Discretisation of the CWT... 2

An Adaptive Pseudo-Wavelet Approach for Solving Nonlinear Partial Differential Equations

Development and Applications of Wavelets in Signal Processing

ACM 126a Solutions for Homework Set 4

Sparse Multidimensional Representation using Shearlets

The Generalized Haar-Walsh Transform (GHWT) for Data Analysis on Graphs and Networks

2D Wavelets. Hints on advanced Concepts

Applications of Polyspline Wavelets to Astronomical Image Analysis

Quadrature Prefilters for the Discrete Wavelet Transform. Bruce R. Johnson. James L. Kinsey. Abstract

UNIVERSITY OF WISCONSIN-MADISON CENTER FOR THE MATHEMATICAL SCIENCES. Tight compactly supported wavelet frames of arbitrarily high smoothness

COMPACTLY SUPPORTED ORTHONORMAL COMPLEX WAVELETS WITH DILATION 4 AND SYMMETRY

Multiresolution schemes

Wavelets and Wavelet Based Numerical Homogenization

Wavelets and Image Compression Augusta State University April, 27, Joe Lakey. Department of Mathematical Sciences. New Mexico State University

Boundary functions for wavelets and their properties

Representation: Fractional Splines, Wavelets and related Basis Function Expansions. Felix Herrmann and Jonathan Kane, ERL-MIT

Symmetric Wavelet Tight Frames with Two Generators

Wavelets and Multiresolution Processing

Littlewood Paley Spline Wavelets

Wavelet Bases of the Interval: A New Approach

Multiresolution schemes

ORTHONORMAL SAMPLING FUNCTIONS

Multiresolution Analysis

Digital Image Processing

SINGULARITY DETECTION AND PROCESSING WITH WAVELETS

Ring-like structures of frequency domains of wavelets

WAVELETS WITH SHORT SUPPORT

Denoising and Compression Using Wavelets

( nonlinear constraints)

MLISP: Machine Learning in Signal Processing Spring Lecture 8-9 May 4-7

Mathematical Methods for Computer Science

446 SCIENCE IN CHINA (Series F) Vol. 46 introduced in refs. [6, ]. Based on this inequality, we add normalization condition, symmetric conditions and

DAVID FERRONE. s k s k 2j = δ 0j. s k = 1

Chapter 7 Wavelets and Multiresolution Processing. Subband coding Quadrature mirror filtering Pyramid image processing

Construction of Biorthogonal B-spline Type Wavelet Sequences with Certain Regularities

Mysteries Around Graph Laplacian Eigenvalue 4

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

Modeling retinal high and low contrast sensitivity lters. T. Lourens. Abstract

Discrete Wavelet Transform

An Introduction to Filterbank Frames

Module 4. Multi-Resolution Analysis. Version 2 ECE IIT, Kharagpur

Wavelets Marialuce Graziadei

Wavelets and Filter Banks

WAVELET EXPANSIONS OF DISTRIBUTIONS

BAND-LIMITED REFINABLE FUNCTIONS FOR WAVELETS AND FRAMELETS

Scientific Computing: An Introductory Survey

Machine vision, spring 2018 Summary 4

Two Channel Subband Coding

Edge Detection. CS 650: Computer Vision

Multiresolution analysis

A new class of morphological pyramids for multiresolution image analysis

Sparse linear models and denoising

THE SPIKE PROCESS: A SIMPLE TEST CASE FOR INDEPENDENT OR SPARSE COMPONENT ANALYSIS. Naoki Saito and Bertrand Bénichou

The Marr Conjecture in One Dimension and Uniqueness of Wavelet Transforms

arxiv: v1 [cs.cv] 10 Feb 2016

Wavelet Decompositions for Quantitative Pattern Matching

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

Wavelets and differential operators: from fractals to Marr!s primal sketch

Digital Image Processing Lectures 15 & 16

Space-Frequency Atoms

Wavelet Transform. Figure 1: Non stationary signal f(t) = sin(100 t 2 ).

Lecture 27. Wavelets and multiresolution analysis (cont d) Analysis and synthesis algorithms for wavelet expansions

Defining the Discrete Wavelet Transform (DWT)

Wavelets and regularization of the Cauchy problem for the Laplace equation

Error Analysis for H 1 Based Wavelet Interpolations

Niklas Grip, Department of Mathematics, Luleå University of Technology. Last update:

Fourier Kingdom 2 Time-Frequency Wedding 2 Windowed Fourier Transform 3 Wavelet Transform 4 Bases of Time-Frequency Atoms 6 Wavelet Bases and Filter

Where is the bark, the tree and the forest, mathematical foundations of multi-scale analysis

Transcription:

Toward a Realization of Marr s Theory of Primal Sketches via Autocorrelation Wavelets: Image Representation using Multiscale Edge Information Naoki Saito 1 Department of Mathematics University of California, Davis December 1, 2005 1 Acknowledgment: Gregory Beylkin (Colorado, Boulder), Bruno Olshausen (UC Berkeley) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 1 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 2 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 3 / 68

Motivations Multiscale image analysis and Neurophysiology Edge detection Edge characterization Shift invariance David Marr s conjecture: Multiscale edge information can completely represent an input image. Relevance of wavelets on the above issues saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 4 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 5 / 68

Introduction to Marr s Theory David Marr (1945 1980) proposed the following strategy/processes for visual perception Raw Primal Sketch Edge detection, characterization Retina, V1 Full Primal Sketch Grouping, edge integration V1, V2 2 1 2D Sketch Recognition of visible surfaces V2?, V4? 3D Model Representations Recognition of 3D object shapes IT? Our primary focus today is a part of Raw Primal Sketch, i.e., edge detection and characterization, and how to represent an image using multiscale edge information. Truth is much more complicated (and interesting) due to color and motion, but we will focus on still images of intensity (grayscale) today. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 6 / 68

Basic Neurophysiology of Visual Systems Figure: V1 area and visual passways (From D. Hubel: Eye, Brain, and Vision) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 7 / 68

Basic Neurophysiology of Visual Systems... Figure: Structure of retina (From D. Hubel: Eye, Brain, and Vision) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 8 / 68

Basic Neurophysiology of Visual Systems... Receptive Field of a sensory neuron = a spatial region in which the presence of a stimulus will alter the firing of that neuron. Spatial organization of receptive fields of retinal ganglion cells (Kuffler, 1953) circularly symmetric a central excitatory region an inhibitory surround This implies that they can detect edges. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 9 / 68

Receptive Fields Figure: Receptive field responses of ganglion cells (From V. Bruce et al.: Visual Perception) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 10 / 68

Receptive Fields 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 5 4 3 2 1 0 1 2 3 4 5 Figure: Realization of on-center off-surround receptive field (green) by a Difference of Gaussians (DOG) function (Enroth-Cugell & Robson, 1966). saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 11 / 68

The Marr-Hildreth Theory of Zero-Crossings Marr s idea: Multiscale edges can represent an input image Marr and Hildreth approximated the receptive fields as Laplacian of Gaussian (LoG), which in turn can be closely approximated by Difference of Gaussians (DOG). They are regularized 2nd derivative operator. Zero-crossings of the convolution of these filters with the input image encode the location of edges at appropriate scales. Slope (or gradient) at each zero-crossing encodes edge strength ( sharpness) at appropriate scales. How to use the edge information to recover or represent the original image? saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 12 / 68

Edge Detection and Zero-Crossings Figure: Responses of 1st and 2nd derivative operators to various features (From V. Bruce et al.: Visual Perception) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 13 / 68

Laplacian of Gaussian Filtering saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 14 / 68

Zero-Crossings of LoG filtered images saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 15 / 68

Zero-Crossings of LoG filtered images (Thresholded) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 16 / 68

Wavelets in V1? Figure: Columnar organization of V1 cells of cats and monkeys (From: R. L. De Valois & K. K. De Valois: Spatial Vision) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 17 / 68

Forming Scale and Orientation Selectivity in V1 Figure: Various summations of ganglion receptive fields (From: B. A. Wandell: Foundations of Vision) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 18 / 68

Why Not Use Different Wavelets as a Multiscale Edge Detector? Multiscale LoGs in fact form a continuous wavelet transform. But rather slow computationally. Can we use faster popular discrete wavelets? Can we view them as multiscale edge detectors and receptive fields? Yes. But we need to know a little bit about the wavelet basics! I will concentrate on the 1D case in this talk from now on. For 2D, it s possible to do via tensor product. You are more than welcome to work on this area with me if you are interested. The project with my former intern has not been completed yet for 2D. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 19 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 20 / 68

What Are Wavelets? An orthonormal basis of L 2 (R) generated by dilations (scalings) and translations (shifts) of a single function Provide an intermediate representation of signals between space domain and frequency domain (space-scale representation) A computationally efficient algorithm (O(N)) exists for expanding a discrete signal of length N into such a wavelet basis Useful for signal processing, numerical analysis, statistics... saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 21 / 68

Familiar Examples The Haar functions 1 if 0 x 1 2 ψ Haar (x) = 1 if 1 x 1 2 0 otherwise. The Shannon (or Littlewood-Paley) wavelets: Dilations and translations of the perfect band-pass filter sin 2πx sin πx ψ (x) = 2 sinc(2x) sinc(x) =. πx 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 5 4 3 2 1 0 1 2 3 4 5 saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 22 / 68

Multiresolution Analysis A natural framework to understand wavelets developed by S. Mallat & Y. Meyer (1986) Successive approximations of L 2 (R) with multiple resolutions V 2 V 1 V 0 V 1 V 2 j Z V j = {0}, j Z V j = L 2 (R) f (x) V j f (2x) V j 1, j Z f (x) V j f (x 2 j k) V j, k Z 1 ϕ(x) V 0 (scaling function or father wavelet), such that {ϕ j,k (x)} k Z, where ϕ j,k (x) = 2 j/2 ϕ(2 j x k), form an orthonormal basis of V j saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 23 / 68

Multiresolution Analysis... W1 W2 W3 V0 V1 V2 V3 The Concept of Multiresolution Analysis V3 V1 V2 V0 V3 W3 W2 W1 0 pi/2 pi frequency Multiresolution Analysis by Sinc Wavelets saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 24 / 68

Multiresolution Analysis... Since V 0 V 1, there exist coefficients {h k } l 2 (Z) such that ϕ(x) = 2 k h k ϕ(2x k), where h k = ϕ, ϕ 1,k = 2 ϕ(x)ϕ(2x k) dx. From the orthonormality of {ϕ 0,k }, the coefficients {h k } must satisfy h k h k+2l = δ 0,l k saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 25 / 68

Multiresolution Analysis... Let us now consider the orthogonal complement W j of V j in V j 1. V j 1 = V j W j. L 2 (R) = j Z W j. 1 ψ(x) W 0 (basic wavelet or mother wavelet), such that {ψ j,k (x)} (j,k) Z 2, where ψ j,k (x) = 2 j/2 ψ(2 j x k), form an orthonormal basis of L 2 (R). ψ(x) = 2 k g k ϕ(2x k), g k = ( 1) k h 1 k. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 26 / 68

Familiar Examples If h 0 = h 1 = 1/ 2, then ϕ(x) = χ [0,1] (x) = χ [0,1] (2x) + χ [0,1] (2x 1) = χ [0, 1 2 ](x) + χ [ 1 2,1](x). ψ(x) = ψ Haar (x) If h k = sinc(k/2)/ 2, k Z, then = χ [0, 1 2 ](x) χ [ 1 2,1](x). ϕ(x) = sinc(x), ψ(x) = ψ (x) = 2 sinc(2x) sinc(x). saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 27 / 68

Multiresolution Analysis... In the Fourier domain, where ˆϕ(ξ) = m 0 (ξ/2) ˆϕ(ξ/2), ˆψ(ξ) = m 1 (ξ/2) ˆϕ(ξ/2), m 0 (ξ) = 1 h k e ikξ, 2 m 1 (ξ) = 1 g k e ikξ = e i(ξ+π) m 0 (ξ + π). 2 k The filters H = {h k } and G = {g k } are called quadrature mirror filters (QMF) since they satisfy m 0 (ξ) 2 + m 1 (ξ) 2 = 1. k saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 28 / 68

Multiresolution Analysis... From these properties, we have ˆϕ(ξ) 2 = ˆϕ(ξ/2) 2 + ˆψ(ξ/2) 2, ˆϕ(ξ) = m 0 (ξ/2 j ), j=1 ˆψ(ξ) = m 1 (ξ/2) m 0 (ξ/2 j ). j=2 saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 29 / 68

Compactly Supported Wavelets of Daubechies Once the coefficients {h k } are chosen, the father and mother wavelets are completely determined {h k } of finite length = compactly supported father and mother wavelets In 1987, I. Daubechies found a way to determine {h k } of finite length, L Compact support: Regularity: ψ C γ(m 1), γ 1/5 supp ϕ = supp ψ = L 1 Vanishing moments (L = 2M): x m ψ(x) dx = 0, for m = 0, 1,..., M 1 saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 30 / 68

Problems of Orthonormal Wavelet Basis Provide nonredundant compact representation = Very useful for signal compression, in particular, piecewise smooth data. However, it does not provide shift invariant representation. The relation between the wavelet coefficients of the original and those of the shifted version is complicated unlike the usual Fourier coefficients. Except for L = 2 (Haar), ϕ and ψ are neither symmetric nor antisymmetric, thus some artifacts become visible if the input signal is severely compressed. First we tackle the shift-invariance problem. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 31 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 32 / 68

Figure: Filled circles: wavelet coefficients; Filled & open circles: orthonormal shell coefficients saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 33 / 68 Orthonormal Shell Representation A shift-invariant representation using the orthonormal wavelets Redundant but contains all orthonormal wavelet coefficients of all circular shifts of the original signal Computational cost is O(N log 2 N) where N = # of input samples s 0 s1 h 0 h 1 h 2 h 3 h 0 h 1 h 2 h 3 s 2 h 0 h 1 h 2 h 3 s 3

Orthonormal Shell Representation... s0 d1 d2 d3 d4 d5 s5 0 100 200 300 400 500 Figure: ONS representation of two spikes. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 34 / 68

Orthonormal Shell An orthonormal shell is a set of functions { ψj,k (x)} and { ϕ J,k (x)} 0 k N 1, where 1 j J, 0 k N 1 ϕ j,k (x) = 2 j/2 ϕ(2 j (x k)), ψ j,k (x) = 2 j/2 ψ(2 j (x k)) The orthonormal shell coefficients of a function f V 0, f = N 1 k=0 s0 k ϕ 0,k, are {d j k } 1 j J, 0 k N 1 and {sk J} 0 k N 1, where s j k = f (x) ϕ j,k (x) dx, d j k = f (x) ψ j,k (x) dx saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 35 / 68

Orthonormal Shell Representation... Orthonormal Shell Average Coefficients 10 8 6 4 2 0 10 8 6 4 2 0 0 200 400 600 800 1000 0 200 400 600 800 1000 Figure: ONS representation of a real signal. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 36 / 68

Difficulties of Orthonormal Shell Asymmetry of the orthonormal wavelets Difficulty in feature matching from scale to scale. Fractal-like shapes of the orthonormal wavelets Too many zero-crossings/extrema. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 37 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 38 / 68

Autocorrelation Functions of Wavelets Φ(x) = Ψ(x) = + + ϕ(y)ϕ(y x) dy ψ(y)ψ(y x) dy Symmetric and smoother than the corresponding ϕ(x) and ψ(x) Convolution with Ψ(x) essentially behaves as a differential operator (d/dx) L = ˆΨ(ξ) O(ξ L ) Φ(x) induces the symmetric iterative interpolation scheme saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 39 / 68

Autocorrelation Functions of Father Wavelets 1.5 1 0.5 0-0.5-4 -2 0 2 4 (a) 1 0.8 0.6 0.4 0.2 0 0 0.5 (c) 1.5 1 0.5 0-0.5-4 -2 0 2 4 (b) 1 0.8 0.6 0.4 0.2 0 0 0.5 (d) Figure: Φ vs ϕ in space and frequency domain. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 40 / 68

Autocorrelation Functions of Mother Wavelets 2 1 0-1 -4-2 0 2 4 (a) 1 0.8 0.6 0.4 0.2 0 0 0.5 (c) 2 1 0-1 -4-2 0 2 4 (b) 1 0.8 0.6 0.4 0.2 0 0 0.5 (d) Figure: Ψ vs ψ in space and frequency domain. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 41 / 68

Autocorrelation Functions of Wavelets... In Fourier domain: ˆΦ(ξ) = ˆϕ(ξ) 2 and ˆΨ(ξ) = ˆψ(ξ) 2. Values at integer points: Φ(k) = δ 0k and Ψ(k) = δ 0k. Difference of two autocorrelation functions: ˆΦ(ξ) + ˆΨ(ξ) = ˆΦ(ξ/2), or equivalently, Ψ(x) = 2Φ(2x) Φ(x). saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 42 / 68

Comparison with LoG and DOG functions where and a = 1.6 as Marr suggested. Ψ(x) = 2Φ(2x) Φ(x). vs d 2 G(x; σ) dx2 G(x; aσ) G(x; σ) = ag(ax; σ) G(x; σ), G(x; σ) = 1 2πσ e x2 /2σ 2, saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 43 / 68

Autocorrelation Functions of Wavelets... Two-scale difference equations: L/2 Φ(x) = Φ(2x) + 1 a 2l 1 (Φ(2x 2l + 1) + Φ(2x + 2l 1)), 2 l=1 L/2 Ψ(x) = Φ(2x) 1 a 2l 1 (Φ(2x 2l + 1) + Φ(2x + 2l 1)), 2 l=1 where {a k } are the autocorrelation coefficients of the filter H, L 1 k a k = 2 l=0 h l h l+k for k = 1,..., L 1, a 2k = 0 for k = 1,..., L/2 1. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 44 / 68

Autocorrelation Functions of Wavelets... Compact supports: supp Φ(x) = supp Ψ(x) = [ L + 1, L 1]. Vanishing moments: + + x m Ψ(x) dx = 0, for 0 m L 1, x m Φ(x) dx = 0, for 1 m L 1, + Φ(x) dx = 1. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 45 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 46 / 68

Autocorrelation Shell Representation A non-orthogonal shift-invariant representation using dilations and translations of Φ(x) and Ψ(x) Contains coefficients of all circular shifts of the original signal Convertible to the orthonormal shell representation on each scale separately Zero-crossings of the difference signals correspond to multiscale edges Computational cost is still O(N log 2 N) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 47 / 68

Autocorrelation Shell Representation... S0 D1 D2 scale D3 D4 D5 S5 0 100 200 300 400 500 Figure: ACS representation of two spikes. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 48 / 68

Autocorrelation Shell An autocorrelation shell is a set of functions where {Ψ j,k (x)} 1 j J, 0 k N 1 and {Φ J,k (x)} 0 k N 1, Φ j,k (x) = 2 j/2 Φ(2 j (x k)), Ψ j,k (x) = 2 j/2 Ψ(2 j (x k)) The autocorrelation shell coefficients of a function f V 0, f = N 1 k=0 s0 k ϕ 0,k, are {D j k } 1 j J, 0 k N 1 and {Sk J} 0 k N 1, where S j k = D j k = f j s (x)2 j/2 ϕ j,k (x) dx, f j d (x)2 j/2 ψj,k (x) dx, s j l, d j l fs j (x) = N 1 s j lϕ(x l), f l=0 are the orthonormal shell coefficients. j d (x) = N 1 d j lϕ(x l), l=0 saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 49 / 68

Autocorrelation Shell... An important relation between the original samples {sk 0 } and the autocorrelation shell coefficients is: Proposition N 1 k=0 N 1 k=0 S j k Φ 0,k = D j k Φ 0,k = N 1 k=0 N 1 k=0 s 0 k Φ j,k s 0 k Ψ j,k. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 50 / 68

Autocorrelation Shell Representation... Autocorrelation Shell Average Coefficients 10 8 6 4 2 0 10 8 6 4 2 0 0 200 400 600 800 1000 0 200 400 600 800 1000 Figure: ACS representation of the real signal. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 51 / 68

A Fast Decomposition Algorithm Rewriting the two-scale difference equations: 1 2 Φ(x/2) = L 1 k= L+1 p k Φ(x k), 1 2 Ψ(x/2) = L 1 k= L+1 q k Φ(x k), where 2 1/2 for k = 0, p k = 2 3/2 a k for k = ±1, ±3,..., ±(L 1), 0 for k = ±2, ±4,..., ±(L 2), { 2 1/2 for k = 0, q k = p k otherwise. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 52 / 68

A Fast Decomposition Algorithm We view these coefficients as filters P = {p k } L+1 k L 1 and Q = {q k } L+1 k L 1. p k = p k and q k = q k. Only L/2 + 1 distinct non-zero coefficients. Using these filters P and Q, we compute S j k = D j k = L 1 l= L+1 L 1 l= L+1 p l S j 1 k+2 j 1 l, q l S j 1 k+2 j 1 l. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 53 / 68

Familiar Examples The Haar wavelet: {p k } = 1 { 1 2 2, 1, 1 }, {q k } = 1 { 1 } 2 2 2, 1, 1. 2 The Daubechies wavelet with L = 2M = 4: {p k } = 1 { 1 2 16, 0, 9 16, 1, 9 16, 0, 1 }, 16 {q k } = 1 { 1 2 16, 0, 9 16, 1, 9 16, 0, 1 }. 16 The Shannon wavelet: for k Z, p k = 1 2 sinc(k/2), q k = 1 2 (2 sinc(k) sinc(k/2)). saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 54 / 68

A Fast Reconstruction Algorithm Using ˆΦ(ξ) + ˆΨ(ξ) = ˆΦ(ξ/2), we obtain a simple reconstruction formula, S j 1 k = 1 ) (S j 2 k + Dj k, for j = 1,..., J, k = 0,..., N 1 Given the autocorrelation shell coefficients {D j k } 1 j J, 0 k N 1 and {Sk J} 0 k N 1, J sk 0 = 2 J/2 Sk J + 2 j/2 D j k, for k = 0,..., N 1. j=1 saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 55 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 56 / 68

An Iterative Interpolation Scheme Φ(x) induces the symmetric iterative interpolation scheme of S.Dubuc. This interpolation scheme fills the gap between the following two extreme cases: The Haar father wavelet linear interpolation 1 + x for 1 x 0, Φ Haar (x) = 1 x for 0 x 1, 0 otherwise. The Shannon father wavelet band-limited interpolation Φ (x) = ϕ (x) = sinc(x). saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 57 / 68

An Iterative Interpolation Scheme... j 2 1 0 a 3 2 a 1 2 1 a 1 2 a 3 2 1 0 +1 x Figure: Dubuc iterative interpolation with L = 4. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 58 / 68

Edge Detection via Iterative Interpolation Scheme... Essentially, Dubuc s iterative interpolation scheme upsamples the discrete data, i.e. goes up from coarser to finer scales by filling new points smoothly between the sample points without changing the original sample values. As a result, we can evaluate Φ(x), Φ (x), Ψ(x), and Ψ (x) at any given point x R within the prescribed numerical accuracy. Can iteratively zoom in the interval until it reaches [x ɛ, x + ɛ]. The derivative is merely a convolution of the values of Φ in that interval with some discrete filter coefficients. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 59 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 60 / 68

Reconstruction of Signals from Zero-Crossings Marr s conjecture Previous attempts Curtis & Oppenheim ( 87): Multiple level crossings, Fourier coefficients, no multiscale Hummel & Moniot ( 89): Scale-space, heat equation, stability problem, empirical use of slope information Mallat ( 91): Dyadic wavelet transform, wavelet maxima, POCS (projection onto convex sets) for reconstruction Can we reconstruct the original signal from zero-crossings (and slopes at these zero-crossings, if necessary) of the autocorrelation shell representation of that signal? saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 61 / 68

Advantages using ACS Zero-crossings of the ACS representation are related to multiscale edges of the original signal. We have an efficient iterative algorithm to pinpoint these zero-crossings ( via the Dubuc s iterative interpolation ). Proposition allows us to set up a system of linear algebraic equations to reconstruct the original signal. Can explicitly show that the slope information at each zero-crossing is necessary. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 62 / 68

Proposed Method (See Saito & Beylkin 93 for the details) 1 Compute zero-crossing locations and slopes at these locations in the ACS representation using the symmetric iterative interpolation scheme. 2 Set up a system of linear algebraic equations (often sparse), where the unknown vector is the original signal itself and the entries of the matrix are computed from the values of Φ(x), Φ (x) at the integer translates of the zero-crossing locations. 3 Solve the linear system to find the original signal. Note that one can introduce heuristic constraints such as the distance between the adjacent zero-crossings at the jth scale does not exceed 2 j+1 (L 1), which may stabilize the linear system solver. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 63 / 68

1D Examples The 1D profile of the image of the size 512. In this case, the size of the matrix A is 1852 by 512. The relative L 2 error of the reconstructed signal compared with the original signal is 5.674436 10 13. The accuracy threshold ɛ was set to 10 14. In this example, the constraints did not make any difference since the zero-crossings are dense. A unit impulse {δ 31,k } 63 k=0. In this case, the size of the matrix A is 56 64. This example needs constraints. The relative L 2 error with the constraints is 7.417360 10 15 whereas the error of the solution by the generalized inverse without the constraints is 3.247662 10 4. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 64 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 65 / 68

Conclusions The autocorrelation wavelets behave like edge detectors with various scales Can characterize the type of edges (singularities) from the decay of the ACS coefficients across scales The autocorrelation wavelets are symmetric, sufficiently smooth, and induce a symmetric iterative interpolation scheme The autocorrelation shell is a shift-invariant representation containing the coefficients of all circulant shifts of the original signal with the cost O(N log 2 N) The original signal is also reconstructed by solving a system of linear algebraic equations derived from the zero-crossings (and slopes) saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 66 / 68

Outline 1 Motivations 2 Marr s Theory and Neurophysiology 3 Introduction to Wavelets 4 Orthonormal Shell Representation 5 Autocorrelation Functions of Wavelets 6 Autocorrelation Shell Representation 7 Iterative Interpolation and Edge Detection 8 Signal Reconstruction from Zero-Crossings 9 Conclusions 10 References saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 67 / 68

References V. Bruce, P. R. Green, & M. A. Georgeson, Visual Perception, 4th Ed., Psychology Press, 2003. I. Daubechies, Ten Lectures on Wavelets, SIAM, 1992. R. L. De Valois & K. K. De Valois, Spatial Vision, Oxford Univ. Press, 1988. D. H. Hubel, Eye, Brain, and Vision, Scientific American Library, 1995. S. Jaffard and Y. Meyer and R. D. Ryan, Wavelets: Tools for Science & Technology, SIAM, 2001. S. Mallat, Zero-crossings of a wavelet transform, IEEE Trans. Info. Theory, vol. 37, pp.1019 1033, 1991. D. Marr, Vision, W. H. Freeman and Co., 1982. N. Saito & G. Beylkin, Multiresolution representations using the auto-correlation functions of compactly supported wavelets, IEEE Trans. Sig. Proc., vol. 41, pp.3584 3590, 1993. B. A. Wandell, Foundations of Vision, Sinauer Associates, Inc., 1995. saito@math.ucdavis.edu (UC Davis) Multiscale Edges, Vision, and Wavelets UCD Math. Bio. Seminar 68 / 68