Digital Representations Digital Video Special Effects Fall 2006.

Slides:



Advertisements
Similar presentations
Data Compression CS 147 Minh Nguyen.
Advertisements

Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
I Power Higher Computing Multimedia technology Audio.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Multimedia communications EG-371Dr Matt Roach Multimedia Communications EG 371 and EG 348 Dr Matthew Roach Lecture 2 Digital.
Video enhances, dramatizes, and gives impact to your multimedia application. Your audience will better understand the message of your application.
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
T.Sharon-A.Frank 1 Multimedia Size of Data Frame.
SWE 423: Multimedia Systems Chapter 5: Video Technology (1)
CSc 461/561 CSc 461/561 Multimedia Systems 0. Introduction.
Comp :: Fall 2003 Video As A Datatype Ketan Mayer-Patel.
CSc 461/561 CSc 461/561 Multimedia Systems Part A: 3. Video.
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
Representing Images. Goals for Image Representation digitization & resolution digitization & resolution representing color representing color color depth.
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Chapter 2:Multimedia information representation
Video Media Department of Computer Education KMUTNB.
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
Media File Formats Jon Ivins, DMU. Text Files n Two types n 1. Plain text (unformatted) u ASCII Character set is most common u 7 bits are used u This.
Fundamentals Rawesak Tanawongsuwan
Lecture 10 Data Compression.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 5 – Digital Video Representation Klara Nahrstedt Spring 2014.
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Encoding of Waveforms Encoding of Waveforms to Compress Information.
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
Multimedia I (Audio/Video Data) CS423, Fall 2007 Klara Nahrstedt/Sam King 9/19/20151.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
1 Multimedia Information Representation. 2 Analog Signals  Fourier transform and analysis Analog signal and frequency components Signal bandwidth and.
Video Video.
DIGITAL Video. Video Creation Video captures the real world therefore video cannot be created in the same sense that images can be created video must.
Concepts of Multimedia Processing and Transmission IT 481, Lecture 3 Dennis McCaughey, Ph.D. 5 February, 2007.
Video.
Confidentiality/date line: 13pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Disclaimer.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Chapter 2 : Business Information Business Data Communications, 6e.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
Chapter 1. Introduction. Goals of Image Processing “One picture is worth more than a thousand words” 1.Improvement of pictorial information for human.
Outline Kinds of Coding Need for Compression Basic Types Taxonomy Performance Metrics.
1 Multimedia Information Representation. 2 Analog Signals  Fourier transform and analysis Analog signal and frequency components Signal bandwidth and.
Media signal Media format Last updated on June 15, 2010 Doug Young Suh
Compression  Data files compression  Music compression  Image and video compression.
CSCI-100 Introduction to Computing Hardware Part II.
The Digital Revolution Changing information. What is Digital?  Discrete values used for  Input  Processing  Transmission  Storage  Display  Derived.
Telemedicine: Core Technologies Jayanta Mukherjee.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
1 Basics of Video Multimedia Systems (Module 1 Lesson 3) Summary: r Types of Video r Analog vs. Digital Video r Digital Video m Chroma Sub-sampling m HDTV.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Digital Video Representation Subject : Audio And Video Systems Name : Makwana Gaurav Er no.: : Class : Electronics & Communication.
Fundamentals of Data Representation Yusung Kim
Fundamental concepts in video
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
CSI-447 : Multimedia Systems
IMAGE COMPRESSION.
Last updated on June 15, 2010 Doug Young Suh
Video Basics.
Background Perception Display Considerations Video Technology.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Multimedia: Digitised Sound Data
Data Compression.
Digital Image Processing
Judith Molka-Danielsen, Oct. 29, 2001
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
UNIT IV.
Judith Molka-Danielsen, Oct. 02, 2000
Presentation transcript:

Digital Representations Digital Video Special Effects Fall 2006

Analog-to-Digital (A-D) Conversion Sampling Quantization Coding

Sampling -- Analog to Discrete Analog signal to discrete-time signal x(t) --> x[n] Sampling procedure f(t) is the sampling function Simple sampling x[n] = x(t=n), i.e., f(t)=  (t)

Reconstruction: Discrete to Analog Can we reconstruct analog signal from its discrete time samples? x[n] --> x(t) ? Generally not. Nyquist (Shannon) sampling theorem for bandlimited signals If the simple sampling rate is at least twice bandwidth of the analog signal, the analog signal can be perfectly reconstructed:

Quantization -- Digitization Discrete-time signal  digital signal Quantization error Quantization level How many bits to represent one sample? Trade-off between error and bit rate (communication band width) Nonlinear quantization Pre-compression and de-compression (  law and A law) Vector quantization

Raw Data Rate Sampling frequency= f (Hz) Each sample represented by R bits Raw data rate (bit rate): T = f x R (bits per second, or bps)

