Multiresolution image processing

Similar documents
Image pyramid example

Digital Image Processing

MULTIRATE DIGITAL SIGNAL PROCESSING

Multiscale Image Transforms

Multiresolution schemes

Multiresolution schemes

Lecture 16: Multiresolution Image Analysis

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

Multiresolution analysis & wavelets (quick tutorial)

Multirate signal processing

Wavelets and Multiresolution Processing

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

Introduction to Discrete-Time Wavelet Transform

ECE472/572 - Lecture 13. Roadmap. Questions. Wavelets and Multiresolution Processing 11/15/11

Digital Image Processing

Digital Image Processing

Sparse linear models

2D Wavelets. Hints on advanced Concepts

Multiresolution Analysis

COMPLEX WAVELET TRANSFORM IN SIGNAL AND IMAGE ANALYSIS

Digital Image Processing Lectures 15 & 16

Objective: Reduction of data redundancy. Coding redundancy Interpixel redundancy Psychovisual redundancy Fall LIST 2

Course and Wavelets and Filter Banks

Two Channel Subband Coding

A Higher-Density Discrete Wavelet Transform

Lecture 15: Time and Frequency Joint Perspective

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

Lecture 11: Two Channel Filter Bank

An Introduction to Wavelets and some Applications

Chapter 7 Wavelets and Multiresolution Processing

Subband Coding and Wavelets. National Chiao Tung University Chun-Jen Tsai 12/04/2014

Basic Multi-rate Operations: Decimation and Interpolation

Image Denoising using Uniform Curvelet Transform and Complex Gaussian Scale Mixture

Wavelets and Filter Banks

Haar wavelets. Set. 1 0 t < 1 0 otherwise. It is clear that {φ 0 (t n), n Z} is an orthobasis for V 0.

2D Wavelets for Different Sampling Grids and the Lifting Scheme

Digital Speech Processing Lecture 10. Short-Time Fourier Analysis Methods - Filter Bank Design

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

INTRODUCTION TO. Adapted from CS474/674 Prof. George Bebis Department of Computer Science & Engineering University of Nevada (UNR)

( nonlinear constraints)

A Friendly Guide to the Frame Theory. and Its Application to Signal Processing

Defining the Discrete Wavelet Transform (DWT)

Image Alignment and Mosaicing

The Dual-Tree Complex Wavelet Transform A Coherent Framework for Multiscale Signal and Image Processing

Filter Banks II. Prof. Dr.-Ing. G. Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany

THE FRAMEWORK OF A DYADIC WAVELETS ANALYSIS. By D.S.G. POLLOCK. University of Leicester stephen

VARIOUS types of wavelet transform are available for

Wavelets, Filter Banks and Multiresolution Signal Processing

Wavelets and multiresolution representations. Time meets frequency

Course and Wavelets and Filter Banks. Filter Banks (contd.): perfect reconstruction; halfband filters and possible factorizations.

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

Multiresolution coding and wavelets. Interpolation error coding, I

Problem with Fourier. Wavelets: a preview. Fourier Gabor Wavelet. Gabor s proposal. in the transform domain. Sinusoid with a small discontinuity

Wavelets: a preview. February 6, 2003 Acknowledgements: Material compiled from the MATLAB Wavelet Toolbox UG.

The basic structure of the L-channel QMF bank is shown below

ECE 634: Digital Video Systems Wavelets: 2/21/17

Lecture Notes 5: Multiresolution Analysis

Introduction to Wavelet. Based on A. Mukherjee s lecture notes

Wavelets in Pattern Recognition

Filter Banks II. Prof. Dr.-Ing Gerald Schuller. Fraunhofer IDMT & Ilmenau Technical University Ilmenau, Germany

Index. l 1 minimization, 172. o(g(x)), 89 F[f](λ), 127, 130 F [g](t), 132 H, 13 H n, 13 S, 40. Pr(x d), 160 sinc x, 79

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

Perfect Reconstruction Two- Channel FIR Filter Banks

Chapter 4: Filtering in the Frequency Domain. Fourier Analysis R. C. Gonzalez & R. E. Woods

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

Quadrature-Mirror Filter Bank

Introduction to Wavelets and Wavelet Transforms

Introduction p. 1 Compression Techniques p. 3 Lossless Compression p. 4 Lossy Compression p. 5 Measures of Performance p. 5 Modeling and Coding p.

