Signal and Image Analysis. Two examples of the type of problems that arise:

Similar documents
Lecture 1: What we hear when we hear music

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

Comparative Analysis of Wavelet Transform and Wavelet Packet Transform for Image Compression at Decomposition Level 2

Architecture of Discrete Wavelet Transform Processor for Image Compression

NanoGiant Oscilloscope/Function-Generator Program. Getting Started

Signal Processing with Wavelets.

Lab 5 Linear Predictive Coding

Understanding Compression Technologies for HD and Megapixel Surveillance

Spectrum Analyser Basics

Scanning For Photonics Applications

DATA COMPRESSION USING THE FFT

Musical Sound: A Mathematical Approach to Timbre

5.7 Gabor transforms and spectrograms

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

From Fourier Series to Analysis of Non-stationary Signals - X

Lecture 7: Music

DIGITAL COMMUNICATION

EE 261 The Fourier Transform and its Applications Fall 2007 Problem Set Two Due Wednesday, October 10

Math and Music: The Science of Sound

Mathematics 5 SN SINUSOIDAL GRAPHS AND WORD PROBLEMS

4400X Series. Orbital. X-Band Ext Ref LNB. MIL Spec MIL-STD A, 45 db internal filter LNB630S-500X-WN60-G12. Orbital Features: Orbital Specs:

The BAT WAVE ANALYZER project

Orbital 4400X & 4400XI Series X-Band Ext Ref LNB

Fourier Integral Representations Basic Formulas and facts

PS User Guide Series Seismic-Data Display

BBN ANG 141 Foundations of phonology Phonetics 3: Acoustic phonetics 1

ECE 45 Homework 2. t x(τ)dτ. Problem 2.2 Find the Bode plot (magnitude and phase) and label all critical points of the transfer function

Heart Rate Variability Preparing Data for Analysis Using AcqKnowledge

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

EMBEDDED ZEROTREE WAVELET CODING WITH JOINT HUFFMAN AND ARITHMETIC CODING

CHAPTER 3 COLOR TELEVISION SYSTEMS

GG450 4/12/2010. Today s material comes from p in the text book. Please read and understand all of this material!

The Essence of Image and Video Compression 1E8: Introduction to Engineering Introduction to Image and Video Processing

MULTISIM DEMO 9.5: 60 HZ ACTIVE NOTCH FILTER

EC 6501 DIGITAL COMMUNICATION

Choosing an Oscilloscope

Linear Time Invariant (LTI) Systems

3D MR Image Compression Techniques based on Decimated Wavelet Thresholding Scheme

Digital Signal Processing Lecture One Introduction to Digital Signal Processing Third Stage Prepared by: Marwah Kareem

Non Stationary Signals (Voice) Verification System Using Wavelet Transform

Image Compression Techniques Using Discrete Wavelet Decomposition with Its Thresholding Approaches

Getting Started. Connect green audio output of SpikerBox/SpikerShield using green cable to your headphones input on iphone/ipad.

Using the new psychoacoustic tonality analyses Tonality (Hearing Model) 1

MPEG + Compression of Moving Pictures for Digital Cinema Using the MPEG-2 Toolkit. A Digital Cinema Accelerator

Fourier Transforms 1D

Steganographic Technique for Hiding Secret Audio in an Image

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY

5.8 Musical analysis 195. (b) FIGURE 5.11 (a) Hanning window, λ = 1. (b) Blackman window, λ = 1.

Multimedia Communications. Image and Video compression

New Efficient Technique for Compression of ECG Signal

2-Dimensional Image Compression using DCT and DWT Techniques

Why Engineers Ignore Cable Loss

Highly Scalable Wavelet-Based Video Codec for Very Low Bit-Rate Environment. Jo Yew Tham, Surendra Ranganath, and Ashraf A. Kassim

An Overview of Video Coding Algorithms

4.4 The FFT and MATLAB

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

Math and Music Developed by Megan Martinez and Alex Barnett in conjunction with Ilene Kanoff

Communication Theory and Engineering

ZONE PLATE SIGNALS 525 Lines Standard M/NTSC

Voice Controlled Car System

Orbital Ka-ISO. Ext Ref Ka LNB with integrated isolator. Orbital Research Ltd Marine Drive, White Rock, BC. Canada V4B 1A9

ECE438 - Laboratory 1: Discrete and Continuous-Time Signals

