Compression  Data files compression  Music compression  Image and video compression.

Slides:



Advertisements
Similar presentations
Multimedia: Digitised Sound Data Section 3. Sound in Multimedia Types: Voice Overs Special Effects Musical Backdrops Sound can make multimedia presentations.
Advertisements

Guerino Mazzola (Fall 2014 © ): Introduction to Music Technology IIIDigital Audio III.6 (Fr Oct 24) The MP3 algorithm with PAC.
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Data Compression CS 147 Minh Nguyen.
Web Design Vocab 3 PNG, JPG, GIF, MP3, MPEG.
Dale & Lewis Chapter 3 Data Representation Analog and digital information The real world is continuous and finite, data on computers are finite  need.
Chapter 4: Representation of data in computer systems: Sound OCR Computing for GCSE © Hodder Education 2011.
Lecture # 20 Image and Data Compression. Data Compression.
Chapter 7 End-to-End Data
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
MPEG-3 For Audio Presented by: Chun Lui Sunjeev Sikand.
CSCI 3 Chapter 1.8 Data Compression. Chapter 1.8 Data Compression  For the purpose of storing or transferring data, it is often helpful to reduce the.
Compression JPG compression, Source: Original 10:1 Compression 45:1 Compression.
Computer Science 335 Data Compression.
 Wisegeek.com defines Data Compression as:  “Data compression is a general term for a group of technologies that encode large files in order to shrink.
Representing Images. Goals for Image Representation digitization & resolution digitization & resolution representing color representing color color depth.
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.
Compression Algorithms Robert Buckley MCIS681 Online Dr. Smith Nova Southeastern University.
Lecture 10 Data Compression.
Video file format.
Cosc 2150: Computer Organization Chapter 2a Data compression.
Digital Representations Digital Video Special Effects Fall 2006.
ECE242 L30: Compression ECE 242 Data Structures Lecture 30 Data Compression.
CSCI-235 Micro-Computers in Science Hardware Part II.
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Multimedia Elements: Sound, Animation, and Video.
1 i206: Lecture 2: Computer Architecture, Binary Encodings, and Data Representation Marti Hearst Spring 2012.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Still-image compression Moving-image compression and File types.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
CS 111 – Sept. 10 Quiz Data compression –text –images –sounds Commitment: –Please read rest of chapter 1. –Department picnic next Wednesday.
MPEG Video Technology Virtual Lab Tour: Vision Systems for Mobile Robots By: Soradech Krootjohn Vanderbilt University Center for Intelligent Systems Feb.
How Analog and Digital Recording Works Analog converted to digital via an ADV (Analog to Digital Converter = stream of numbers) On playback: digital converted.
Image formats. Basic terminologies… Pixels: Pixels are the building blocks of every digital image. a pixel is a single point in a graphic image. Resolutions:
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
File Sizes & Storage Requirements.  An image has a width in pixels and a height in pixels  Start by calculating the number of pixels all up  640 x.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
MPEG-1Standard By Alejandro Mendoza. Introduction The major goal of video compression is to represent a video source with as few bits as possible while.
CSCI-100 Introduction to Computing Hardware Part II.
Audio Streaming © Nanda Ganesan, Ph.D.. Audio File Features Audio file is a record of captured sound that can be played back –The WAV File is an example.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Ch3 Image Compression. John. F. Kennedy (Former President of USA) Who is this man?
1 Part A Multimedia Production Chapter 2 Multimedia Basics Digitization, Coding-decoding and Compression Information and Communication Technology.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Speech and Music Retrieval INST 734 Doug Oard Module 12.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Textbook does not really deal with compression.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
4k… 4K format was named because it has 4000 pixels horizontal resolution approximately. Meanwhile, standard 1080p and 720p resolutions were named because.
Video Basics.
Data Compression.
4.1 Different Audio Properties
Binary 4 File Sizes.
Multimedia: Digitised Sound Data
Compression.
Data Compression.
Data Compression CS 147 Minh Nguyen.
Data Representation Keywords Sound
Multimedia Fundamentals(continued)
الوحدة الرابعة ضغط البيانات
Web Design and Development
MPEG-1 Overview of MPEG-1 Standard
III Digital Audio III.6 (Mo Oct 22) The MP3 algorithm with PAC.
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Chapter 8 – Compression Aims: Outline the objectives of compression.
15 Data Compression Foundations of Computer Science ã Cengage Learning.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

Compression  Data files compression  Music compression  Image and video compression

Introduction

File Compression Ask not what your country can do for you -- ask what you can do for your country. 79 characters Dictionnary 1. Ask 2. What 3. Your 4. Country 5. Can 6. Do 7. For 8. you Compressed sentence 1 not Dictionnary + Compressed sentence : 72 characters

File Compression Ask not what your country can do for you -- ask what you can do for your country. 79 characters Dictionnary 1. ask_ 2. what_ 3. you 4. r_country 5. _can_do_for_you Compressed sentence Dictionnary + Compressed sentence : 59 characters 1not__2345__--__12354

File Compression Ask not what your country can do for you -- ask what you can do for your country. John F. Kennedy LZ adaptive dictionnary-based algorithm

Audio Compressing  Digital sound  Sound compression techniques  Huffman algorithm  MP3

Digital Sound  Sampling –A song is a frequency –Shannon theorem  Exemple sampling rate Sampling RateSound quality 44,100 HzCD quality 22,000 HzRadio quality 8000 HzPhone quality

Digital sound  Example for a 1 minute long song Sampling 44,100 Hz Encoding 16 bits Stereo song –=> (((44100*2o)*2)*60) ≈ 10Mo for CDA –1 Mo for MP3

Sound compression techniques  Destroying compression –Frequencies located between 20 Hz 20 Khz –Human ear can hear between 2 and 5 KHz –Cut higher and lower frequencies  No destroying compression –Generally techniques of coding –Huffman algorithm

Huffman algorithm lettersoccuren cies frenque ncy coding Space4200 A3201 E23100 N23101 C I M S total120bits42bits  Principle –The most frequent information is coded with short symbols, the less frequent one with longs symbols  Example « I can see a man »

MP3  called MPEG Audio Layer-3  a compression system for audio  compress a CD-quality song by a factor of 10 to 14, without losing the CD sound quality

MP3  Procedure –The mask effect –The reserve of bytes –The join stereo –Huffman algorithm

Picture coding Coding -HSL :(Hue,Saturation,Luminance) -RGB :(Red,Green,Blue) Pixel … …

Picture compression RLE method (for BMP TIFF formats) ‘’BBBBBWWBBBBWWWWWWW ‘’  ‘’5B 2W 4B 7W’’ (Black and white) ‘’r1r2r3r4r5r6’’  ‘’ 1r1 1r2 1r3 1r4 1r5 1r6’’ (Colour gradation) Bad effectiveness

Picture compression JPEG Compression -merging per packages of 2x2 pixels -merging per packages of 8x8 packages - calculation of the average color of packages - allocation to each new package of the average color - coding of each colour by HUFFMAN 5169 Bytes1512 Bytes 369 Bytes

Video compression (MPEG) Moving Pictures Expert Group -frame I compression -picture by picture -frame P compression -what differs from the previous (and the following) picture is coded -frame B compression

Video compression MPEG-1:  1988 MPEG-2:  used by DVD MPEG-4:  used by Divx—Xvid—VP3-—3ivX