The Application of Legendre Multiwavelet Functions in Image Compression

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

Lecture 2: Haar Multiresolution analysis

Scale-space image processing

Optimization of biorthogonal wavelet filters for signal and image compression. Jabran Akhtar

Wavelets and Multiresolution Processing. Thinh Nguyen

Boundary functions for wavelets and their properties

Subsampling and image pyramids

New image-quality measure based on wavelets

DUAL TREE COMPLEX WAVELETS

Introduction to Computer Vision. 2D Linear Systems

Denoising via Recursive Wavelet Thresholding. Alyson Kerry Fletcher. A thesis submitted in partial satisfaction of the requirements for the degree of

Sparse linear models and denoising

Invariant Scattering Convolution Networks

MR IMAGE COMPRESSION BY HAAR WAVELET TRANSFORM

Wavelet Bi-frames with Uniform Symmetry for Curve Multiresolution Processing

Wavelets bases in higher dimensions

EE67I Multimedia Communication Systems

c 2010 Melody I. Bonham

Nonlinear Multiresolution Signal Decomposition Schemes Part I: Morphological Pyramids

The Dual-Tree Complex Wavelet Transform. [A coherent framework for multiscale signal and ]

1. Fourier Transform (Continuous time) A finite energy signal is a signal f(t) for which. f(t) 2 dt < Scalar product: f(t)g(t)dt

Complex Wavelet Transform: application to denoising

Denoising and Compression Using Wavelets

Signal Analysis. Multi resolution Analysis (II)

Sirak Belayneh Master of Science George Mason University, 1990 Bachelor of Science Addis Ababa University, 1976

<Outline> JPEG 2000 Standard - Overview. Modes of current JPEG. JPEG Part I. JPEG 2000 Standard

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

1 Introduction to Wavelet Analysis

6.003: Signals and Systems. Sampling and Quantization

Wavelets and Filter Banks Course Notes

Wavelets in Scattering Calculations

Transcription:

Multiresolution image processing Laplacian pyramids Some applications of Laplacian pyramids Discrete Wavelet Transform (DWT) Wavelet theory Wavelet image compression Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 1

Image pyramids [Burt, Adelson, 1983] Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 2

Image pyramid example original image Gaussian pyramid Laplacian pyramid Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 3

Overcomplete representation Number of samples in Laplacian or Gaussian pyramid = 1 1 1 4 1 + + +... + x number of original image samples 2 P 4 4 4 3 Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 4

LoG vs. DoG Laplacian of Gaussian Difference of Gaussians Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 5

Image processing with Laplacian pyramid Input picture + Processed picture - Analysis Filtering Interpolator Interpolator Synthesis Subsampling + - Filtering Subsampling Interpolator Interpolator Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 6

Expanded Laplacian pyramid Input picture + Processed picture - Analysis Filtering Synthesis Filtering + - Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 7

Mosaicing in the image domain Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 8

Mosaicing by blending Laplacian pyramids Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 9

Expanded Laplacian pyramids Original: begonia Gaussian level 2 Laplacian level 2 Original: dahlia Gaussian level 2 Laplacian level 2 Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 10

Blending Laplacian pyramids Level 0 Level 2 Level 4 Level 6 Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 11

Image analysis with Laplacian pyramid Input picture + - Analysis Filtering Interpolator Subsampling Filtering + - Recognition/ detection/ segmentation result Subsampling Interpolator Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 12

Multiscale edge detection Zero-crossings of Laplacian images of different scales Spurious edges removed Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 13

Multiscale face detection Input image pyramid Extracted window (20 by 20 pixels) Correct lighting Histogram equalization Receptive fields Hidden units subsampling Network Input Output 20 by 20 pixels Preprocessing Neural network [Rowley, Baluja, Kanade, 1995] Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 14

Example: multiresolution noise reduction Original Noisy Noise reduction: 3-level Haar transform no subsampling w/ soft coring Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 15

1-d Discrete Wavelet Transform Recursive application of a two-band filter bank to the lowpass band of the previous stage yields octave band splitting: frequency Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 16

Cascaded analysis / synthesis filterbanks h 0 g 0 h 1 g 1 h 0 g 0 h 1 g 1 Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 17