Elasticity Imaging with Ultrasound JEE 4980 Final Report. George Michaels and Mary Watts

Information Transmission Chapter 3, image and video

CURIE Day 3: Frequency Domain Images

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique

The Effect of Time-Domain Interpolation on Response Spectral Calculations. David M. Boore

Hugo Technology. An introduction into Rob Watts' technology

SPATIAL LIGHT MODULATORS

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

Adaptive Resampling - Transforming From the Time to the Angle Domain

10:15-11 am Digital signal processing

How to Obtain a Good Stereo Sound Stage in Cars

Unequal Error Protection Codes for Wavelet Image Transmission over W-CDMA, AWGN and Rayleigh Fading Channels

BTV Tuesday 21 November 2006

Getting started with Spike Recorder on PC/Mac/Linux

Advances in Motion Control

Optimized Color Based Compression

RF (Wireless) Fundamentals 1- Day Seminar

A Comparitive Analysiss Of Lossy Image Compression Algorithms

Analysis of WFS Measurements from first half of 2004

Module 8 : Numerical Relaying I : Fundamentals

Introduction to the oscilloscope and digital data acquisition

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

Implementation of 2-D Discrete Wavelet Transform using MATLAB and Xilinx System Generator

Chapter 2. Advanced Telecommunications and Signal Processing Program. E. Galarza, Raynard O. Hinds, Eric C. Reed, Lon E. Sun-

127566, Россия, Москва, Алтуфьевское шоссе, дом 48, корпус 1 Телефон: +7 (499) (800) (бесплатно на территории России)

Multirate Digital Signal Processing

STANDARDS CONVERSION OF A VIDEOPHONE SIGNAL WITH 313 LINES INTO A TV SIGNAL WITH.625 LINES

Video coding standards

Experiment 13 Sampling and reconstruction

Communication Lab. Assignment On. Bi-Phase Code and Integrate-and-Dump (DC 7) MSc Telecommunications and Computer Networks Engineering

Video compression principles. Color Space Conversion. Sub-sampling of Chrominance Information. Video: moving pictures and the terms frame and

ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals

Multimedia Communications. Video compression

PicoScope 4000 Automotive PC Oscilloscopes

Spatial Error Concealment Technique for Losslessly Compressed Images Using Data Hiding in Error-Prone Channels

Smooth Rhythms as Probes of Entrainment. Music Perception 10 (1993): ABSTRACT

Bioengineering 508: Physical Aspects of Medical Imaging Nature of Medical Imaging. Nature of Medical Imaging

Transcription:

Signal and Image Analysis Two examples of the type of problems that arise:

Signal and Image Analysis Two examples of the type of problems that arise: 1. How to compress huge data files for transmission over data lines with limited bandwidth?

Signal and Image Analysis Two examples of the type of problems that arise: 1. How to compress huge data files for transmission over data lines with limited bandwidth? 2. How do eliminate noise or errors in transmitted data?

Concrete Examples Internet

Concrete Examples Internet.jpg files are compressed image files they download much faster than.gif and.bmp files

Concrete Examples Internet.jpg files are compressed image files they download much faster than.gif and.bmp files.mpg files are compressed video files

Concrete Examples Internet.jpg files are compressed image files they download much faster than.gif and.bmp files.mpg files are compressed video files.mp3 files are compressed audio files

Concrete Examples Internet.jpg files are compressed image files they download much faster than.gif and.bmp files.mpg files are compressed video files.mp3 files are compressed audio files A recording of a live concert is made it would be great to eliminate the crowd noise in the background.

Concrete Examples Internet.jpg files are compressed image files they download much faster than.gif and.bmp files.mpg files are compressed video files.mp3 files are compressed audio files A recording of a live concert is made it would be great to eliminate the crowd noise in the background. A very old recording on vinyl of a musical performance has many pops due to the recording process; eliminate them.

Concrete Examples Internet.jpg files are compressed image files they download much faster than.gif and.bmp files.mpg files are compressed video files.mp3 files are compressed audio files A recording of a live concert is made it would be great to eliminate the crowd noise in the background. A very old recording on vinyl of a musical performance has many pops due to the recording process; eliminate them. How to efficiently send huge amounts of telemetry from an interplanetary satellite back to Earth?

There are two main tools to analyze signals and images:

There are two main tools to analyze signals and images: Fourier Analysis

