ENGR 027 Image Compression The Discrete Cosine Transform & JPEG 02/16/17

Size: px
Start display at page:

Download "ENGR 027 Image Compression The Discrete Cosine Transform & JPEG 02/16/17"

Transcription

1 ENGR 027 Image Compression The Discrete Cosine Transform & JPEG 02/16/17

2 Data Compression What is data compression Squeezes out redundancy in order to encode data using fewer bits. Image storage: Consider a 12 Mpixel image on your new smart phone 3,000x4,000 pixels, 3 color channels 8 bit/s per channel 36 Mbyte/picture 32 GB memory => Can store about 900 pictures Image transmission: FIOS is about 56 Mbps = 7 MB/sec About 5 seconds to transmit one 12 Mpixel image 02/16/2017 2

3 Data Compression This is quite phenomenal compared to the state of things in 1986 Disk drives ~500 MB Memory ~4 MB Internet speed was ~56 Kbps Monitors were only 800 x 600 pixels; didn t expect much There were no digital cameras, smart phones HD TV s etc. Image data compression enabled the development of these types of devices. 02/16/2017 3

4 Data Compression Compression Lossless No informaeon is lost Only limited amount of compression possible due to entropy limit Lossy Some informaeon lost Aim is minimum distoreon with maximum bit rate 02/16/2017 4

5 Informa0on Entropy Informaeon entropy Introduced by Claude Shannon at Bell labs A Mathemaecal Theory of Communicaeon, Bell System Technical Journal, 1948 Analogous to staesecal mechanics concept of entropy If symbol (i) occurs with probability p i, the amount of informaeon carried by that symbol is: I i = log 2 1 p i 02/16/2017 5

6 Informa0on Entropy Informaeon entropy Average informaeon entropy per symbol in a message with an alphabet of n symbols is: n H = pilog2 p i= 1 i This sets the absolute minimum for the average number of bits per symbol in a message. Sets limit on how much lossless data compression you can achieve 02/16/2017 6

7 Image Histogram Example: Image histogram: entropy= entropy=0 02/16/2017 7

8 Lossless Compression Example: Previous image histogram looks like you need all 8 bits, but if you subtract adjacent pixels, to reduce correlaeon, you can get the entropy down to about 4 bits/pixel The pracecal limit for lossless image data compression is roughly 2:1 Not so good. 02/16/2017 8

9 Lossy Compression Lossy compression: If you are willing to sacrifice some informaeon, you can get much greater compression raeos How much depends on how much you are willing to sacrifice Rate-distoreon curve 02/16/2017 9

10 Lossy Compression Lossy compression: 02/16/

11 The Origins of JPEG Back to the future where things stood in 1986 There was a need for image compression people were looking at pictures on computers storing images on disk transminng images over the networks (internet just beginning) Maybe someday there would be things like digital cameras, digital radiography, video on demand no way! There were all kinds of methods for compression Huffman coding (lossless) Differeneal Pulse Code Modulaeon (DPCM) Vector Quanezaeon Frequency domain techniques 02/16/

12 The Origins of JPEG Standards: Standards are great. Everyone should have one. The birth of JPEG: Photographic Experts Group formed under: ISO/TC97/SC2 Working Group 8 Coded Representaeon of Picture and Audio Informaeon ISO stands for Internaeonal Standards Organizaeon Objeceve was to be able to send images at a bit rate of 64 Kbs that would be recognizable in one second» progressively improve as more informaeon was transmired. 02/16/

13 The Origins of JPEG Another organizaeon: CCITT (Consultaeve Commiree for Internaeonal Telephony and Telegraphy --- now known as ITU-T; Internaeonal Telecommunicaeons Union) Also interested in new forms of image communicaeons Formed Joint effort with ISO Photographic Experts Group Hence the name Joint Photographic Expert Group JPEG 02/16/

14 The Origins of JPEG This was an internaeonal standards effort Each country has standards organizaeons that parecipate, provide input, vote on whether to adopt a standard, etc. Lots of countries on ad hoc commiree: Canada, Denmark, France, Germany, Israel, Italy, Japan, Republic of Korea, The Neatherlands, United Kingdom, United States Joined by other countries on final votes: China, Czechoslovakia, Switzerland, Iran, Turkey, Yugoslavia, USSR Who do you think the troublemaker was that voted no? 02/16/

15 The Origins of JPEG The US body is ANSI American Naeonal Standards Insetute Formed the ANSI Accredited Standards Commiree X3L3 for image compression Individual companies parecipated: IBM, AT&T, Eastman Kodak, 3M, DuPont, lots of small companies hoping to have inside track for developing compression hardware.» DuPont s interest was digital radiography, since one of their big products was X-ray film. 02/16/

16 The Origins of JPEG Compeeeon for methods in methods proposed Goal was: Recognizable images at bits/pixel Useful images at 0.25 bits/pixel Excellent quality images at 0.75 bits/pixel Indisenguishable from original at 2.25 bits/pixel So, we re talking about compression raeo of about 32:1 for useful images 02/16/

17 The Origins of JPEG Skipping all the gory details: For lossy image compression, an adapeve discrete cosine transform method was chosen A couple of opeons for lossless Huffman coding & Arithmeec coding Other standards as well JBIG Joint Bi-level Experts Group (binary images) MPEG Moving Picture Experts Group New standard: JPEG More on that later 02/16/

18 The Origins of JPEG Standard was issued and approved in 1992 Is JPEG and image format? No At least that was never the inteneon Was only supposed to provide specificaeon for compression, but despite the best efforts of the commiree, most people regard it as image format. 02/16/

19 Overview of JPEG Overview of JPEG JPEG modes of operaeon: Lossless mode (prediceve, entropy coding) Sequeneal mode, DCT-based coding Progressive mode, DCT-based coding Hierarchical mode The Baseline system (what everyone uses now) Sequeneal mode DCT-based coding Huffman coding for entropy encoding 02/16/

20 Overview of JPEG Schemaec of JPEG DCT-Based Encoder/Decoder From arecle by Greg Wallace, IEEE Trans. On Consumer Electronics, /16/

21 Overview of JPEG More details on baseline JPEG encoder: Huffman Table Color components (Y, C b, or C r ) 8 8 FDCT Quantizer AC DC Zig-zag reordering Difference Encoding Huffman coding Huffman coding JPEG bit-stream Quantization Table Huffman Table 02/16/

22 Color Space Conversion Color space conversion JPEG is actually color blind There is no specificaeon for the color space Pracecally speaking, everyone uses luminance and chrominance channels (rather than RGB) Eye is more sensieve to changes in luminance so less compression on this channel Less sensieve to changes in chrominance, so more compression on these channels You can downsample and not loose much informaeon 02/16/

23 Color Space Conversion Color space Color mixing Primary parameters RGB Additive Red, Green, Blue CMYK Subtractive Cyan, Magenta, Yellow, Black YCbCr YPbPr additive Y(luminance), Cb(blue chroma), Cr(red chroma) YUV additive Y(luminance), U(blue chroma), V(red chroma) YIQ additive Y(luminance), I(rotated from U), Q(rotated from V) Used for Printer Video encoding, digital camera Video encoding for NTSC, PAL, SECAM Video encoding for NTSC Pros and cons Easy but wasting bandwidth Works in pigment mixing Bandwidth efficient Bandwidth efficient Bandwidth efficient 02/16/

