Analysis of Fractals, Image Compression and Entropy Encoding

Similar documents
Entropy Encoding Using Karhunen-Loève Transform

Fourier Bases on the Skewed Sierpinski Gasket

Lecture 16: Multiresolution Image Analysis

COMPARISON OF DISCRETE AND CONTINUOUS WAVELET TRANSFORMS

arxiv:math/ v1 [math.ca] 19 May 2004

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

Spectral Properties of an Operator-Fractal

Digital Image Processing

Digital Image Processing

Contents. Acknowledgments

Multimedia Networking ECE 599

Fractal wavelets of Dutkay-Jorgensen type for the Sierpinski gasket space

Wavelets For Computer Graphics

Wavelets and Multiresolution Processing

Machine Learning: Basis and Wavelet 김화평 (CSE ) Medical Image computing lab 서진근교수연구실 Haar DWT in 2 levels

Multiresolution Analysis

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information

Introduction to Discrete-Time Wavelet Transform

Cuntz algebras, generalized Walsh bases and applications

L. Yaroslavsky. Fundamentals of Digital Image Processing. Course

Wavelets in Scattering Calculations

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Fourier Bases on Fractals

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

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

An Introduction to Wavelets and some Applications

( nonlinear constraints)

Linear Algebra and Dirac Notation, Pt. 1

Wavelets Marialuce Graziadei

Wavelets on hierarchical trees

Multiresolution schemes

CHAPTER 4 PRINCIPAL COMPONENT ANALYSIS-BASED FUSION

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

Multiresolution schemes

1 Introduction to Wavelet Analysis

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

An Introduction to Wavelets

Image Data Compression

The New Graphic Description of the Haar Wavelet Transform

Chapter 7 Wavelets and Multiresolution Processing

Wavelets and Image Compression. Bradley J. Lucier

Fourier and Wavelet Signal Processing

Space-Frequency Atoms

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

Course and Wavelets and Filter Banks

arxiv: v1 [math.fa] 28 Dec 2018

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

Multi-Resolution Analysis for the Haar Wavelet: A Minimalist Approach

EE67I Multimedia Communication Systems

Scientific Computing: An Introductory Survey

Wavelets and Multiresolution Processing. Thinh Nguyen

Denoising and Compression Using Wavelets

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

A First Course in Wavelets with Fourier Analysis

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

Basic Principles of Video Coding

Space-Frequency Atoms

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

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

Contents. Preface for the Instructor. Preface for the Student. xvii. Acknowledgments. 1 Vector Spaces 1 1.A R n and C n 2

Applied Linear Algebra

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

DISCRETE CDF 9/7 WAVELET TRANSFORM FOR FINITE-LENGTH SIGNALS

Multiresolution image processing

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

LINEAR ALGEBRA REVIEW

Methods for sparse analysis of high-dimensional data, II

Boundary functions for wavelets and their properties

Wavelets and Signal Processing

Wavelet Bi-frames with Uniform Symmetry for Curve Multiresolution Processing

Fractal functional regression for classification of gene expression data by wavelets

The Application of Legendre Multiwavelet Functions in Image Compression

Multiscale Image Transforms

Multiscale Frame-based Kernels for Image Registration

Linear Algebra. Min Yan

Construction of Multivariate Compactly Supported Orthonormal Wavelets

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

Multiresolution analysis & wavelets (quick tutorial)

Adaptive wavelet decompositions of stochastic processes and some applications

The role of transfer operators and shifts in the study of fractals: encoding-models, analysis and geometry, commutative and non-commutative

Math 1553, Introduction to Linear Algebra

Introduction to Signal Spaces

Multiscale Analysis and Diffusion Semigroups With Applications

Image Compression by Using Haar Wavelet Transform and Singular Value Decomposition

S-adic sequences A bridge between dynamics, arithmetic, and geometry

Isotropic Multiresolution Analysis: Theory and Applications

IMAGE COMPRESSION-II. Week IX. 03/6/2003 Image Compression-II 1

Transform methods. and its inverse can be used to analyze certain time-dependent PDEs. f(x) sin(sxπ/(n + 1))

SYDE 575: Introduction to Image Processing. Image Compression Part 2: Variable-rate compression

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

Tutorial on Principal Component Analysis

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

Construction of wavelets. Rob Stevenson Korteweg-de Vries Institute for Mathematics University of Amsterdam

C -algebras associated to dilation matrices

Random Vectors, Random Matrices, and Matrix Expected Value

MIT 9.520/6.860, Fall 2017 Statistical Learning Theory and Applications. Class 19: Data Representation by Design

Lecture Notes 5: Multiresolution Analysis

Lecture 3: Review of Linear Algebra

Transcription:

Analysis of Fractals, Image Compression and Entropy Encoding Myung-Sin Song Southern Illinois University Edwardsville Jul 10, 2009

