Signal Processing/Image Editing: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Jehan60188
Created page with '{{Signal Processing/Page}} As an image is a type of 2-D signal; instead of just time-amplitude pairs that correspond to a voice transmission, consider "time in the X domain"-"ti...'
 
(No difference)

Latest revision as of 01:31, 14 January 2011

Template:Signal Processing/Page

As an image is a type of 2-D signal; instead of just time-amplitude pairs that correspond to a voice transmission, consider "time in the X domain"-"time in the Y domain"-amplitude pairs. That is, an X coordinate, a Y coordinate and an amplitude. This will give you a monochromatic image. As such, signal processing tools can be used in editing images.

Singular Value Decomposition

The Singular Value Decomposition is a matrix decomposition (another way to say factorization).

M=UΣV*

where

  • U is an m×m unitary matrix over.
  • Σ is an m×n diagonal matrix with nonnegative real numbers s_{n,n} on the diagonal where
s1,1>s2,2>sn,n
  • V*, an n×n unitary matrix. V* is the conjugate transpose (take the complex conjugate of all entries, and then perform a transpose operation on the matrix) of V.

The diagonal entries Σi,i of Σ are known as the singular values of M.


Image Compression

The nature of the singular values Σ is such that for a certain k,

s1,1>s2,2>>sk,k>sn,n

In order to transmit a 10x10 monochromatic image with 2 values ("on" or "off") it would require a matrix that has 10x10 = 100 entries. Consider the following image.

This image can be represented by the following matrix.

M=[1111111111111111111111000000111100000011110011001111001100111100000011110000001111111111111111111111]

The singular value decomposition of which is

M=UΣV*,

Where

Σ=[7.55700000000002.97900000000001.42200000000000000000000000000000000000000000000000000000000000000000000000000000]

Using the matrix

Σsm=[7.5570002.9790001.422]

And corresponding "truncated" versions of U and V* (Use only the first three columns of U and the first three columns of V*), we can find that

Msm=[0.9990.9990.9990.9991.0001.0000.9990.9990.9990.9990.9990.9990.9990.9991.0001.0000.9990.9990.9990.9991.0001.0000.0010.0010.0010.0010.0010.0011.0001.0001.0001.0000.0010.0010.0010.0010.0010.0011.0001.0001.0001.0000.0010.0011.0011.0010.0010.0011.0001.0001.0001.0000.0010.0011.0011.0010.0010.0011.0001.0001.0001.0000.0010.0010.0010.0010.0010.0011.0001.0001.0001.0000.0010.0010.0010.0010.0010.0011.0001.0000.9990.9990.9990.9991.0001.0000.9990.9990.9990.9990.9990.9990.9990.9991.0001.0000.9990.9990.9990.999]

A cursory examination of the previous matrix will show that M_{sm} is approximately equal to M. Note that the truncated version of U and V* use 3*10 numbers each. The total number of values needed for this type of storage is 2*30+3 = 63. Which means data usage is reduced by nearly half.

Noise Removal