How do you make a picture?

Similar documents
Multimedia Networking

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Lecture 23: Digital Video. The Digital World of Multimedia Guest lecture: Jayson Bowen

Data Representation. signals can vary continuously across an infinite range of values e.g., frequencies on an old-fashioned radio with a dial

Data Storage and Manipulation

Data Manipulation. Audio and Image Representation. -Representation, Compression, and Communication Errors. Audio Representation

Video 1 Video October 16, 2001

Chapt er 3 Data Representation

8/30/2010. Chapter 1: Data Storage. Bits and Bit Patterns. Boolean Operations. Gates. The Boolean operations AND, OR, and XOR (exclusive or)

What You ll Learn Today

So far. Chapter 4 Color spaces Chapter 3 image representations. Bitmap grayscale. 1/21/09 CSE 40373/60373: Multimedia Systems

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

Digital Media. Daniel Fuller ITEC 2110

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in

A Big Umbrella. Content Creation: produce the media, compress it to a format that is portable/ deliverable

How Does H.264 Work? SALIENT SYSTEMS WHITE PAPER. Understanding video compression with a focus on H.264

Understanding Compression Technologies for HD and Megapixel Surveillance

Part 1: Introduction to Computer Graphics

EEC-682/782 Computer Networks I

Presented at the IPS 2004 Fulldome Standards Summit, Valencia, Spain, 7/8 July 2004 R.S.A. COSMOS

MULTIMEDIA TECHNOLOGIES

Understanding IP Video for

Link download full: Test Bank for Business Data Communications Infrastructure Networking and Security 7th Edition by William

Multimedia Communications. Video compression

Lab 2 Part 1 assigned for lab sessions this week

Digital Representation

Motion Video Compression

Video coding standards

interactive multimedia: allow an end user also known as the viewer of a multimedia project to control what and when the elements are delivered

Content storage architectures

Interlace and De-interlace Application on Video

Multimedia Communications. Image and Video compression

CM3106 Solutions. Do not turn this page over until instructed to do so by the Senior Invigilator.

Information Transmission Chapter 3, image and video

Digital Television Fundamentals

Announcements. Project Turn-In Process. and URL for project on a Word doc Upload to Catalyst Collect It

Module 3: Video Sampling Lecture 16: Sampling of video in two dimensions: Progressive vs Interlaced scans. The Lecture Contains:

1/29/2008. Announcements. Announcements. Announcements. Announcements. Announcements. Announcements. Project Turn-In Process. Quiz 2.

HDTV compression for storage and transmission over Internet

Announcements. Project Turn-In Process. Project 1A: Project 1B. and URL for project on a Word doc Upload to Catalyst Collect It

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

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY

Getting Images of the World

Chapter 1: Data Storage. Copyright 2015 Pearson Education, Inc.

Downloads from:

Chapter 10 Basic Video Compression Techniques

Electronic Publishing

An Overview of Video Coding Algorithms

Lip Sync of Audio/Video Distribution and Display

RTVF TV Producing & Directing - Parts I & II

Audio and Other Waveforms

Graphics Concepts. David Cairns

The Development of a Synthetic Colour Test Image for Subjective and Objective Quality Assessment of Digital Codecs

4 Anatomy of a digital camcorder

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure

Implementation of an MPEG Codec on the Tilera TM 64 Processor

Autosophy data / image compression and encryption

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second

06 Video. Multimedia Systems. Video Standards, Compression, Post Production

CUFPOS402A. Information Technology for Production. Week Two:

MULTIMEDIA COMPRESSION AND COMMUNICATION

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

INF5080 Multimedia Coding and Transmission Vårsemester 2005, Ifi, UiO. Wavelet Coding & JPEG Wolfgang Leister.

Multimedia: is any combination of: text, graphic art, sound, animation, video delivered by computer or electronic means.

MULTIMEDIA TECHNOLOGY b) Run Length Encoding Time Allotted: 3 Hours Full Marks: 70,-

Coded Channel +M r9s i APE/SI '- -' Stream ' Regg'zver :l Decoder El : g I l I

Audio Compression Technology for Voice Transmission

New forms of video compression

Advanced Computer Networks

Module 1: Digital Video Signal Processing Lecture 3: Characterisation of Video raster, Parameters of Analog TV systems, Signal bandwidth

Evaluation of SGI Vizserver

Inputs and Outputs. Review. Outline. May 4, Image and video coding: A big picture

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences

HEVC: Future Video Encoding Landscape

2.4.1 Graphics. Graphics Principles: Example Screen Format IMAGE REPRESNTATION

Laboratory 5: DSP - Digital Signal Processing

Computer and Machine Vision

Understanding Multimedia - Basics

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Spatio-temporal inaccuracies of video-based ultrasound images of the tongue

Digital Video Telemetry System

Computer Graphics. Raster Scan Display System, Rasterization, Refresh Rate, Video Basics and Scan Conversion

"Digital Media Primer" Yue- Ling Wong, Copyright (c)2011 by Pearson EducaDon, Inc. All rights reserved.

Compressed-Sensing-Enabled Video Streaming for Wireless Multimedia Sensor Networks Abstract:

Transitioning from NTSC (analog) to HD Digital Video

Chrominance Subsampling in Digital Images

Analog and Digital Video Basics

Introduction to Video Compression Techniques. Slides courtesy of Tay Vaughan Making Multimedia Work

JPEG2000: An Introduction Part II

From Synchronous to Asynchronous Design

Lecture 1: Introduction & Image and Video Coding Techniques (I)

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

Natural Radio. News, Comments and Letters About Natural Radio January 2003 Copyright 2003 by Mark S. Karney

Analog and Digital Video Basics. Nimrod Peleg Update: May. 2006