2-d Discrete Wavelet Transform ω y ω y ω y ω x ω x ω x ω y ω y ω x ω x ω y ω y...etc ω x ω x ω y ω y ω x ω x Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 18

2-d Discrete Wavelet Transform example Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 19

2-d Discrete Wavelet Transform example Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 20

2-d Discrete Wavelet Transform example Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 21

2-d Discrete Wavelet Transform example Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 22

2-d Discrete Wavelet Transform example Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 23

Review: Z-transform and subsampling Generalization of the discrete-time Fourier transform n ( ) [ ] ; C ; x z = x n z z r < z < r n= + Fourier transform on unit circle: substitute Downsampling and upsampling by factor 2 z = j e ω x( z ) 2 2 1 ( ) ( ) 2 x z + x z Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 24

Two-channel filterbank x( z) h 0 2 2 g 0 ˆx ( z) h 1 2 2 g 1 1 1 xz ˆ( ) = g0( z) h0( z) x( z) + h0( z) x( z) + g1( z) h1( zxz ) ( ) + h1( zx ) ( z) 2 2 1 1 = 0 0 + 1 1 + 0 0 + 1 1 2 2 Aliasing cancellation if : [ ] [ ] [ h ( z) g ( z) h( z) g ( z) ] x( z) [ h ( z) g ( z) h( z) g ( z) ] x( z) g ( z) = h( z) 0 1 g ( z) = h ( z) 1 0 Aliasing Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 25

Example: two-channel filter bank with perfect reconstruction Impulse responses, analysis filters: Lowpass highpass 1 1 3 1 1,,,, 4 2 2 2 4 1 1 1,, 4 2 4 Impulse responses, synthesis filters Lowpass highpass 1 1 1,, 4 2 4 1 1 3 1 1,,,, 4 2 2 2 4 Biorthogonal 5/3 filters LeGall filters Mandatory in JPEG2000 Frequency responses: Frequency response 2 1 0 0 h 0 g 0 π 2 Frequency g 1 h 1 π Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 26

Lifting Analysis filters [ n] even samples x 2 Σ Σ K 0 low band y 0 λ λ λ 1 2 L 1 λ L odd samples [ 2 1] x n+ Σ Σ K 1 high band y 1 L lifting steps [Sweldens 1996] First step can be interpreted as prediction of odd samples from the even samples Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 27

Lifting (cont.) Synthesis filters [ n] even samples x 2 Σ - Σ - 1 K 0 low band y 0 odd samples [ 2 1] x n+ λ λ λ 1 2 L 1 Σ - Σ - λ L 1 K 1 high band y 1 Perfect reconstruction (biorthogonality) is directly build into lifting structure Powerful for both implementation and filter/wavelet design Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 28

Example: lifting implementation of 5/3 filters [ n] even samples x 2 Σ low band y 0 ( 1 z) + 1 2 1 + 4 z odd samples [ 2 1] x n+ Σ 1/2 high band y 1 Verify by considering response to unit impulse in even and odd input channel. Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 29

Conjugate quadrature filters Achieve aliasing cancelation by 1 0( ) 0( ) Impulse responses h k = g k = f k With perfect reconstruction: orthonormal subband transform! Perfect reconstruction: find power complementary prototype filter ( ) h z = g z f z 1 ( ) ( 1 ( ) ) h z = g z = zf z [Smith, Barnwell, 1986] 1 1 [ ] [ ] [ ] k + 1 [ ] = [ ] = ( ) ( + ) 0 0 h1 k g1 k 1 f k 1 2 ( ) 2 ( jω ) j( ) F e ω ± π F e + = 2 Prototype filter Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 30

Wavelet bases ( ) ( ) x = xt ( ) 2 Consider Hilbert space of finite-energy functions. Wavelet basis for that span L 2 ψ L : family of linearly independent functions ( m ) m () 2 ( m 2 ) n t = ψ t n 2 2 L ( ). Hence any signal x L ( ) x = m= n= y ( m ) [ ] n ψ ( m) n mother wavelet can be written as Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 31

Multi-resolution analysis Nested subspaces ( ) ( ) ( ) ( ) ( ) ( ) 2 1 0 1 2 2 V V V V V L Upward completeness Downward complete ness m Z m Z () ( m) ( m) ( 0) 2 {} 0 ( ) m Self-similari t y x t V iff x 2 t V Translation invariance () V V = L = ( ) ( m) ( ) ( ) ( ) 0 0 x t V iff x t n V for all n Z { ϕ } () t () t = ( t n) There exists a "scaling function" ϕ with integer translates ϕ ϕ - such that forms an orthonormal basis for V n n ( 0) n Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 32