Joint work with Palle Jorgensen.

Outline 1. Signal and Image processing, 2. Selfsimilarity, Computational Features 3. Operator Theoretic Models 4. Slanted Matrix Representations 5. Image Decomposition using Forward Wavelet Transform 6. Entropy Encoding and Karhunen-Loève Transform 7. Wavelets and Fractals, and Fractal image processing

1. Signal and Image processing (a) A systematic study of bases in Hilbert spaces built on fractals suggests a common theme: A hierarchical multiscale structure. A well-known instance of the self-similarity is reflected in the scaling rules from wavelet theory. (b) The best known instances: the dyadic wavelets in L 2 (R), built by two functions ϕ and ψ; subject to the relation ϕ(x) = 2 h n ϕ(2x n), and ψ(x) = 2 g n ϕ(2x n). (1) where (h n ) and (g n ) are fixed and carefully chosen sequences.

1. Signal and Image processing - cont d (d) The function ϕ is called the scaling function, or the father function, and ψ is called the mother function. (e) The best known choice of pairs of filter coefficients (h n ), (g n ) is the following: Pick (h n ) R subject to the two conditions n Z h n = 1 and n Z h nh n+2l = 1 2 δ 0,l. Then set g n := ( 1) n h 1 n, n Z. (f) The convention is that (h n ) is 0 outside some specified range.

1. Signal and Image processing - cont d (g) The associated double indexed family ψ jk (x) = 2 i/2 ψ(2 j x k), j, k, Z will be a wavelet basis for L 2 (R). (h) This is the best known wavelet construction also known by the name multi-resolution analysis (MRA). The reason for this is that the father function ϕ generates a subspace V 0 of L 2 (R) which represents a choice of resolution for wavelet decomposition.

1. Signal and Image processing - cont d Definition Take V 0 to be the closed span of all the translates (ϕ( k)), k Z in L 2 (R). From (1), it follows that the scaling operator Uf(x) = 2 1/2 f( x 2 ) maps the space V 0 into itself; and that Uψ V 0. With suitable modification this idea also works for wavelet bases in L 2 (R d ), and in Hilbert spaces built on fractals.