There are two main tools to analyze signals and images: Fourier Analysis Wavelets

There are two main tools to analyze signals and images: Fourier Analysis Wavelets Each has its own niche in various applications.

Fourier Analysis A time-varying signal can be decomposed as a sum of sines and cosines

Fourier Analysis A time-varying signal can be decomposed as a sum of sines and cosines basic building blocks: sin(nt), cos(nt), n = 0, 1, 2,...

Fourier Analysis A time-varying signal can be decomposed as a sum of sines and cosines basic building blocks: sin(nt), cos(nt), n = 0, 1, 2,... Specifically, a function f(t) can be written in the form f(t) = n [a n cos(nt) + b n sin(nt)]

Fourier Analysis A time-varying signal can be decomposed as a sum of sines and cosines basic building blocks: sin(nt), cos(nt), n = 0, 1, 2,... Specifically, a function f(t) can be written in the form f(t) = n [a n cos(nt) + b n sin(nt)] This expansion is called a Fourier Series

The frequency of the building blocks sin(nt) and cos(nt) is n.

The frequency of the building blocks sin(nt) and cos(nt) is n. That is, there are n cycles in a time interval 2π time units long.

The frequency of the building blocks sin(nt) and cos(nt) is n. That is, there are n cycles in a time interval 2π time units long. Thus a high frequency means lots of wiggles: 1 y = sin 3t y = sin t 0.5 y 0 0.5 1 0 1 2 3 4 5 6 t

Applications of Fourier Analysis: Filter Out Noise

Applications of Fourier Analysis: Filter Out Noise 3 y = f(t) 2 1 y 0 1 2 3 0 1 2 3 4 5 6 t

Applications of Fourier Analysis: Filter Out Noise 3 y = f(t) 2 1 y 0 1 2 3 0 1 2 3 4 5 6 t The Fourier expansion of f(t) turns out to be f(t) = sin(t) + 2 cos(3t) +.3 sin(50t)

view this as a signal

view this as a signal wiggly behavior: noise in the signal

view this as a signal wiggly behavior: noise in the signal looks like the noise is due to the high frequency part of f(t)

view this as a signal wiggly behavior: noise in the signal looks like the noise is due to the high frequency part of f(t) throw it out: 3 filtered signal 2 1 y 0 1 2 3 0 1 2 3 4 5 6 t

This is now a very clean signal. Let s see how the original signal compares with the clean version:

This is now a very clean signal. Let s see how the original signal compares with the clean version: 3 2 1 y 0 1 2 3 0 1 2 3 4 5 6 t

Essence of using Fourier analysis to filter out noise:

Essence of using Fourier analysis to filter out noise: Throw out the high frequencies in the Fourier expansion.

Essence of using Fourier analysis to filter out noise: Throw out the high frequencies in the Fourier expansion. Problem: know graph of f(t) only through a set of data points

Essence of using Fourier analysis to filter out noise: Throw out the high frequencies in the Fourier expansion. Problem: know graph of f(t) only through a set of data points how to approximate the Fourier coefficients a n and b n from the data?

Applications of Fourier Analysis: Data Compression 2.5 2 Signal 1.5 1 0.5 0 0.5 1 1.5 2 2.5 0 1 2 3 4 5 6

Interpretation: signal of phone conversation

Interpretation: signal of phone conversation time measured in seconds, vertical axis is in millivolts

Interpretation: signal of phone conversation time measured in seconds, vertical axis is in millivolts transmission via satellite

Interpretation: signal of phone conversation time measured in seconds, vertical axis is in millivolts transmission via satellite hard-headed way to transmit:

Interpretation: signal of phone conversation time measured in seconds, vertical axis is in millivolts transmission via satellite hard-headed way to transmit: sample every millisecond or so and send the resulting data bits

Interpretation: signal of phone conversation time measured in seconds, vertical axis is in millivolts transmission via satellite hard-headed way to transmit: sample every millisecond or so and send the resulting data bits this gives thousands of bits of data per second for just one phone call

Interpretation: signal of phone conversation time measured in seconds, vertical axis is in millivolts transmission via satellite hard-headed way to transmit: sample every millisecond or so and send the resulting data bits this gives thousands of bits of data per second for just one phone call thousands of other calls going on at the same time