CUFPOS402A. Information Technology for Production. Week Three: Video and Film Production Format (SD, HD, 2k/4k, 16mm, 35mm and Stereoscopic 3D)

Multimedia Systems. Part 13. Mahdi Vasighi

White Paper. Video-over-IP: Network Performance Analysis

A320 Supplemental Digital Media Material for OS

Transcription:

Take-Away Messages LBSC 690 Session #11 Multimedia Human senses are gullible Images, video, and audio are all about trickery Compression: storing a lot of information in a little space So that it fits on your hard drive So that you can send it quickly across the network Jimmy Lin Wednesday, November 12, 2008 This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States See http://creativecommons.org/licenses/by-nc-sa/3.0/us/ for details How do you make a picture? Georges Seurat - A Sunday Afternoon on the Island of La Grande Jatte 1

What s a pixel? What s resolution? How do you get color? #99FF66 #9999FF 8 bits 8 bits 8 bits How do LCDs work? 2

How do digital cameras work? 2,048 x 1,536 = 3,145,728 3 MP 2,560 x 1,920 = 4,915,200 5 MP 3,264 x 2,448 = 7,990,272 8MP 3,648 x 2,736 = 9,980,928 10 MP Is a picture really worth 1000 words? (consider an image with 1024 x 768 resolution) Compression Goal: represent the same information using fewer bits Two basic types of data compression: Lossless: can reconstruct exactly Lossy: can t reconstruct, but looks the same Two basic strategies: Reduce redundancy Throw away stuff that doesn t matter Run-Length Encoding Large regions of a single color are common Record # of consecutive pixels for each color An example with text: Sheep go baaaaaaaaaa and cows go moooooooooo Sheep go ba<10> and cows go mo<10> Using Dictionaries Data often has shared substructure, e.g., patterns Create a dictionary of commonly seen patterns Replace patterns with shorthand code An example with text: t The rain in Spain falls mainly in the plain The r* ^ Sp* falls m*ly ^ the pl* (*=ain,^=in) 3

Palette Selection No picture uses all 16 million colors Select a palette of 256 colors Indicate which palette entry to use for each pixel Look up each color in the palette What happens if there are more than 256 colors? Discrete Cosine Transform Images can be approximated by a series of patterns Complex patterns require more information than simple patterns Break an image into little blocks (8 x 8) Represent each block in terms of basis images This is GIF! Full quality (Q = 100): 83,261 bytes Medium quality (Q = 25): 9,553 bytes This is JPEG! Average quality (Q = 50): 15,138 bytes Low quality (Q = 10): 4,787 btes When should you use jpegs? When should you use gifs? 4

Raster vs. Vector Graphics Demo! Raster images = bitmaps Actually describe the contents of the image Vector images = composed of mathematical curves Describe how to draw the image What happens when you scale vector images? What happens when you scale raster images? Basic Video Coding How do you make video? Display a sequence of images Fast enough to trick your eyes (At least 30 frames per second) NTSC Video 60 interlaced half-frames/sec, 720x486 HDTV 30 progressive full-frames/sec, 1280x720 5

Video Example Typical low-quality video: 640 x 480 pixel image 3 bytes per pixel (red, green, blue) 30 frames per second Storage requirements: 26.4 MB/second! A CD-ROM would hold 25 seconds 30 minutes would require 46.3 GB Some form of compression required! Video Compression One frame looks very much like the next Record only the pixels that change Frame Reconstruction I 1 I 1 +P 1 I 1 +P 1 +P 2 I 2 updates I frames provide complete image What is sound? How does hearing work? How does a speaker work? How does a microphone work? P frames provide series of updates to most recent I frame P 1 P 2 Basic Audio Coding Sample at twice the highest frequency 8 bits or 16 bits per sample Sampler How do MP3s work? The human ear cannot hear all frequencies at once, all the time Don t represent things that the human ear cannot hear Speech (0-4 khz) requires 8 KB/s Standard telephone channel (8-bit samples) Music (0-22 khz) requires 172 KB/s Standard for CD-quality audio (16 bit samples) 6

Human Hearing Response Frequency Masking Experiment: Put a person in a quiet room. Raise level of 1kHz tone until just barely audible. Vary the frequency and plot the results. Experiment: Play 1kHz tone (masking tone) at fixed level (60 db). Play test tone at a different level and raise level until just distinguishable. Vary the frequency of the test tone and plot the threshold when it becomes audible. Temporal Masking If we hear a loud sound, then it stops, it takes a while until we can hear a soft tone at about the same frequency. MP3s: Psychoacoustic compression Eliminate sounds below threshold of hearing Eliminate sounds that are frequency masked Eliminate sounds that are temporally masked Eliminate stereo information for low frequencies Streaming Audio and Video How do you deliver continuous data over packet-switched networks? Simultaneously: Receive downloaded content in buffer Play current content of buffer Analogy: filling and draining a basin concurrently Internet Media Sever Buffer 7

Example: Internet Telephony to buffer or not to buffer Internet radio YouTube Skype Instant Messenger IP Phones: Network Issues Network loss: packets lost due to network congestion Delay loss: packets arrives too late for playout at receiver Loss tolerance: depending on voice encoding packet loss rates between 1% and 10% can be tolerated IP Phones: Playout Delay Receiver attempts to playout each chunk exactly q ms after chunk was generated Chunk has time stamp t: play out chunk at t+q Chunk arrives after t+q: data arrives too late for playout, data lost Tradeoff for q: Large q: less packet loss Small q: better interactive experience Take-Away Messages Human senses are gullible Images, video, and audio are all about trickery Compression: storing a lot of information in a little space So that it fits on your hard drive So that you can send it quickly across the network 8