CS 414 - Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010.

Slides:



Advertisements
Similar presentations
Md. Monjur –ul-Hasan Department of Computer Science & Engineering Chittagong University of Engineering & Technology Chittagong 4349
Advertisements

CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Spatial Filtering (Chapter 3)
Image Processing Lecture 4
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
嵌入式視覺 Feature Extraction
July 27, 2002 Image Processing for K.R. Precision1 Image Processing Training Lecture 1 by Suthep Madarasmi, Ph.D. Assistant Professor Department of Computer.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
School of Computing Science Simon Fraser University
6/9/2015Digital Image Processing1. 2 Example Histogram.
1 Image filtering Hybrid Images, Oliva et al.,
SWE 423: Multimedia Systems
Processing Digital Images. Filtering Analysis –Recognition Transmission.
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
CS443: Digital Imaging and Multimedia Filters Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring 2008 Ahmed Elgammal Dept.
1 Image filtering Images by Pawan SinhaPawan Sinha.
1 Image filtering
CS292 Computational Vision and Language Visual Features - Colour and Texture.
Lecture 2. Intensity Transformation and Spatial Filtering
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Image Processing Lecture 1 Introduction and Application - Gaurav Gupta - Shobhit Niranjan.
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Kavita Bala Hybrid Images, Oliva et al.,
Multimedia Systems & Interfaces Karrie G. Karahalios Spring 2007.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2011.
Data Transmission No. 1  Seattle Pacific University Data Transmission: Data and Signals Based on Chapter 3 of William Stallings, Data and Computer Communication,
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 8 – JPEG Compression (Part 3) Klara Nahrstedt Spring 2012.
Spatial Filtering: Basics
Klara Nahrstedt Spring 2011
1 Lecture 1 1 Image Processing Eng. Ahmed H. Abo absa
Image Compression – Fundamentals and Lossless Compression Techniques
Digital Image Processing (DIP) Lecture # 5 Dr. Abdul Basit Siddiqui Assistant Professor-FURC 1FURC-BCSE7.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
G52IIP, School of Computer Science, University of Nottingham 1 G52IIP 2011 Summary Topic 1 Overview of the course Related topics Image processing Computer.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Autonomous Robots Vision © Manfred Huber 2014.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2012.
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Edge Segmentation in Computer Images CSE350/ Sep 03.
Digital Image Processing Image Enhancement in Spatial Domain
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Image Features (I) Dr. Chang Shu COMP 4900C Winter 2008.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2014.
Graphics and image data representation
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering Northern Arizona University.
Digital 2D Image Basic Masaki Hayashi
Multimedia Fundamentals(continued)
Image filtering Hybrid Images, Oliva et al.,
Dr. Chang Shu COMP 4900C Winter 2008
Computer Vision Lecture 16: Texture II
Image filtering Images by Pawan Sinha.
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
Digital Image Processing Week IV
Image filtering
Image filtering
Topic 1 Three related sub-fields Image processing Computer vision
Lecture 2: Image filtering
Lecture 1: Images and image filtering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Presentation transcript:

CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010

CS Spring 2010 Administrative Group Directories will be established hopefully today (or latest by Friday) MP1 will be out on 1/27 (today) Start by reading the MP1 and organizing yourself as a group this week, start to read documentation, search for multimedia files, try the tutorial.

Prior Lecture on Audio Representation Sampling of Signal Quantization of Signal CS Spring 2010

Signal-to-Noise Ratio CS Spring 2010

Signal To Noise Ratio Measures strength of signal to noise SNR (in DB)= Given sound form with amplitude in [-A, A] Signal energy = A 0 -A CS Spring 2010

Quantization Error Difference between actual and sampled value  amplitude between [-A, A]  quantization levels = N e.g., if A = 1, N = 8, = 1/4 CS Spring 2010

Compute Signal to Noise Ratio Signal energy = ; Noise energy = ; Noise energy = Signal to noise = Every bit increases SNR by ~ 6 decibels CS Spring 2010