Interpretation: signal of phone conversation time measured in seconds, vertical axis is in millivolts transmission via satellite hard-headed way to transmit: sample every millisecond or so and send the resulting data bits this gives thousands of bits of data per second for just one phone call thousands of other calls going on at the same time staggering amount of data

better way: compress the signal

better way: compress the signal use as few digital bits as possible without distorting the signal too much

better way: compress the signal use as few digital bits as possible without distorting the signal too much ideally, the compression is so good that nobody notices the signal has been altered

Fourier approach: Decompose the signal into its Fourier expansion f(t) = n [a n cos(nt) + b n sin(nt)]

Fourier approach: Decompose the signal into its Fourier expansion f(t) = n [a n cos(nt) + b n sin(nt)] throw out the coefficients a n and b n having absolute value smaller than some preset tolerance

Fourier approach: Decompose the signal into its Fourier expansion f(t) = n [a n cos(nt) + b n sin(nt)] throw out the coefficients a n and b n having absolute value smaller than some preset tolerance send only those coefficients that were kept

Fourier approach: Decompose the signal into its Fourier expansion f(t) = n [a n cos(nt) + b n sin(nt)] throw out the coefficients a n and b n having absolute value smaller than some preset tolerance send only those coefficients that were kept for many signals, the number of significant coefficients is relatively small

2.5 2 Signal 1.5 1 0.5 0 0.5 1 1.5 2 2.5 0 1 2 3 4 5 6

2.5 2.5 Signal 80% Compressed 2 2 1.5 1.5 1 1 0.5 0.5 0 0 0.5 0.5 1 1 1.5 1.5 2 2 2.5 0 1 2 3 4 5 6 2.5 0 1 2 3 4 5 6

2.5 2 Compressed Signal 1.5 1 0.5 0 0.5 1 1.5 2 2.5 0 1 2 3 4 5 6

Limitations of Fourier Analysis Since the building blocks are periodic, Fourier analysis is

Limitations of Fourier Analysis Since the building blocks are periodic, Fourier analysis is excellent for signals with time-independent wavelike features with some repetition (for instance, background noise) no isolated spikes;

Limitations of Fourier Analysis Since the building blocks are periodic, Fourier analysis is excellent for signals with time-independent wavelike features with some repetition (for instance, background noise) no isolated spikes; not so good when isolated rapidly occurring spikes or pops are present:

1.5 1 0.5 0 0.5 1 0 1 2 3 4 5 6 7 8 9 10 Signal because of the isolated nature of the spike, Fourier analysis has trouble compressing the signal:

1.5 80% Compressed Signal 1 0.5 0 0.5 1 0 1 2 3 4 5 6 7 8 9 10 Fourier It looks like it missed the spike.

Let s zoom in on the spike to make sure: 1.5 80% Compressed Signal 1 0.5 0 0.5 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Fourier

Solution: Use different building blocks wavelets

Solution: Use different building blocks wavelets What is a wavelet?

Solution: Use different building blocks wavelets What is a wavelet? Rough Idea:

Solution: Use different building blocks wavelets What is a wavelet? Rough Idea: wave that travels for one or more time periods

Solution: Use different building blocks wavelets What is a wavelet? Rough Idea: wave that travels for one or more time periods nonzero only over a finite time interval definitely not periodic!

Solution: Use different building blocks wavelets What is a wavelet? Rough Idea: wave that travels for one or more time periods nonzero only over a finite time interval definitely not periodic! complementary tool to Fourier analysis:

Solution: Use different building blocks wavelets What is a wavelet? Rough Idea: wave that travels for one or more time periods nonzero only over a finite time interval definitely not periodic! complementary tool to Fourier analysis: wavelets are great for signals with isolated spikes

Haar Wavelet 1.5 1 0.5 0 0.5 1 1.5 0.5 0 0.5 1 1.5

Daubechies Wavelet 2 1.5 1 0.5 0 0.5 1 1.5 0.5 0 0.5 1 1.5 2 2.5 3 3.5

Wavelet Compression 1.5 90% Compressed Signal 1 0.5 0 0.5 1 0 1 2 3 4 5 6 7 8 9 10 Wavelet

Wavelet Compression 1.5 90% Compressed Signal 1.5 90% Compressed Signal 1 1 0.5 0.5 0 0 0.5 0.5 1 0 1 2 3 4 5 6 7 8 9 10 Wavelet 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Wavelet Even at 90% compression, it doesn t miss the spike!