24 Original image Luminance Chrominance Cb Chrominance Cr 02/16/

25 Color Space Conversion Y R 0 C b G 128 = + C r B 128 (a) translate from RGB to YC b C r R Y G Cb 128 = B Cr 128 (b) translate from YC b C r to RGB 02/16/

26 Color Space Conversion Y I Q = R G B Y R U = G V B 02/16/

27 Color Space Conversion W W W Y H Y H Y H W C b H W C b H W C b H W W W C r H C r H C r H (a) 4:4:4 (b) 4:2:2 (c) 4:2:0 02/16/

28 Step 1: Divide image into 8x8 blocks Next step: Divide image into 8x8 blocks Why? The overall image size can be anything. For JPEG to work on any image, you need to create a uniform block size Could have chosen larger blocks, but at the eme, people were thinking in terms of images on a computer screen which were typically 640x480 pixels! As it turns out, 8x8 is prery good for todays larger images because you can t see block arefacts 02/16/

29 Step 1: Divide image into 8x8 blocks Matrix image taken from Wikipedia.com 02/16/

30 Level shih pixel values (0,255) Level (-128,127) Shift Done on each individual 8x8 block for each color plane 02/16/

31 Discrete Cosine Transform Next step: Discrete Cosine transform for each block This is the heart of the compression method Maps highly correlated input elements into reasonably uncorrelated coefficients There is an ideal way to do this called the Karhunen-Loeve transform (or Hotelling transform) which is closely related to principal component analysis. This transform opemally decorates pixels, however, the transform depends on the data The DCT comes close to this, but is a staec transform 02/16/

32 Discrete Cosine Transform 1-D DCT Why the DCT instead of Discrete Fourier transform? Periodicity of DFT results in disconenuiees that usually occur at the boundaries For DCT, both boundaries are even so always creates conenuous extension at boundaries 4 types of DCT s JPEG uses DCT II 02/16/

33 Discrete Cosine Transform 1-D DCT for length 8 vector: Fk () Ck ( ) 2 7 = n= 0 (2n+ 1) kπ f( n)cos 16 1 C(0) =, C( k) = 1 for k 0 2 f() n 7 = k = 0 (2n+ 1) kπ Ck ( ) 1 Fk ( )cos C(0) =, C( k) = 1 for k f( n) is 1-D sample value Fk ( ) is 1-D DCT value 02/16/

34 Discrete Cosine Transform 2-D DCT for 8x8 block: 7 7 Ck ( ) Cl ( ) (2m+ 1) kπ (2n+ 1) l Fkl (, ) f( mn, )cos cos = m= 0 n= 0 Transform is separable Fast algorithms exist In fact, for 8x8 blocks you can factorize algorithm to make it very fast Note that JPEG doesn t specify how you do the DCT, just that you get the right result 02/16/ π

35 Discrete Cosine Transform What does space versus DCT transform look like for one block? Noece that only a few of the pixels in the transform domain have high amplitude. 02/16/

36 Discrete Cosine Transform Basis vectors (blocks) for 8x8 DCT 02/16/

37 Quan0za0on Next step: Quanezaeon This is where the loss of informaeon occurs You can think of this as something like rounding, but how values are mapped from original (e.g. floaeng point) numbers to quanezed values can be tailored to specific applicaeon For JPEG, different quanezers are used for luminance and chrominance channel Again, JPEG does not specify what quanezers to use But everyone uses the same ones that have been empirically determined to best match the human visual system 02/16/

38 Quan0za0on Quanezaeon Fuv (, ) Fq ( u, v) = Round Quv (, ) /16/

39 Quanezaeon Example F(u,v) 8x8 DCT coefficiences Q(u,v) Quantization matrix 02/16/

40 Quanezaeon Example Fuv (, ) Quv (, ) F ( u, v) = q Fuv (, ) Round Quv (, ) 02/16/

41 Encoding Quan0zed Coefficients Next step: Encoding of the quanezed coefficients AC and DC components are handled differently AC components are re-ordered in a zig-zag scan Many of the AC components will be zero, so you compactly encode long runs of the same value DC components have the average value of the block. If mean value doesn t change much from block to block, difference will be a small number 02/16/

42 Zig-Zag Reordering of AC coefs /16/

43 Difference Encoding of DC coefs Encode : Diff i = DC i - DC i-1 Decode : DC i = DC i-1 + Diff i Diff 1 =DC 1 Diff i-1 = DC i-1 -DC i-2 Diff i = DC i -DC i-1 DC 0 DC 1 DC i-1 DC i 0 block 1 block i-1 block i 02/16/

44 Encoding Quan0zed Coefficients The AC run lengths and DC coefficients are losslessly encoding using a Huffman coder The idea behind Huffman coding is that frequently occurring symbols use a small number of bits, while infrequently occurring symbols use large numbers of bits. 02/16/

45 Final Result of JPEG encoding The end result of all of these processes is a bit stream that contains the encoded image data and all of the informaeon needed to decode the data Quanezaeon tables, Huffman code tables, etc. 02/16/

46 Final Result of JPEG encoding 02/16/

47 JPEG Compression Ar0facts What kind of arefacts will JPEG compression produce? You can see 8x8 blocks if you magnify. 02/16/

48 02/16/

49 02/16/

50 JPEG Compression Ar0facts What kind of arefacts will JPEG compression produce? Not good for images containing text because edges of text may span blocks 02/16/

51 02/16/

52 Lossless JPEG Compression Standard Lossless JPEG There was concern that some imaging applicaeons would not use lossy compression Medical images Liability if radiologist misdiagnosed based on lossy compression arefacts Lossless algorithm does not use DCT DCT is invereble, but rounding could result in some mismatch of original image from reconstructed image 02/16/

53 Lossless JPEG Compression Standard Lossless coding: Subtraceon of adjacent pixels 8 prediceon models for x using various combinaeons of adjacent pixels C A B X For example, predict X from A+B-C, so encode: X [A+B-C] 02/16/

54 Lossless JPEG Compression Standard Lossless coding: Two types of encoders Huffman Arithmeec We talked about Huffman Arithmeec encoding is another entropy encoder Clever method that maps message into a single, binary fraceon between 0 and 1. Berer than Huffman coding, but probably everyone uses Huffman although actually, no one uses lossless JPEG! 02/16/

55 Wavelets About same eme as JPEG was started, a revolueon in frequency-domain analysis Wavelets 02/16/

56 Wavelets There is a new version of JPEG JPEG 2000 Uses the wavelet transform Technically superior, but very few people use it 02/16/

57 02/16/

58 Time-frequency transforms Another look at the Fourier Transform + jωt X( ω) = F [ x( t)] = x( t) e dt (Analysis Equation) jωt ( ) = F [ ( ω)] = ( ω) ω (Synthesis Equation) xt X X e d 2π Time Frequency Equivalent representation in terms of information in a signal In order to find content of signal at one frequency, you must integrate over all times. In order to find content of signal at one time, you must integrate over all frequencies.