Multiresolution Fourier analysis span span span ( p 3) ( p 3) { ϕ n } = V ( p 2) ( p 2) { ϕ n } = V ( p 1) ( p 1) { ϕ n } = V ( p) ( p) span{ ϕ } = V n n n n n span span ( p 1) ( p 1) { ψ n } = W n ( p 2) ( p 2) { ψ n } = W n span ( p 3) ( p 3) { ψ n } = W n ( p) ( p) span{ ψ } = W n n ω Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 33

Since V Relation to subband filters ( 0) ( 1) V Orthonormality ( 1 () [ ] ) () ( 0) ( 0) [ n ] =, 0, recursive definition of scaling function linear combination ( 1 of scaling functions in V ) [ ] ( ) ϕ t = g0 n ϕn t = 2 g0 n ϕ 2t n n= n= δ ϕ ϕ n ( 1 [] ) ( 1) = g0 i ϕi () t g0[ j] ϕj+ 2n() t dt i j ( 1) ( 1) = g0[] i g0[ j 2 n] ϕi, ϕj = g0[] i g0[ i 2n] i, j i g0 [ k ] unit norm and orthogonal to its 2-translates: corresponds to synthesis lowpass filter of orthonormal subband transform Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 34

Wavelets from scaling functions ( p) ( p) ( p 1) W is orthogonal complement of V in V ( p) ( p) ( p) ( p) ( p 1) W V and W V = V Orthonormal wavelet basis for ψ ( 1 () t g [ n] ϕ ) () t = 1 n n= linear combination of scaling functions ( 1 in V ) n+ 1 [ ] = ( 1) ( 1) ( 0) ( 0) ( 1) { ψ n } W V 1 [ ] ϕ ( ) = 2 g n 2t n Using conjugate quadrature high-pass synthesis filter g1 n g0 n The mutually orthonormal n= ( ) ( ) { ψ n } ϕn ( ) { } V 0 0 1 functions, and, together span. n Z n Z () Easy to extend to dilated versions of ψ t to construct orthonormal wavelet basis ( m) 2 { ψ } L ( ) n nm, Z for. n Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 35

Calculating wavelet coefficients for a continuous signal Signal synthesis by discrete filter bank Suppose continuous signal ( ) () ( ) ( ) () () () [] ( ) [ ] ϕ( ) () () () 0 1 1 1 1 = 0 ϕn + 1 ψn i Z j Z () 1 () 1 x () t V () 1 () 1 w () t W Signal analysis by analysis filters h 0 [k], h 1 [k] Discrete wavelet transform () () [ ] () () ( ) [ ] ( ) ( ) 0 0 0 0 0 = 0 = 0 ϕn n Z n Z 1 1 1 1 x t y n t n y n V Write as superposition of x t V and w t W x t y i y j ( 0) ( 1 ) () 1 = ϕn y0 [ n] g0[ n 2 i] + y1 [ j] g1[ n 2i] n Z i Z j Z y ( 0 ) [ n] 0 Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 36

1-d Discrete Wavelet Transform y () 1 [ n] 0 h 0 y ( 2 ) [ n] 0 g 0 y ( 1 ) [ n] 0 h 1 y ( 2 ) [ n] 1 g 1 xt () Sampling y ( 0 ) [ n] 0 h 0 g 0 y ( 0 ) [ n] 0 Interpolation ϕ ( t) xt ( ) h 1 y ( 1 ) [ n] 1 g 1 Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 37

Example: Daubechies wavelet, order 2 ϕ ψ h 0 h 1 g 0 g 1 Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 38

Example: Daubechies wavelet, order 9 ϕ ψ h 0 h 1 g 0 g 1 Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 39

Comparison JPEG vs. JPEG2000 Lenna, 256x256 RGB Baseline JPEG: 4572 bytes Lenna, 256x256 RGB JPEG-2000: 4572 bytes Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 40

Comparison JPEG vs. JPEG2000 JPEG with optimized Huffman tables 8268 bytes JPEG2000 8192 bytes Bernd Girod: EE368 Digital Image Processing Multiresolution Image Processing no. 41