2.1 Selfsimilarity (a) For Julia sets X in complex analysis for example, U could be implemented by a rational function z r(z). (b) When r is given, X will be a compact subset of C which is determined by the dynamics of r n = r} {{ r}. Specifically, n times C\X = {O O open, (r (n) O) is normal}. (2) (c) Interested in showing that these non-linear fractals are related to more traditional wavelets, i.e., those of L 2 (R d ). We want to extend the R d -analysis both to fractals and to discrete hierarchical models.

2.2 Computational Features (a) Approximation of the father or mother functions by subdivision schemes. (b) Matrix formulas for the wavelet coefficients. For fractals, L 2 -convergence is more restrictive than is the case for L 2 (R d )-wavelets. A unifying approach to wavelets, dynamical systems, iterated function systems, self-similarity and fractals may be based on the systematic use of operator analysis and representation theory.

3.1 Operator Theoretic Models (a) Motivation: hierarchical models and multiscaling, operators of multiplication, and dilations, and more general weighted composition operators are studied. Scaling is implemented by non-linear and non-invertible transformations. This generalizes affine trasformations of variables from wavelet analysis and analysis on affine fractals. (b) The properties of dynamical and iterated function systems, defined by these transformations, govern the spectral properties and corresponding subspace decompositions.

3.1 Operator Theoretic Models - cont d (c) The interplay between dynamical and iterated function systems and actions of groups and semigroups on one side, and operator algebras on the other side, yield new results and methods for wavelets and fractal analysis and geometry. (d) Wavelets, signals and information may be realized as vectors in a real or complex Hilbert space. In the case of images, this may be worked out using wavelet and filter functions, e.g. corresponding to ordinary Cantor fractal subsets of R, as well as for fractal measure spaces of Sierpinski Gasket fractals.

3.2 Operators and Hilbert Space (a) Operator algebra constructions of covariant representations are used in the analysis of orthogonality in wavelet theory, in the construction of super-wavelets, and orthogonal Fourier bases for affine fractal measures. (b) In signal processing, time-series, or matrices of pixel numbers may similarly be realized by vectors in Hilbert space H. (c) In signal/image processing, because of aliasing, it is practical to generalize the notion of ONB, and this takes the form of what is a system of frame vectors.

3.2 Operators and Hilbert Space - cont d (d) One particular such ONB goes under the name the Karhunen-Loève basis. (e) Motivation comes from the consideration of the optimal choices of bases for certain analogue-to-digital (A-to-D) problems we encountered in the use of wavelet bases in image-processing.

3.2 Operators and Hilbert Space - cont d Definition For every finite n, a representation of the Cuntz algebra O n is a system of isometries S i : H H such that (a) S i S j = δ ij I ; orthogonality, and (b) i S is i = I (perfect reconstruction).

S0* S0 Analysis Synthesis low-pass filter dual low-pass filter Signal In ξ down-sampling up-sampling + Signal Out ξ high-pass filter dual high-pass filter S1* S1 Figure: Examples of operators in signal image processing.

4. Slanted Matrix Representations Definition If (h n ) n Z is a double infinite sequence of complex numbers, i.e., h n C, for all n Z; set (S 0 x)(m) = 2 n Z h m 2n x(n) (3) and adjoint (S 0 x)(m) = 2 n Z h n 2m x(n); for all m Z. (4)

4. Slanted Matrix Representations - cont d Then (a) The matrix representations (3) and (4) have the following slanted forms.... S0 : S*0 :........ Figure: S 0 and S 0.

4. Slanted Matrix Representations - cont d (b) The set of non-zero numbers in (h n ) n Z is finite if and only if the two matrices in Figure are banded. (c) Relative to the inner product x y l 2 := n Z x n y n in l 2 (i.e., conjugate-linear in the first variable), the operator S 0 is isometric if and only if h n h n+2p = 1 2 δ 0,p, for all p Z. (5) n Z

4. Slanted Matrix Representations - cont d (d) If (5) holds, and (S 1 x)(m) = 2 n Z g m 2n x(n), (6) then S 0 S0 + S 1S1 = I l 2 (7) Sk S l = δ k,l I l 2 for all k, l {0, 1} (8) (the Cuntz relations) holds for g n := ( 1) n h1 n, n Z.

Figure: Outline of the wavelet image compression process.

5. Image Decomposition using Forward Wavelet Transform A 1-level wavelet transform of an N M image can be represented as a 1 h 1 f v 1 d 1 where the subimages h 1, d 1, a 1 and v 1 each have the dimension of N/2 by M/2.

5. Image Decomposition using Forward Wavelet Transform-cont d a 1 = Vm 1 Vn 1 : ϕ A (x, y) = ϕ(x)ϕ(y) = i j h ih j ϕ(2x i)ϕ(2y j) h 1 = Wm 1 V n 1 : ψh (x, y) = ψ(x)ϕ(y) = i j g ih j ϕ(2x i)ϕ(2y j) v 1 = Vm 1 W n 1 : ψv (x, y) = ϕ(x)ψ(y) = i j h ig j ϕ(2x i)ϕ(2y j) d 1 = Wm 1 Wn 1 : ψ D (x, y) = ψ(x)ψ(y) = i j g ig j ϕ(2x i)ϕ(2y j) ϕ : the father function in sense of wavelet. ψ : is the mother function in sense of wavelet. V space : the average space and the from multiresolution analysis (MRA). W space : the difference space from MRA. h : low-pass filter coefficients g : high-pass filter coefficients.

Test Image Figure: Prof. Jorgensen in his office.

First-level Decomposition Figure: 1-level Haar Wavelet Decomposition of Prof. Jorgensen

Second-level Decomposition Figure: 2-level Haar Wavelet Decomposition of Prof. Jorgensen

6.1 Entropy Encoding Entropy encoding further compresses the quantized values in lossless manner which gives better compression in overall. It uses a model to accurately determine the probabilities for each quantized value and produces an appropriate code based on these probabilities so that the resultant output code stream will be smaller than the input stream.

6.1 Entropy Encoding-Example An example with letters in the text would better depict how the mechanism works. Suppose we have a text with letters a, e, f, q, r with the following probability distribution: Letter Probability a 0.3 e 0.2 f 0.2 q 0.2 r 0.1

Example-cont d Then applying the Shannon-Fano entropy encoding scheme on the above table gives us the following assignment. Letter Probability code a 0.3 00 e 0.2 01 f 0.2 100 q 0.2 101 r 0.1 110 Note that instead of using 8-bits to represent a letter, 2 or 3-bits are being used to represent the letters in this case.

6.2 Karhunen-Loève Transform Karhunen-Loève transform is an operator theoretic tool which has proved effective and versatile in the analysis of stochastic processes (X t ). The starting point in this is a spectral analysis of the correlations E(X t X s ). In models, this may represent, for example, correlations of pixel values. The K-L analysis involves a variety of choices of bases (ψ I (t)), including wavelet bases, and it leads to a sequence (Z n ) of independent random variables, and an associated K-L expansion of the initial process (X t ).

6.2 Karhunen-Loève Transform - cont d Given the values of their neighbors, pixels in smooth regions can be predicted with substantial accuracy, so the independent storage of pixels is unnecessary. Exploiting this spatial redundancy (correlation between neighboring pixel values) enables us to acquire a considerable improvement in performance over entropy coding alone. Applying K-L transform to an image yields a set of transform coefficients which are de-correlated, i.e., the first-order linear redundancy in the pixels are eliminated.

6.2 Description of the Algorithm for Karhunen-Loève transform entropy encoding 1. Perform the wavelet transform for the whole image. (i.e., wavelet decomposition.) 2. Do quantization to all coefficients in the image matrix, except the average detail. 3. Subtract the mean: Subtract the mean from each of the data dimensions. This produces a data set whose mean is zero. 4. Compute the covariance matrix cov(x, Y) = n i=1 (X i X)(Y i Ȳ). n

6.2 Description of the Algorithm for Karhunen-Loève transform entropy encoding - cont d 5. Compute the eigenvectors and eigenvalues of the covariance matrix. 6. Choose components and form a feature vector(matrix of vectors), (eig 1,..., eig n ). Eigenvectors are listed in decreasing order of the magnitude of their eigenvalues. Eigenvalues found in step 5 are different in values. The eigenvector with highest eigenvalue is the principle component of the data set. 7. Derive the new data set. Final Data = Row Feature Matrix Row Data Adjust.

6.2 Description of the Algorithm for Karhunen-Loève transform entropy encoding - cont d Row Feature Matrix : the matrix that has the eigenvectors in its rows with the most significant eigenvector (i.e., with the greatest eigenvalue) at the top row of the matrix. Row Data Adjust : the matrix with mean-adjusted data transposed. That is, the matrix contains the data items in each column with each row having a separate dimension.

7.1 Wavelets and Fractals (a) The simplest Julia sets come from a one parameter family of quadratic polynomials ϕ c (z) = z 2 + c, where z is a complex variable and where c is a fixed parameter. (b) Consider the two branches of the inverse β ± = z ± z c. Then J c is the unique minimal non-empty compact subset of C, which is invariant under {β ± }. (c) Interested in adapting and modifying the Haar wavelet, and the other wavelet algorithms to the Julia sets.

7.1 Wavelets and Fractals - cont d (d) There was an initition of wavelet transforms for complex fractals. (e) These transforms have some parallels to traditional affine fractals, but subtle non-linearities precluded from writing down an analogue of Haar wavelets in these different settings. (f) Want to develop more refined algorithms taking these difficulties into account.

7.1 Wavelets and Fractals - cont d A successful harmonic analysis on Julia sets, with their Brolin measures, is likely to be more difficult than is the corresponding situation for the affine fractals with their Hutchinson measures (such as Cantor and Sierpinski constructs). This difficulty in an analysis of Julia sets appears both in wavelet constructions and in our search for Fourier bases. The reason is that Julia iterations are by non-linear mappings, while affine fractals are amenable to linear tools, or rather systems of affine maps. Still there is hope for the more non-linear case because of intrinsic selfsimilarity.

7.2 Fractal Image Processing (a) (b) (c) (d) Unlike wavelets, fractal coders store images as a fixed points of maps on the plane instead of a set of quantized transform coefficients. Fractal compression is related to vector quantization, but fractal coders use a self-referential vector codebook, drawn from the image itself, instead of a fixed codebook. IFS theory motivates a broad class fractal compression schemes but it does not show why particular fractal schemes work well. A wavelet-based framework for analyzing fractal block coders would simplify the analysis of these codes considerably and give a clear picture of why they are effective.

7.3 Image Decomposition using real Sierpinski-Gasket filter By Jonas D Andrea, Kathy Merrill and Judy Packer (next 4 slides)

reconstruction using 10% of transform coefficients Haar filter real SG filter

reconstruction using 3% of transform coefficients Haar filter real SG filter

reconstruction using 0.1% of transform coefficients real SG filter same as original Haar filter

reconstruction using 0.01% of transform coefficients real SG filter same as original Haar filter

References P. E. T. Jorgensen and M.-S. Song, Analysis of Fractals, Image Compression, Entropy Encoding, Karhunen-Loève Transforms Acta Applicandae Mathematica, Springer, 2009. P. E. T. Jorgensen and M.-S. Song, Entropy Encoding, Hilbert Space and Karhunen-Loève Transforms J. Math. Phys. 48 103503, 2007. P. E. T. Jorgensen. Analysis and probability: wavelets, signals, fractals, volume 234 of Graduate Texts in Mathematics. Springer, New York, 2006. D. Dutkay and P. E. T. Jorgensen Fractals on Wavelets Revista Mathematica Iberoamericana, Vol. 22, No. 1, pp. 131-180, 2006. J. D Andrea, K. Merrill and J. Packer, Fractal Wavelets of Dutkay-Jorgensen Type for the Sierpinski Gasket Space Contemporary Mathematics, v. 451, pp. 69-88, 2008.