59 Time-frequency transforms More general view of signal transforms: + X( ω) = x( t) ψ( ω, t) dt (Transform from t-domain to ω-domain) + xt ( ) = X( ωψ ) ( ω, td ) ω (Inverse transform from ω-domain to t-domain) Transformation kernel jωt 1 ψω (, t) = e ψω (, t) = e 2π + jωt Equivalently sines and cosines. Not localized in time.

60 Time-frequency transforms For interesting signals, frequency content changes with time. Music is a good example log(freq) So is an ECG stress test time

61 Time-frequency transforms If you take the Fourier transform of a signal, all time information is lost Waveform Time (Seconds)

62 Time-frequency transforms Information on both time and frequency What does time-frequency display look like? Spectrogram Frequency (HZ) Time (Seconds) SKC-2009

63 Time-frequency transforms How would you get this type of information? One way is the short-time Fourier transform (STFT) Windowing function: + iωt X( τω, ) = x( t) W( t τ) e dt Estimates the amplitude of the sinusoid with frequency ω around the time τ The windowing function should have local support. A good choice is the Gaussian (Gabor window) 1 W (t τ ) = e 2 2πσ ( t τ ) 2 2σ 2

64 Time-frequency transforms Gaussian window is optimal for time and frequency localization. Achieves the equality condition in time-frequency localization inequality: ( t)( ω) Δ Δ 1 2 But shortcoming is that that window size is fixed. You have to pick your resolution and stick with it.

65 Time-frequency transforms You can have good resolution in time or good resolution in frequency, but you can t have both. x( t) F F 0 good localization in time... t t o t t o or F good localization in freq. F 0 t o t

66 Can you do beqer than using a fixed window? Imagine many windows; with different resolutions in time and frequency Multiresolution analysis The wavelet transform decomposes a signal into representations at multiple resolutions using a basis function that is scaled and translated 1 t ψs, τ (t) ψ τ = s s

67 Wavelet Transform A bit of history Fourier Transform (~1807) Jean Baptiste Joseph Fourier Gabor Transform (STFT) (1946) Dennis Gabor Fast Fourier Transform (FFT) (1965) Cooley & Tukey Wavelets sort of crept in from many directions First wavelet was Haar function (1909), but not called that Math Physics (Quantum mechanics) Engineering (sub-band coding) All these disparate notions came together in mid 80 s and unified into what we know today as wavelets Term was coined by Jean Morlet (working for Elf-Aquitaine, oil company)

68 Wavelet Transform The wavelet transform (continuous case) 1 x τ X(s, τ) = x( t) ψ dt s s 1 1 x τ xt ( ) = X( s, τψ ) dτds 2 Cψ s s 1 2 Cψ = 2π ψ ( ξ) dξ ξ But, what is ψ? That is the great thing it can be almost any function as long as it is zero mean and square integrable: ( ) dξ = 0 ψ ξ

69 Wavelet Transform Wavelet transform does not have to be orthogonal, but from a signal processing perspective, it s nice if it is. What are some real wavelets. Wavelets that scale by factors of two and shift to cover interval in even steps: Orthogonal wavelet Discrete wavelet transform

70 Wavelet Transform The discrete wavelet transform for a time signal Forward transform cn ( ) = xt ( ) φ ( tdt ) k 2 k ( ) ( )2 ψ 2 Signal reconstruction n k ( ) d n = x t t n dt k 2 () ( ) φ( ) k ( )2 ψ 2 n n k k ( ) xt = cn t n + d n t n ψ is the wavelet, φ is the scaling (father wavelet) function

71 Wavelet Transform Also discrete wavelet transform (discrete sequence) Forward transform k + 1 k( ) = ( ) k(2 ) 0-2 m= y n x m h n m k M M 1 M 1( ) = ( ) M 1(2 ) m= y n x m h n m Signal reconstruction k + 1 k( ) = ( ) k(2 ) 0-2 m= y n x m h n m k M M 1 M 1( ) = ( ) M 1(2 ) m= y n x m h n m

72 Wavelet Transform What do some common wavelets look like? (Continuous) Meyer wavelet

73 Wavelet Transform What do some common wavelets look like? (Continuous) Morlet wavelet

74 Wavelet Transform What do some common wavelets look like? (Continuous) Mexican hat wavelet

75 Wavelet Transform What do some common wavelets look like? (Discrete) Daubechies (D4)

76 Wavelet Transform What do some common wavelets look like? (Discrete) Haar wavelet

77 Wavelet Transform Multiresolution analysis Scaling functions Signals can be represented as: xt () = aφ( t k) where φ is a scaling function k k At infinitesimal scale, φ is the δ-function Imagine a function space at a coarser resolution φ could be something like a pulse of a certain width that averages over the signal in that pulse In fact, this is the Haar wavelet scaling function

78 Wavelet Transform You can increase the resolution by changing the time scale xt () = aφ(2 t k) doubles the resolution. k k Another way to think of this as that the space itself has a certain resolution You can represent a coarse function in a low resolution space You can represent functions that have more detail in a higher resolution space, and so on. A space that contains a high resolution version of the signal would also contain those with lower resolution. A multiresolution representation of a signal would be it s representation in a nested set of subspaces

79 Mul0resolu0on analysis L V k V V V V V L L V k+ 1 V = {0}, V = L 2 2 φ k ( t n) k/2 kn, = 2 φ 2 are the basis functions of these spaces. For a signal represented at some level of resolution k, x ( t) V k ( ) x ( t) V x ( t) = a φ 2 t n k k k k n k k

80 Mul0resolu0on analysis Rather than creating a multiresolution analysis from the scaling functions, you can add the detail from the differences between the spaces. Call the orthogonal complement of V k in V k+1 W k The W s are wavelet spaces. Form the next higher resolution space from: V = V W V = V W W L V0 W0 W1 = L You don t necessarily have to start from V 0 You can start from any resolution level you wish: 2 L V10 W10 W11 or = L 2 L V 5 W 5 W 4 = L

81 Mul0resolu0on analysis Using the basis functions in these vector spaces spanned by the scaling basis functions and the wavelet basis functions, any square integrable function x(t) can be represented as: 2 L V0 W0 W1 xt = L 2 ( ) L (Square integrable functions) k 2 () ( ) φ( ) ( ) φ( ) k ( )2 ψ 2 n= n n k c( n) = x(t), φ ( t) = x( t) φ ( t) dt n d ( n) = x(t), ψ ( t) = x( t) ψ ( t) dt k k, n k, n n k ( ) xt = cn t n cn t n + d n t n