Example Consider a full load sinusoidal modulating signal of amplitude A, which utilizes all the representation levels provided The average signal power is P= A 2 /2 The total range of quantizer is 2A because modulating signal swings between –A and A. Therefore, if it is N=16 (4- bit quantizer), Δ = 2A/2 4 = A/8 The quantization noise is Δ 2 /12 = A 2 /768 S/N ratio is (A 2 /2)/(A 2 /768) = 384; SNR (in dB) = 25.8 dB If N=8 (3-bit quantizer), then Δ = 2A/2 3 = A/4, then Δ 2 /12 = A 2 /192, then SNR = 96, SNR (in dB) = 10 log(96) = 19.8 dB CS Spring 2010

Data Rates Data rate = sample rate * quantization * channel Compare rates for CD vs. mono audio  8000 samples/second * 8 bits/sample * 1 channel = 8 kBytes / second  44,100 samples/second * 16 bits/sample * 2 channel = 176 kBytes / second ~= 10MB / minute CS Spring 2010

Images – Capturing and Processing CS Spring 2010

Capturing Real-World Images Picture – two dimensional image captured from a real-world scene that represents a momentary event from the 3D spatial world CS Spring 2010 W3 W1 W2 r s Fr= function of (W1/W3); s=function of (W2/W3)

Image Concepts An image is a function of intensity values over a 2D plane I(r,s) Sample function at discrete intervals to represent an image in digital form  matrix of intensity values for each color plane  intensity typically represented with 8 bits Sample points are called pixels CS Spring 2010

Digital Images Samples = pixels Quantization = number of bits per pixel Example: if we would sample and quantize standard TV picture (525 lines) by using VGA (Video Graphics Array), video controller creates matrix 640x480pixels, and each pixel is represented by 8 bit integer (256 discrete gray levels) CS Spring 2010

Image Representations Black and white image  single color plane with 2 bits Grey scale image  single color plane with 8 bits Color image  three color planes each with 8 bits  RGB, CMY, YIQ, etc. Indexed color image  single plane that indexes a color table Compressed images  TIFF, JPEG, BMP, etc. 2gray levels4 gray levels

Digital Image Representation (3 Bit Quantization) CS Spring 2010

Color Quantization Example of 24 bit RGB Image CS Spring bit Color Monitor

Image Representation Example bit RGB Representation (uncompressed) Color Planes

Graphical Representation CS Spring 2010

Image Properties (Color) CS Spring 2010

Color Histogram CS Spring 2010

Image Properties (Texture) Texture – small surface structure, either natural or artificial, regular or irregular Texture Examples: wood barks, knitting patterns Statistical texture analysis describes texture as a whole based on specific attributes: regularity, coarseness, orientation, contrast, … CS Spring 2010

Texture Examples CS Spring 2010

Spatial and Frequency Domains Spatial domain  refers to planar region of intensity values at time t Frequency domain  think of each color plane as a sinusoidal function of changing intensity values  refers to organizing pixels according to their changing intensity (frequency) CS Spring 2010

Image Processing Function: 1. Filtering Filter an image by replacing each pixel in the source with a weighted sum of its neighbors Define the filter using a convolution mask, also referred to as a kernel  non-zero values in small neighborhood, typically centered around a central pixel  generally have odd number of rows/columns CS Spring 2010

Example CS Spring 2010

Image Function: 2. Edge Detection Identify areas of strong intensity contrast  filter useless data; preserve important properties Fundamental technique  e.g., use gestures as input  identify shapes, match to templates, invoke commands

Edge Detection CS Spring 2010

Simple Edge Detection Example: Let assume single line of pixels Calculate 1 st derivative (gradient) of the intensity of the original data  Using gradient, we can find peak pixels in image  I(x) represents intensity of pixel x and  I’(x) represents gradient (in 1D),  Then the gradient can be calculated by convolving the original data with a mask (-1/2 0 +1/2)  I’(x) = -1/2 *I(x-1) + 0*I(x) + ½*I(x+1) CS Spring

Basic Method of Edge Detection Step 1: filter noise using mean filter Step 2: compute spatial gradient Step 3: mark points > threshold as edges CS Spring 2010

Mark Edge Points Given gradient at each pixel and threshold  mark pixels where gradient > threshold as edges CS Spring 2010

Summary Other Important Image Processing Functions  Image segmentation  Image recognition Formatting Conditioning Marking Grouping Extraction Matching  Image synthesis CS Spring 2010