Digital Audio Signals Frequency band of sound: human hearing frequency range: 20Hz-20 KHz. Sampling rate > 40 KHz (Actual sampling rate of CD-Audio = 44.1 KHz) Bit rate for CD quality audio signal (44.1 KHz, Quantization:16 bits, 2 channels): T = x 16 x 2 (bits per second, or bps) CD quality stereo sound  10.6 MB / min

Examples

Speech Signals Properties Human ear: most sensitive to 600Hz-6000Hz Quasi-stationary for around 30 ms Characteristic maxima -- formants Speech analysis and synthesis Speech components, e.g., vowels and consonants

MIDI A protocol that enables computer, synthesizers, keyboards, and other musical device to communicate with each other. Bit rate: 31.25Kbps A MIDI file stores the messages regarding specific musical actions. Commands, instead of actual waveforms, are saved. One minute of MIDI: 4KB storage.

Digital Image Representation Picture elements (pixels) Sampling, quantization Higher dimensional image -- voxels Bi-level images (black/0 or white/1) Grayscale images 1 byte/pixel: 256 gray levels Color images True color: RGB 24bits/pixel Image size, e.g. VGA 640x480 Grayscale image: 307,200 bytes True color image: 921,600 bytes

Graphics Format Graphics primitives and attributes 2-D objects: lines, rectangles, circles, ellipses, text strings, etc. Attributes: line style, line width, color, etc. High-level representation: structured, object- based Low-level representation: bitmap

Computer Graphics Computer animation Computer Generated Images (CGI) Photo-realistic rendering

Video Signal Requirements Aspect ratio: TV  4/3; HDTV  16/9 Luminance and chrominance Continuity of motion > 15 frames/s TV 30 or 25 frames/s, movie 24 frames/s Flicker. Marginal at least 50 refresh cycles/s Movie: 2x24=48 TV: Half picture by line-interleaving Scanning rate: at lease 25Hz, finish one frame in 1/25s

Color Representation in Video RGB, normalized R=G=B=1 -- white color YUV signal Y=0.30R+0.59G+0.11B (Luminance) U=(B-Y) x 0.493, V=(R-Y) x (Chrominance channels) Example: PAL, CD-I and DVI (Digital Video Interactive) video. YIQ signal Y=0.30R+0.59G+0.11B (Luminance) I=0.60R-0.28G-0.32B, Q=0.21R-0.52G+0.31B Example: NTSC Avoid cross talk between luminance and colors: S-Video video signals separate the luminance and chrominance information into two separate analog signals.

Subsampling in Video Different spatial sampling rates for different chrominance channels Human beings are more sensitive to luminance (using more samples) while less sensitive to colors (using less samples). Different resolution for different components Y:C1:C2 -- 4:2:2 Subsampling and upsampling techniques

Computer Video Format CGA (Color Graphics Adapter): 4 colors, 320x200x2bits = 16,000 bytes EGA: 640x350x4bits = 112,000 bytes VGA: 640x480x8bits = 307,000 bytes SVGA: 800x600 pixels XGA: 1024x768 pixels SXGA: 1280x1024 pixels

Video Quality VCR Quality -- SIF (MPEG1) NTSC: 240x352; PAL: 288x352 per frame Videoconferencing quality CIF (Common Interchange Format) -- H x352, subsampling 4:1:1(halving both direction) Q: what is the raw bit rate of CIF video (30frames/s)? QCIF (Quarter CIF) 144x176, subsampling 4:1:1(halving both direction) Q: what is the raw bit rate of QCIF video (30frames/s) Super-CIF: 576x704, subsampling 4:1:1(halving both direction)

The Need for Compression Take, for example, a video signal with resolution 320x240 and 256 (8 bits) colors, 30 frames per second Raw bit rate = 320x240x8x30 = 18,432,000 bits = 2,304,000 bytes = 2.3 MB A 90 minute movie would take 2.3x60x90 MB = GB Without compression, data storage and transmission would pose serious problems!

Data Compression Data compression requires the identification and extraction of source redundancy. In other words, data compression seeks to reduce the number of bits used to store or transmit information.

Lossless Compression Lossless compression can recover the exact original data after compression. It is used mainly for compressing database records, spreadsheets or word processing files, where exact replication of the original is essential. Examples: Run Length Encoding (RLE), Lempel Ziv Welch (LZW), Huffman Coding.

Lossy Compression Result in a certain loss of accuracy in exchange for a substantial increase in compression. More effective when used to compress images and voice where losses outside visual or aural perception can be tolerated. Most lossy compression techniques can be adjusted to different quality levels. Example: DCT(JPEG), MPEG

Compression Ratio Compression ratio original data size : 1 compressed data size