82 Mul0resolu0on analysis More generally, if you start at some other resolution level k 0 which sets the coarsest scale for the space spanned by φ k0,n (t) 2 L Vk0 Wk0 Wk0+ 1 xt 2 ( ) L (Square integrable functions) k k, n k, n k k, n k, n k 2 k kn, () t = 2 φ(2 t n) k 0 2 k0 2 0 k ( ) xt () = c ( n)2 φ(2 t n) + d( n)2 ψ 2t n k0 n= n k= k c ( n) = x(t), φ ( t) = x( t) φ ( t) dt d ( n) = x(t), ψ ( t) = x( t) ψ ( t) dt φ = L k 2, () 2 ψ 2 k ( ) ψ t = t n kn k k

83 Wavelet Transform Why is the wavelet analysis effective? For a large class of signals, the wavelet coefficients a k,n drop off rapidly with k and n. Means that by eliminating small ones, you make the representation of the signal sparser. Useful for compression, denoising, and feature extraction for classification Allows a more accurate local representation of signal. Wavelet coefficients correspond to local-in-time features at different scales Wavelet basis is adjustable and adaptable. There is not just one wavelet possible (unlike Fourier basis) Calculation of wavelet transform can be very efficient With orthogonal discrete wavelets, can be O(N) compared to O(NlogN) for FFT

84 Summary as to wavelets are so useful They can represent smooth functions They can represent discontinuities The basis functions are local. Good for nonstationary signals Nonlinear thresholding near optimal for denoising Truncation of coefficient vector is near optimal for data compression

85 Some wavelets Scales and locations

86 Some wavelets Daubechies Father & Mother wavelets

87 Wavelet transform coefficients 1024 samples only 32 non-vanishing WT coefs.

88 Frequency content

89 Frequency content

90 2-D Wavelets (s0ck figure at different levels)

91 2-D Wavelets (s0ck figure at different levels)

92 Progressive transmission of image

93 Progressive transmission of image

94 Progressive transmission of image

95 Progressive transmission of image Reconstructed from 5% of wavelet coefs.

96 Progressive transmission of image Reconstructed from 5% of wavelet coefs.

Multimedia Networking ECE 599

Multimedia Networking ECE 599 Multimedia Networking ECE 599 Prof. Thinh Nguyen School of Electrical Engineering and Computer Science Based on lectures from B. Lee, B. Girod, and A. Mukherjee 1 Outline Digital Signal Representation

More information

Image Data Compression

Image Data Compression Image Data Compression Image data compression is important for - image archiving e.g. satellite data - image transmission e.g. web data - multimedia applications e.g. desk-top editing Image data compression

More information

encoding without prediction) (Server) Quantization: Initial Data 0, 1, 2, Quantized Data 0, 1, 2, 3, 4, 8, 16, 32, 64, 128, 256

