Singular Value Decomposition and its applications

Slides:



Advertisements
Similar presentations
Effective of Some Mathematical Functions to Image Compression
Advertisements

Eigen Decomposition and Singular Value Decomposition
3D Geometry for Computer Graphics
Applied Informatics Štefan BEREŽNÝ
Chapter 28 – Part II Matrix Operations. Gaussian elimination Gaussian elimination LU factorization LU factorization Gaussian elimination with partial.
Wavelets Fast Multiresolution Image Querying Jacobs et.al. SIGGRAPH95.
Image Compression. Data and information Data is not the same thing as information. Data is the means with which information is expressed. The amount of.
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
University of Ioannina - Department of Computer Science Wavelets and Multiresolution Processing (Background) Christophoros Nikou Digital.
INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS, ICT '09. TAREK OUNI WALID AYEDI MOHAMED ABID NATIONAL ENGINEERING SCHOOL OF SFAX New Low Complexity.
Matrices: Inverse Matrix
Hinrich Schütze and Christina Lioma
School of Computing Science Simon Fraser University
Linear Algebraic Equations
1 Latent Semantic Indexing Jieping Ye Department of Computer Science & Engineering Arizona State University
Information Retrieval in Text Part III Reference: Michael W. Berry and Murray Browne. Understanding Search Engines: Mathematical Modeling and Text Retrieval.
The Terms that You Have to Know! Basis, Linear independent, Orthogonal Column space, Row space, Rank Linear combination Linear transformation Inner product.
SWE 423: Multimedia Systems Chapter 7: Data Compression (3)
Basic Concepts and Definitions Vector and Function Space. A finite or an infinite dimensional linear vector/function space described with set of non-unique.
Computing Sketches of Matrices Efficiently & (Privacy Preserving) Data Mining Petros Drineas Rensselaer Polytechnic Institute (joint.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 6 May 7, 2006
Introduction to Wavelets
Digital Image Processing Final Project Compression Using DFT, DCT, Hadamard and SVD Transforms Zvi Devir and Assaf Eden.
Spatial and Temporal Databases Efficiently Time Series Matching by Wavelets (ICDE 98) Kin-pong Chan and Ada Wai-chee Fu.
SWE 423: Multimedia Systems Chapter 7: Data Compression (5)
5. 1 JPEG “ JPEG ” is Joint Photographic Experts Group. compresses pictures which don't have sharp changes e.g. landscape pictures. May lose some of the.
CS246 Topic-Based Models. Motivation  Q: For query “car”, will a document with the word “automobile” be returned as a result under the TF-IDF vector.
Diophantine Approximation and Basis Reduction
Image Compression by Singular Value Decomposition Presented by Annie Johnson MTH421 - Dr. Rebaza May 9, 2007.
Presented by Tienwei Tsai July, 2005
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
CpSc 881: Information Retrieval. 2 Recall: Term-document matrix This matrix is the basis for computing the similarity between documents and queries. Today:
BARCODE IDENTIFICATION BY USING WAVELET BASED ENERGY Soundararajan Ezekiel, Gary Greenwood, David Pazzaglia Computer Science Department Indiana University.
Orthogonalization via Deflation By Achiya Dax Hydrological Service Jerusalem, Israel
Elementary Linear Algebra Anton & Rorres, 9th Edition
DCT.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 4. Least squares.
Section 2.3 Properties of Solution Sets
Wavelets and Multiresolution Processing (Wavelet Transforms)
Diagonalization and Similar Matrices In Section 4.2 we showed how to compute eigenpairs (,p) of a matrix A by determining the roots of the characteristic.
Image transformations Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University.
2005/12/021 Content-Based Image Retrieval Using Grey Relational Analysis Dept. of Computer Engineering Tatung University Presenter: Tienwei Tsai ( 蔡殿偉.
2005/12/021 Fast Image Retrieval Using Low Frequency DCT Coefficients Dept. of Computer Engineering Tatung University Presenter: Yo-Ping Huang ( 黃有評 )
Chapter 13 Discrete Image Transforms
The Frequency Domain Digital Image Processing – Chapter 8.
Wavelets Chapter 7 Serkan ERGUN. 1.Introduction Wavelets are mathematical tools for hierarchically decomposing functions. Regardless of whether the function.
12/12/2003EZW Image Coding Duarte and Haupt 1 Examining The Embedded Zerotree Wavelet (EZW) Image Coding Method Marco Duarte and Jarvis Haupt ECE 533 December.
CS246 Linear Algebra Review. A Brief Review of Linear Algebra Vector and a list of numbers Addition Scalar multiplication Dot product Dot product as a.
JPEG Compression What is JPEG? Motivation
An Example of 1D Transform with Two Variables
Chapter 2 Data and Signals
Wavelets : Introduction and Examples
Last update on June 15, 2010 Doug Young Suh
Polynomial + Fast Fourier Transform
IIS for Image Processing
Discrete Fourier Transform The Chinese University of Hong Kong
CSI-447: Multimedia Systems
Even Discrete Cosine Transform The Chinese University of Hong Kong
LSI, SVD and Data Management
Singular Value Decomposition
Researchlab 4 Presentation
Fourier Transform and Data Compression
Discrete Fourier Transform The Chinese University of Hong Kong
Image Compression Techniques
Image Coding and Compression
Maths for Signals and Systems Linear Algebra in Engineering Lectures 13 – 14, Tuesday 8th November 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR)
Lecture 13: Singular Value Decomposition (SVD)
Digital Image Processing
Presentation transcript:

Singular Value Decomposition and its applications Math 2999 presentation Singular Value Decomposition and its applications Yip Ka Wa (2009137234)

1. Mathematics foundation

Singular Value Decomposition Suppose that we are given a matrix, it is not known that whether it has any special properties like diagonal or normal, but we can always decompose it into a product of 3 matrices. This is called the singular value decomposition:

The statement:

The picture:

General idea of construction (proof omitted)

Positive semidefinite matrix

Singular Value

Spectral Decomposition of Hermitian matrices AstarA is hermitian

Recall:

Compact form

Example

2. Image compression

Image compression

Outer product expansion

Truncation of terms To ensure that the memory used is reduced, however, we can even do a bit more. We can delete some of the nonzero singular values and keep only the first k largest singular values out of the r nonzero singular values. r terms in the outer product expansion are reduced to k terms.

Memory reduction

Block-based SVD Divide the image matrix into blocks and apply SVD compression to blocks.

Result without block-based

Special topic Investigation of the kind of images for which low rank SVD approximations can give very good results

Quality of image: Error ratio:

Complex? Simple? How do I know whether I can delete some of the singular values and still preserve quality?

Some suggestions 1. The difference (Euclidean norm) between two columns/rows is small compared to the Frobenius norm of the matrix. 2. The difference (Euclidean norm) between columns/rows with zero columns/rows is small compared to the Frobenius norm of the matrix. 3. The columns/rows are near to another columns/row in term of the cosine angle. The cosine angle is near to 1.

An example illustrating the Eckart-Young theorem:

Best rank 2 approximation

Obvious rank 2 matrix:

Frobenius norm difference

Upper bound of singular values

Sometimes we can easily spot a matrix of which the rank is 1 lower A, and observe that the Frobenius norm of the difference matrix between them is small, for example, a column is near to a multiple of another column. As that Frobenius norm is an upper bound for the last nonzero singular value of A, we know the last nonzero singular value of A is very small. Therefore it can be truncated to do SVD approximation without much loss of accuracy.

We can also know the upper bound of the last few singular values sum We can also know the upper bound of the last few singular values sum. Similarly, the above conclusion can be extended to situation when more terms are truncated. What we need to know is whether the sum of the last few singular values are small or not.

When the original matrix is near to a lower rank matrix, low rank SVD approximation is good. Sometimes we can easily spot one.

3. Comparison of different image compression method

Comparison of image compression method Fourier transform vs Wavelet transform vs SVD

Fourier Transform

The Fourier transform in image processing is discrete Fourier transform(DFT) because the images are digital and signals are discrete. Discrete Fourier transform (DFT) uses sine and cosine waves while DCT uses cosine waves

Wavelet Transform

The steps involved are similar while wavelet transform uses wavelet basis A wavelet is a waveform oscillation with amplitude that starts out at zero, increases, and then decreases back to zero Same as Fourier transform, wavelet transform produces as many coefficients as there are pixels in the image

Continuous wavelet transform, discrete wavelet transform, multiresolution discrete wavelet transform, haar wavelet, Daubechies wavelets.

General comparisons Wavelet: high quality Advantages SVD: no blocking artifacts Fourier: The calculation of coefficient is easy Wavelet: high quality

Disadvantages SVD: U and V will have to stored together with the singular values Fourier: Blocking artifacts

Wavelet (shared with Fourier): Ringing artifacts

The ringing artifacts appear as the spurious signals near sharp transitions in a signal. In image, bands or "ghosts" appear near edges of objects

Comparison from report Chan and Duan report: “Computational aspects of mathematical models in image compression”

Report details: 7 images are compared in different quality level. Image with different compression ratios: about 80%, 90% and 98.5% is chosen, and according to these compressions choose the singular value of SVD.

Color image treatment For pictures with color, first divide the picture into three layers: red, green and blue. Then we process the three layers respectively as the method used for gray pictures. After obtaining 3 compressed layers, combine them back into a single color picture

Error ratio The procedure to obtain the error ratio of image compression is as follows: First calculate the difference matrix between the original image and the compressed image by subtraction. Then calculate the L2-norm of the difference matrix and normalize it with the L2-norm of the original image. The result is the error rate of the image compression

Different from the one defined by Frobenius norm:

Comparison of the error ratio defined by Spectral norm and Frobenius norm

So the inequality is found out to be:

Comparison from paper results FFT and Wavelet are both good methods and FFT works best for fingerprint, wood (vertical texture) and Fungus. But FFT yields high error ratio for some images. Wavelet works best for the remaining images and yields low error ratio for all images. SVD cannot yield the lowest error ratio for 7 images but can yield lower error ratio than FFT for some images (Bird, Coil and Duan)

Advantages: SVD: 1.Wavelet and FFT stop compressing the image beyond a certain compression degree, but SVD can still compress a lot. 2.Works better for the color image than for the gray one

Fourier: Directional property Wavelet: Works well for all images and does not fluctuate in quality for different images.

Disadvantages: SVD: Worse quality Fourier: Limitation of compression degree exists Wavelet: Limitation of compression degree exists

Conclusion: When SVD will be more efficient When ringing artifacts or blocking artifacts need to be avoided. When only general shape is needed to save memory, SVD can compress to contour with high compression ratio. Image that is near to a lower rank matrix (image)

Bird

Coil

Although SVD is still the worst, it is not so bad.

Note It would be a mistake if linear dependence is considered from image, instead of from the matrix entries values. Definition of norm in error ratio

Thank you

Traditional search Term-document matrix A term-document matrix is used in the traditional search technique.

Term-document matrix (D):

Latent semantic indexing

Computation of pseudo vectors

Effect of dimension reduction