encoding without prediction) (Server) Quantization: Initial Data 0, 1, 2, Quantized Data 0, 1, 2, 3, 4, 8, 16, 32, 64, 128, 256 General Models for Compression / Decompression -they apply to symbols data, text, and to image but not video 1. Simplest model (Lossless ( encoding without prediction) (server) Signal Encode Transmit (client)

More information

Image Compression. Fundamentals: Coding redundancy. The gray level histogram of an image can reveal a great deal of information about the image

Image Compression. Fundamentals: Coding redundancy. The gray level histogram of an image can reveal a great deal of information about the image Fundamentals: Coding redundancy The gray level histogram of an image can reveal a great deal of information about the image That probability (frequency) of occurrence of gray level r k is p(r k ), p n

More information

Image Compression - JPEG

Image Compression - JPEG Overview of JPEG CpSc 86: Multimedia Systems and Applications Image Compression - JPEG What is JPEG? "Joint Photographic Expert Group". Voted as international standard in 99. Works with colour and greyscale

More information

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

Objective: Reduction of data redundancy. Coding redundancy Interpixel redundancy Psychovisual redundancy Fall LIST 2 Image Compression Objective: Reduction of data redundancy Coding redundancy Interpixel redundancy Psychovisual redundancy 20-Fall LIST 2 Method: Coding Redundancy Variable-Length Coding Interpixel Redundancy

More information

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

IMAGE COMPRESSION-II. Week IX. 03/6/2003 Image Compression-II 1 IMAGE COMPRESSION-II Week IX 3/6/23 Image Compression-II 1 IMAGE COMPRESSION Data redundancy Self-information and Entropy Error-free and lossy compression Huffman coding Predictive coding Transform coding

More information

Real-Time Audio and Video

Real-Time Audio and Video MM- Multimedia Payloads MM-2 Raw Audio (uncompressed audio) Real-Time Audio and Video Telephony: Speech signal: 2 Hz 3.4 khz! 4 khz PCM (Pulse Coded Modulation)! samples/sec x bits = 64 kbps Teleconferencing:

More information

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

SYDE 575: Introduction to Image Processing. Image Compression Part 2: Variable-rate compression SYDE 575: Introduction to Image Processing Image Compression Part 2: Variable-rate compression Variable-rate Compression: Transform-based compression As mentioned earlier, we wish to transform image data

More information

CSE 408 Multimedia Information System Yezhou Yang

CSE 408 Multimedia Information System Yezhou Yang Image and Video Compression CSE 408 Multimedia Information System Yezhou Yang Lots of slides from Hassan Mansour Class plan Today: Project 2 roundup Today: Image and Video compression Nov 10: final project

More information

Basic Principles of Video Coding

Basic Principles of Video Coding Basic Principles of Video Coding Introduction Categories of Video Coding Schemes Information Theory Overview of Video Coding Techniques Predictive coding Transform coding Quantization Entropy coding Motion

More information

Compression. What. Why. Reduce the amount of information (bits) needed to represent image Video: 720 x 480 res, 30 fps, color

Compression. What. Why. Reduce the amount of information (bits) needed to represent image Video: 720 x 480 res, 30 fps, color Compression What Reduce the amount of information (bits) needed to represent image Video: 720 x 480 res, 30 fps, color Why 720x480x20x3 = 31,104,000 bytes/sec 30x60x120 = 216 Gigabytes for a 2 hour movie

More information

Wavelets, Filter Banks and Multiresolution Signal Processing

Wavelets, Filter Banks and Multiresolution Signal Processing Wavelets, Filter Banks and Multiresolution Signal Processing It is with logic that one proves; it is with intuition that one invents. Henri Poincaré Introduction - 1 A bit of history: from Fourier to Haar

More information

L. Yaroslavsky. Fundamentals of Digital Image Processing. Course

L. Yaroslavsky. Fundamentals of Digital Image Processing. Course L. Yaroslavsky. Fundamentals of Digital Image Processing. Course 0555.330 Lec. 6. Principles of image coding The term image coding or image compression refers to processing image digital data aimed at

More information

Compression. Encryption. Decryption. Decompression. Presentation of Information to client site

Compression. Encryption. Decryption. Decompression. Presentation of Information to client site DOCUMENT Anup Basu Audio Image Video Data Graphics Objectives Compression Encryption Network Communications Decryption Decompression Client site Presentation of Information to client site Multimedia -

More information

IMAGE COMPRESSION IMAGE COMPRESSION-II. Coding Redundancy (contd.) Data Redundancy. Predictive coding. General Model

IMAGE COMPRESSION IMAGE COMPRESSION-II. Coding Redundancy (contd.) Data Redundancy. Predictive coding. General Model IMAGE COMRESSIO IMAGE COMRESSIO-II Data redundancy Self-information and Entropy Error-free and lossy compression Huffman coding redictive coding Transform coding Week IX 3/6/23 Image Compression-II 3/6/23

More information

Image Compression. Qiaoyong Zhong. November 19, CAS-MPG Partner Institute for Computational Biology (PICB)

Image Compression. Qiaoyong Zhong. November 19, CAS-MPG Partner Institute for Computational Biology (PICB) Image Compression Qiaoyong Zhong CAS-MPG Partner Institute for Computational Biology (PICB) November 19, 2012 1 / 53 Image Compression The art and science of reducing the amount of data required to represent

More information

4. Quantization and Data Compression. ECE 302 Spring 2012 Purdue University, School of ECE Prof. Ilya Pollak

4. Quantization and Data Compression. ECE 302 Spring 2012 Purdue University, School of ECE Prof. Ilya Pollak 4. Quantization and Data Compression ECE 32 Spring 22 Purdue University, School of ECE Prof. What is data compression? Reducing the file size without compromising the quality of the data stored in the

More information

Basics of DCT, Quantization and Entropy Coding

Basics of DCT, Quantization and Entropy Coding Basics of DCT, Quantization and Entropy Coding Nimrod Peleg Update: April. 7 Discrete Cosine Transform (DCT) First used in 97 (Ahmed, Natarajan and Rao). Very close to the Karunen-Loeve * (KLT) transform

More information

Lecture 2: Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments

Lecture 2: Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments Lecture 2: Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments Dr. Jian Zhang Conjoint Associate Professor NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2006 jzhang@cse.unsw.edu.au

More information

6.003: Signals and Systems. Sampling and Quantization

6.003: Signals and Systems. Sampling and Quantization 6.003: Signals and Systems Sampling and Quantization December 1, 2009 Last Time: Sampling and Reconstruction Uniform sampling (sampling interval T ): x[n] = x(nt ) t n Impulse reconstruction: x p (t) =

More information

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

Introduction p. 1 Compression Techniques p. 3 Lossless Compression p. 4 Lossy Compression p. 5 Measures of Performance p. 5 Modeling and Coding p. Preface p. xvii Introduction p. 1 Compression Techniques p. 3 Lossless Compression p. 4 Lossy Compression p. 5 Measures of Performance p. 5 Modeling and Coding p. 6 Summary p. 10 Projects and Problems

More information

Lecture 2: Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments. Tutorial 1. Acknowledgement and References for lectures 1 to 5

Lecture 2: Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments. Tutorial 1. Acknowledgement and References for lectures 1 to 5 Lecture : Introduction to Audio, Video & Image Coding Techniques (I) -- Fundaments Dr. Jian Zhang Conjoint Associate Professor NICTA & CSE UNSW COMP959 Multimedia Systems S 006 jzhang@cse.unsw.edu.au Acknowledgement

More information

BASICS OF COMPRESSION THEORY

BASICS OF COMPRESSION THEORY BASICS OF COMPRESSION THEORY Why Compression? Task: storage and transport of multimedia information. E.g.: non-interlaced HDTV: 0x0x0x = Mb/s!! Solutions: Develop technologies for higher bandwidth Find

More information

! Where are we on course map? ! What we did in lab last week. " How it relates to this week. ! Compression. " What is it, examples, classifications

! Where are we on course map? ! What we did in lab last week.  How it relates to this week. ! Compression.  What is it, examples, classifications Lecture #3 Compression! Where are we on course map?! What we did in lab last week " How it relates to this week! Compression " What is it, examples, classifications " Probability based compression # Huffman

More information

Intelligent Visual Prosthesis

Intelligent Visual Prosthesis Orientation sensor (IMU) Intelligent Visual Prosthesis Depth image-based obstacle detection Depth camera Wideangle RGB camera Simultaneous object recognition, localization, and hand tracking New projects:

More information

Digital Image Processing

Digital Image Processing Digital Image Processing, 2nd ed. Digital Image Processing Chapter 7 Wavelets and Multiresolution Processing Dr. Kai Shuang Department of Electronic Engineering China University of Petroleum shuangkai@cup.edu.cn

More information

Transform Coding. Transform Coding Principle

Transform Coding. Transform Coding Principle Transform Coding Principle of block-wise transform coding Properties of orthonormal transforms Discrete cosine transform (DCT) Bit allocation for transform coefficients Entropy coding of transform coefficients

More information

Wavelet Scalable Video Codec Part 1: image compression by JPEG2000

Wavelet Scalable Video Codec Part 1: image compression by JPEG2000 1 Wavelet Scalable Video Codec Part 1: image compression by JPEG2000 Aline Roumy aline.roumy@inria.fr May 2011 2 Motivation for Video Compression Digital video studio standard ITU-R Rec. 601 Y luminance

More information

Overview. Analog capturing device (camera, microphone) PCM encoded or raw signal ( wav, bmp, ) A/D CONVERTER. Compressed bit stream (mp3, jpg, )

Overview. Analog capturing device (camera, microphone) PCM encoded or raw signal ( wav, bmp, ) A/D CONVERTER. Compressed bit stream (mp3, jpg, ) Overview Analog capturing device (camera, microphone) Sampling Fine Quantization A/D CONVERTER PCM encoded or raw signal ( wav, bmp, ) Transform Quantizer VLC encoding Compressed bit stream (mp3, jpg,

More information

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

Introduction to Wavelet. Based on A. Mukherjee s lecture notes Introduction to Wavelet Based on A. Mukherjee s lecture notes Contents History of Wavelet Problems of Fourier Transform Uncertainty Principle The Short-time Fourier Transform Continuous Wavelet Transform

More information

Multimedia Information Systems

Multimedia Information Systems Multimedia Information Systems Samson Cheung EE 639, Fall 2004 Lecture 3 & 4: Color, Video, and Fundamentals of Data Compression 1 Color Science Light is an electromagnetic wave. Its color is characterized

More information

Multiscale Image Transforms

Multiscale Image Transforms Multiscale Image Transforms Goal: Develop filter-based representations to decompose images into component parts, to extract features/structures of interest, and to attenuate noise. Motivation: extract

More information

Multimedia & Computer Visualization. Exercise #5. JPEG compression

Multimedia & Computer Visualization. Exercise #5. JPEG compression dr inż. Jacek Jarnicki, dr inż. Marek Woda Institute of Computer Engineering, Control and Robotics Wroclaw University of Technology {jacek.jarnicki, marek.woda}@pwr.wroc.pl Exercise #5 JPEG compression

More information

Waveform-Based Coding: Outline

Waveform-Based Coding: Outline Waveform-Based Coding: Transform and Predictive Coding Yao Wang Polytechnic University, Brooklyn, NY11201 http://eeweb.poly.edu/~yao Based on: Y. Wang, J. Ostermann, and Y.-Q. Zhang, Video Processing and

More information

Introduction to Video Compression H.261

Introduction to Video Compression H.261 Introduction to Video Compression H.6 Dirk Farin, Contact address: Dirk Farin University of Mannheim Dept. Computer Science IV L 5,6, 683 Mannheim, Germany farin@uni-mannheim.de D.F. YUV-Colorspace Computer

More information

Proyecto final de carrera

Proyecto final de carrera UPC-ETSETB Proyecto final de carrera A comparison of scalar and vector quantization of wavelet decomposed images Author : Albane Delos Adviser: Luis Torres 2 P a g e Table of contents Table of figures...

More information

Digital communication system. Shannon s separation principle

Digital communication system. Shannon s separation principle Digital communication system Representation of the source signal by a stream of (binary) symbols Adaptation to the properties of the transmission channel information source source coder channel coder modulation

More information

Compressing a 1D Discrete Signal

Compressing a 1D Discrete Signal Compressing a D Discrete Signal Divide the signal into 8blocks. Subtract the sample mean from each value. Compute the 8 8covariancematrixforthe blocks. Compute the eigenvectors of the covariance matrix.

More information

ESE 250: Digital Audio Basics. Week 4 February 5, The Frequency Domain. ESE Spring'13 DeHon, Kod, Kadric, Wilson-Shah

ESE 250: Digital Audio Basics. Week 4 February 5, The Frequency Domain. ESE Spring'13 DeHon, Kod, Kadric, Wilson-Shah ESE 250: Digital Audio Basics Week 4 February 5, 2013 The Frequency Domain 1 Course Map 2 Musical Representation With this compact notation Could communicate a sound to pianist Much more compact than 44KHz

More information

Wavelets and Multiresolution Processing

Wavelets and Multiresolution Processing Wavelets and Multiresolution Processing Wavelets Fourier transform has it basis functions in sinusoids Wavelets based on small waves of varying frequency and limited duration In addition to frequency,

More information

JPEG and JPEG2000 Image Coding Standards

JPEG and JPEG2000 Image Coding Standards JPEG and JPEG2000 Image Coding Standards Yu Hen Hu Outline Transform-based Image and Video Coding Linear Transformation DCT Quantization Scalar Quantization Vector Quantization Entropy Coding Discrete

More information

Basics of DCT, Quantization and Entropy Coding. Nimrod Peleg Update: Dec. 2005

Basics of DCT, Quantization and Entropy Coding. Nimrod Peleg Update: Dec. 2005 Basics of DCT, Quantization and Entropy Coding Nimrod Peleg Update: Dec. 2005 Discrete Cosine Transform (DCT) First used in 974 (Ahmed, Natarajan and Rao). Very close to the Karunen-Loeve * (KLT) transform

More information

Information and Entropy

Information and Entropy Information and Entropy Shannon s Separation Principle Source Coding Principles Entropy Variable Length Codes Huffman Codes Joint Sources Arithmetic Codes Adaptive Codes Thomas Wiegand: Digital Image Communication

More information

UNIT I INFORMATION THEORY. I k log 2

UNIT I INFORMATION THEORY. I k log 2 UNIT I INFORMATION THEORY Claude Shannon 1916-2001 Creator of Information Theory, lays the foundation for implementing logic in digital circuits as part of his Masters Thesis! (1939) and published a paper

More information

2018/5/3. YU Xiangyu

2018/5/3. YU Xiangyu 2018/5/3 YU Xiangyu yuxy@scut.edu.cn Entropy Huffman Code Entropy of Discrete Source Definition of entropy: If an information source X can generate n different messages x 1, x 2,, x i,, x n, then the

More information

Compressing a 1D Discrete Signal

Compressing a 1D Discrete Signal Compressing a D Discrete Signal Divide the signal into 8blocks. Subtract the sample mean from each value. Compute the 8 8covariancematrixforthe blocks. Compute the eigenvectors of the covariance matrix.

More information

Number Representation and Waveform Quantization

Number Representation and Waveform Quantization 1 Number Representation and Waveform Quantization 1 Introduction This lab presents two important concepts for working with digital signals. The first section discusses how numbers are stored in memory.

More information

Wavelets and Image Compression. Bradley J. Lucier

Wavelets and Image Compression. Bradley J. Lucier Wavelets and Image Compression Bradley J. Lucier Abstract. In this paper we present certain results about the compression of images using wavelets. We concentrate on the simplest case of the Haar decomposition

More information

Inverse Problems in Image Processing

Inverse Problems in Image Processing H D Inverse Problems in Image Processing Ramesh Neelamani (Neelsh) Committee: Profs. R. Baraniuk, R. Nowak, M. Orchard, S. Cox June 2003 Inverse Problems Data estimation from inadequate/noisy observations

More information

Transform coding - topics. Principle of block-wise transform coding

Transform coding - topics. Principle of block-wise transform coding Transform coding - topics Principle of block-wise transform coding Properties of orthonormal transforms Discrete cosine transform (DCT) Bit allocation for transform Threshold coding Typical coding artifacts

More information

Multimedia communications

Multimedia communications Multimedia communications Comunicazione multimediale G. Menegaz gloria.menegaz@univr.it Prologue Context Context Scale Scale Scale Course overview Goal The course is about wavelets and multiresolution

More information

Fast Fourier Transform

Fast Fourier Transform Fast Fourier Transform December 8, 2016 FFT JPEG RGB Y C B C R (luma (brightness), chroma 2 (color)) chroma resolution is reduced image is split in blocks 8 8 pixels JPEG RGB Y C B C R (luma (brightness),

More information

Reduce the amount of data required to represent a given quantity of information Data vs information R = 1 1 C

Reduce the amount of data required to represent a given quantity of information Data vs information R = 1 1 C Image Compression Background Reduce the amount of data to represent a digital image Storage and transmission Consider the live streaming of a movie at standard definition video A color frame is 720 480

More information

Wavelets in Image Compression

Wavelets in Image Compression Wavelets in Image Compression M. Victor WICKERHAUSER Washington University in St. Louis, Missouri victor@math.wustl.edu http://www.math.wustl.edu/~victor THEORY AND APPLICATIONS OF WAVELETS A Workshop

More information

on a per-coecient basis in large images is computationally expensive. Further, the algorithm in [CR95] needs to be rerun, every time a new rate of com

on a per-coecient basis in large images is computationally expensive. Further, the algorithm in [CR95] needs to be rerun, every time a new rate of com Extending RD-OPT with Global Thresholding for JPEG Optimization Viresh Ratnakar University of Wisconsin-Madison Computer Sciences Department Madison, WI 53706 Phone: (608) 262-6627 Email: ratnakar@cs.wisc.edu

More information

Image and Multidimensional Signal Processing

Image and Multidimensional Signal Processing Image and Multidimensional Signal Processing Professor William Hoff Dept of Electrical Engineering &Computer Science http://inside.mines.edu/~whoff/ Image Compression 2 Image Compression Goal: Reduce amount

More information

Ch. 15 Wavelet-Based Compression

Ch. 15 Wavelet-Based Compression Ch. 15 Wavelet-Based Compression 1 Origins and Applications The Wavelet Transform (WT) is a signal processing tool that is replacing the Fourier Transform (FT) in many (but not all!) applications. WT theory

More information

Department of Electrical Engineering, Polytechnic University, Brooklyn Fall 05 EL DIGITAL IMAGE PROCESSING (I) Final Exam 1/5/06, 1PM-4PM

Department of Electrical Engineering, Polytechnic University, Brooklyn Fall 05 EL DIGITAL IMAGE PROCESSING (I) Final Exam 1/5/06, 1PM-4PM Department of Electrical Engineering, Polytechnic University, Brooklyn Fall 05 EL512 --- DIGITAL IMAGE PROCESSING (I) Y. Wang Final Exam 1/5/06, 1PM-4PM Your Name: ID Number: Closed book. One sheet of

More information

1 Introduction to Wavelet Analysis

1 Introduction to Wavelet Analysis Jim Lambers ENERGY 281 Spring Quarter 2007-08 Lecture 9 Notes 1 Introduction to Wavelet Analysis Wavelets were developed in the 80 s and 90 s as an alternative to Fourier analysis of signals. Some of the

More information

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

INTRODUCTION TO. Adapted from CS474/674 Prof. George Bebis Department of Computer Science & Engineering University of Nevada (UNR) INTRODUCTION TO WAVELETS Adapted from CS474/674 Prof. George Bebis Department of Computer Science & Engineering University of Nevada (UNR) CRITICISM OF FOURIER SPECTRUM It gives us the spectrum of the

More information

Sparse linear models

Sparse linear models Sparse linear models Optimization-Based Data Analysis http://www.cims.nyu.edu/~cfgranda/pages/obda_spring16 Carlos Fernandez-Granda 2/22/2016 Introduction Linear transforms Frequency representation Short-time

More information

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 41 Pulse Code Modulation (PCM) So, if you remember we have been talking

More information

Lecture Notes 5: Multiresolution Analysis

Lecture Notes 5: Multiresolution Analysis Optimization-based data analysis Fall 2017 Lecture Notes 5: Multiresolution Analysis 1 Frames A frame is a generalization of an orthonormal basis. The inner products between the vectors in a frame and

More information

Information and Entropy. Professor Kevin Gold

Information and Entropy. Professor Kevin Gold Information and Entropy Professor Kevin Gold What s Information? Informally, when I communicate a message to you, that s information. Your grade is 100/100 Information can be encoded as a signal. Words

More information

CSCI 1290: Comp Photo

CSCI 1290: Comp Photo CSCI 1290: Comp Photo Fall 2018 @ Brown University James Tompkin Many slides thanks to James Hays old CS 129 course, along with all of its acknowledgements. Capture Frequency - Rolling `Shutter James

More information

6. H.261 Video Coding Standard

6. H.261 Video Coding Standard 6. H.261 Video Coding Standard ITU-T (formerly CCITT) H-Series of Recommendations 1. H.221 - Frame structure for a 64 to 1920 kbits/s channel in audiovisual teleservices 2. H.230 - Frame synchronous control

More information

Compression methods: the 1 st generation

Compression methods: the 1 st generation Compression methods: the 1 st generation 1998-2017 Josef Pelikán CGG MFF UK Praha pepca@cgg.mff.cuni.cz http://cgg.mff.cuni.cz/~pepca/ Still1g 2017 Josef Pelikán, http://cgg.mff.cuni.cz/~pepca 1 / 32 Basic

More information

Analysis of Fractals, Image Compression and Entropy Encoding

Analysis of Fractals, Image Compression and Entropy Encoding 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,

More information

Medical Image Processing Using Transforms

Medical Image Processing Using Transforms Medical Image Processing Using Transforms Hongmei Zhu, Ph.D Department of Mathematics & Statistics York University hmzhu@yorku.ca MRcenter.ca Outline Image Quality Gray value transforms Histogram processing

More information

WAVELET TRANSFORMS IN TIME SERIES ANALYSIS

WAVELET TRANSFORMS IN TIME SERIES ANALYSIS WAVELET TRANSFORMS IN TIME SERIES ANALYSIS R.C. SINGH 1 Abstract The existing methods based on statistical techniques for long range forecasts of Indian summer monsoon rainfall have shown reasonably accurate

More information

ECE533 Digital Image Processing. Embedded Zerotree Wavelet Image Codec

ECE533 Digital Image Processing. Embedded Zerotree Wavelet Image Codec University of Wisconsin Madison Electrical Computer Engineering ECE533 Digital Image Processing Embedded Zerotree Wavelet Image Codec Team members Hongyu Sun Yi Zhang December 12, 2003 Table of Contents

More information

EE67I Multimedia Communication Systems

EE67I Multimedia Communication Systems EE67I Multimedia Communication Systems Lecture 5: LOSSY COMPRESSION In these schemes, we tradeoff error for bitrate leading to distortion. Lossy compression represents a close approximation of an original

More information

Wavelets & Mul,resolu,on Analysis

Wavelets & Mul,resolu,on Analysis Wavelets & Mul,resolu,on Analysis Square Wave by Steve Hanov More comics at http://gandolf.homelinux.org/~smhanov/comics/ Problem set #4 will be posted tonight 11/21/08 Comp 665 Wavelets & Mul8resolu8on

More information

Multiresolution image processing

Multiresolution image processing 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

More information

Objectives of Image Coding

Objectives of Image Coding Objectives of Image Coding Representation of an image with acceptable quality, using as small a number of bits as possible Applications: Reduction of channel bandwidth for image transmission Reduction

More information

CS 4495 Computer Vision. Frequency and Fourier Transforms. Aaron Bobick School of Interactive Computing. Frequency and Fourier Transform

CS 4495 Computer Vision. Frequency and Fourier Transforms. Aaron Bobick School of Interactive Computing. Frequency and Fourier Transform CS 4495 Computer Vision Frequency and Fourier Transforms Aaron Bobick School of Interactive Computing Administrivia Project 1 is (still) on line get started now! Readings for this week: FP Chapter 4 (which

More information

Multiresolution Analysis

Multiresolution Analysis Multiresolution Analysis DS-GA 1013 / MATH-GA 2824 Optimization-based Data Analysis http://www.cims.nyu.edu/~cfgranda/pages/obda_fall17/index.html Carlos Fernandez-Granda Frames Short-time Fourier transform

More information

Fault Tolerance Technique in Huffman Coding applies to Baseline JPEG

Fault Tolerance Technique in Huffman Coding applies to Baseline JPEG Fault Tolerance Technique in Huffman Coding applies to Baseline JPEG Cung Nguyen and Robert G. Redinbo Department of Electrical and Computer Engineering University of California, Davis, CA email: cunguyen,

More information

Image compression. Institute of Engineering & Technology, Ahmedabad University. October 20, 2015

Image compression. Institute of Engineering & Technology, Ahmedabad University. October 20, 2015 Image compression Rahul Patel (121040) rahul.patel@iet.ahduni.edu.in Shashwat Sanghavi (121049) shashwat.sanghavi@iet.ahduni.edu.in Institute of Engineering & Technology, Ahmedabad University October 20,

More information

Jean Morlet and the Continuous Wavelet Transform

Jean Morlet and the Continuous Wavelet Transform Jean Brian Russell and Jiajun Han Hampson-Russell, A CGG GeoSoftware Company, Calgary, Alberta, brian.russell@cgg.com ABSTRACT Jean Morlet was a French geophysicist who used an intuitive approach, based

More information

Compression. Reality Check 11 on page 527 explores implementation of the MDCT into a simple, working algorithm to compress audio.

Compression. Reality Check 11 on page 527 explores implementation of the MDCT into a simple, working algorithm to compress audio. C H A P T E R 11 Compression The increasingly rapid movement of information around the world relies on ingenious methods of data representation, which are in turn made possible by orthogonal transformations.the

More information

Midterm Summary Fall 08. Yao Wang Polytechnic University, Brooklyn, NY 11201

Midterm Summary Fall 08. Yao Wang Polytechnic University, Brooklyn, NY 11201 Midterm Summary Fall 8 Yao Wang Polytechnic University, Brooklyn, NY 2 Components in Digital Image Processing Output are images Input Image Color Color image image processing Image Image restoration Image

More information

Analysis of Rate-distortion Functions and Congestion Control in Scalable Internet Video Streaming

Analysis of Rate-distortion Functions and Congestion Control in Scalable Internet Video Streaming Analysis of Rate-distortion Functions and Congestion Control in Scalable Internet Video Streaming Min Dai Electrical Engineering, Texas A&M University Dmitri Loguinov Computer Science, Texas A&M University

More information

Compression and Coding

Compression and Coding Compression and Coding Theory and Applications Part 1: Fundamentals Gloria Menegaz 1 Transmitter (Encoder) What is the problem? Receiver (Decoder) Transformation information unit Channel Ordering (significance)

More information

Entropy Encoding Using Karhunen-Loève Transform

Entropy Encoding Using Karhunen-Loève Transform Entropy Encoding Using Karhunen-Loève Transform Myung-Sin Song Southern Illinois University Edwardsville Sept 17, 2007 Joint work with Palle Jorgensen. Introduction In most images their neighboring pixels

More information

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

Wavelet Transform. Figure 1: Non stationary signal f(t) = sin(100 t 2 ). Wavelet Transform Andreas Wichert Department of Informatics INESC-ID / IST - University of Lisboa Portugal andreas.wichert@tecnico.ulisboa.pt September 3, 0 Short Term Fourier Transform Signals whose frequency

More information

RLE = [ ; ], with compression ratio (CR) = 4/8. RLE actually increases the size of the compressed image.

RLE = [ ; ], with compression ratio (CR) = 4/8. RLE actually increases the size of the compressed image. MP/BME 574 Application Solutions. (2 pts) a) From first principles in class, we expect the entropy of the checkerboard image to be since this is the bit depth of the image and the frequency of each value

More information

Digital Image Processing Lectures 25 & 26

Digital Image Processing Lectures 25 & 26 Lectures 25 & 26, Professor Department of Electrical and Computer Engineering Colorado State University Spring 2015 Area 4: Image Encoding and Compression Goal: To exploit the redundancies in the image

More information

Digital Communications III (ECE 154C) Introduction to Coding and Information Theory

Digital Communications III (ECE 154C) Introduction to Coding and Information Theory Digital Communications III (ECE 154C) Introduction to Coding and Information Theory Tara Javidi These lecture notes were originally developed by late Prof. J. K. Wolf. UC San Diego Spring 2014 1 / 8 I

More information

2. the basis functions have different symmetries. 1 k = 0. x( t) 1 t 0 x(t) 0 t 1

2. the basis functions have different symmetries. 1 k = 0. x( t) 1 t 0 x(t) 0 t 1 In the next few lectures, we will look at a few examples of orthobasis expansions that are used in modern signal processing. Cosine transforms The cosine-i transform is an alternative to Fourier series;

More information

Source Coding for Compression

Source Coding for Compression Source Coding for Compression Types of data compression: 1. Lossless -. Lossy removes redundancies (reversible) removes less important information (irreversible) Lec 16b.6-1 M1 Lossless Entropy Coding,

More information

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

Module 4 MULTI- RESOLUTION ANALYSIS. Version 2 ECE IIT, Kharagpur Module 4 MULTI- RESOLUTION ANALYSIS Lesson Theory of Wavelets Instructional Objectives At the end of this lesson, the students should be able to:. Explain the space-frequency localization problem in sinusoidal

More information

EMBEDDED ZEROTREE WAVELET COMPRESSION

EMBEDDED ZEROTREE WAVELET COMPRESSION EMBEDDED ZEROTREE WAVELET COMPRESSION Neyre Tekbıyık And Hakan Şevki Tozkoparan Undergraduate Project Report submitted in partial fulfillment of the requirements for the degree of Bachelor of Science (B.S.)

More information

Information Theory (Information Theory by J. V. Stone, 2015)

Information Theory (Information Theory by J. V. Stone, 2015) Information Theory (Information Theory by J. V. Stone, 2015) Claude Shannon (1916 2001) Shannon, C. (1948). A mathematical theory of communication. Bell System Technical Journal, 27:379 423. A mathematical

More information

Multimedia. Multimedia Data Compression (Lossless Compression Algorithms)

Multimedia. Multimedia Data Compression (Lossless Compression Algorithms) Course Code 005636 (Fall 2017) Multimedia Multimedia Data Compression (Lossless Compression Algorithms) Prof. S. M. Riazul Islam, Dept. of Computer Engineering, Sejong University, Korea E-mail: riaz@sejong.ac.kr

More information

DISCRETE HAAR WAVELET TRANSFORMS

DISCRETE HAAR WAVELET TRANSFORMS DISCRETE HAAR WAVELET TRANSFORMS Catherine Bénéteau University of South Florida Tampa, FL USA UNM - PNM Statewide Mathematics Contest, 2011 SATURDAY, FEBRUARY 5, 2011 (UNM) DISCRETE HAAR WAVELET TRANSFORMS

More information

Run-length & Entropy Coding. Redundancy Removal. Sampling. Quantization. Perform inverse operations at the receiver EEE

Run-length & Entropy Coding. Redundancy Removal. Sampling. Quantization. Perform inverse operations at the receiver EEE General e Image Coder Structure Motion Video x(s 1,s 2,t) or x(s 1,s 2 ) Natural Image Sampling A form of data compression; usually lossless, but can be lossy Redundancy Removal Lossless compression: predictive

More information

A study of image compression techniques, with specific focus on weighted finite automata

A study of image compression techniques, with specific focus on weighted finite automata A study of image compression techniques, with specific focus on weighted finite automata Rikus Muller Thesis presented in partial fulfilment of the requirements for the Degree of Master of Science at the

More information

3 rd Generation Approach to Video Compression for Multimedia

3 rd Generation Approach to Video Compression for Multimedia 3 rd Generation Approach to Video Compression for Multimedia Pavel Hanzlík, Petr Páta Dept. of Radioelectronics, Czech Technical University in Prague, Technická 2, 166 27, Praha 6, Czech Republic Hanzlip@feld.cvut.cz,

More information