 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.

Slides:



Advertisements
Similar presentations
Data compression. INTRODUCTION If you download many programs and files off the Internet, we have probably encountered.
Advertisements

Data Compression CS 147 Minh Nguyen.
Reducing File Sizes. File Formats In this lesson, we will be looking at: How do we measure file size? Why are some files bigger than others? Why should.
Skills: none Concepts: the amount of information in an image This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Last time 3 main components to a computer system Types of computers Talked about software – task oriented What are some kinds of data that a computer works.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
Squishin’ Stuff Huffman Compression. Data Compression Begin with a computer file (text, picture, movie, sound, executable, etc) Most file contain extra.
Lecture 10 Data Compression.
Cosc 2150: Computer Organization Chapter 2a Data compression.
Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.
CSCI-235 Micro-Computers in Science Hardware Part II.
Computers and Scientific Thinking David Reed, Creighton University Data Representation 1.
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.
 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 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Multimedia and The Web.
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
Data Compression. How File Compression Works If you download many programs and files off the Internet, you've probably encountered ZIP files before. This.
1 i206: Lecture 2: Computer Architecture, Binary Encodings, and Data Representation Marti Hearst Spring 2012.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Introduction to Interactive Media 03: The Nature of Digital Media.
CMSC 100 Storing Data: Huffman Codes and Image Representation Professor Marie desJardins Tuesday, September 18, 2012 Tue 9/18/12 1CMSC Data Compression.
Communicating Quantitative Information Is a picture worth 1000 words? Digital images. Number bases Standards, Compression Will [your] images last? Homework:
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:
Introduction to Digital Media. What is it? Digital media is what computers use to; Store, transmit, receive and manipulate data Raw data are numbers,
Graphic Format Factors
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Compression  Data files compression  Music compression  Image and video compression.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
CSCI-100 Introduction to Computing Hardware Part II.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Comp 335 File Structures Data Compression. Why Study Data Compression? Conserves storage space Files can be transmitted faster because there are less.
Sound (analogue signal). time Sound (analogue signal) time.
Chapter Five Making Connections Efficient: Multiplexing and Compression Data Communications and Computer Networks: A Business User’s Approach Eighth Edition.
Multi-media Data compression
Introduction to Interactive Media Interactive Media Raw Materials: Digital Data.
Audio Formats. Digital sound files must be organized and structured so that your media player can read them. It's just like being able to read and understand.
Information Systems Design and Development Media Types Computing Science.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Component 1.9 Security and Data Management
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
File Compression 3.3.
4k… 4K format was named because it has 4000 pixels horizontal resolution approximately. Meanwhile, standard 1080p and 720p resolutions were named because.
Vocabulary byte - The technical term for 8 bits of data.
Computer Science Higher
Data Compression.
Chapter Five Making Connections Efficient: Multiplexing and Compression Data Communications and Computer Networks: A Business User’s Approach Eighth Edition.
Don’t squeeze the Charnin (OK to squeeze data!)
Lesson Objectives Aims You should know about: 1.3.1:
JPG vs GIF vs PNG What is the difference?
Data Compression.
File Compression-overview
Vocabulary byte - The technical term for 8 bits of data.
Data Compression CS 147 Minh Nguyen.
short term and long term speed, capacity, compression formats, access
Web Design and Development
Topic 3: Data Compression.
1. Explain how ASCII is used to represent text in a computer system
Chapter 4: Representing sound
Do Now! Convert the following sequence of bits into an image using the protocol we discussed (first 8 bits are lengthxwidth, Then fill in the rows pixel.
Number Systems Instructions, Compression & Truth Tables.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.
Compression.
WJEC GCSE Computer Science
Presentation transcript:

 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 them down in size. The purpose is two-fold. Smaller files take up less room, leaving more storage real-estate. Also, smaller files are faster to transfer over a network, whether that network is the Internet, an intranet, or a local area network (LAN).”  My Definition:  Make Data smaller using pattern recognizing algorithms What is Data Compression?

 Lossless Data Compression  Text  Lossy Data Compression  Pictures  Video  Sound Types of Data Compressions

 Definition from WiseGeek.com:  a compression technique that does not lose any data in the compression process.  In other words, the compression program will compress the file and when the file is re-opened it will be completely like the original LossLess Compression

Taken from Article By Tom Harris- Quote from John F. Kennedy’s Inauguration Speech: "Ask not what your country can do for you -- ask what you can do for your country." The following words appear twice: ask, what, your, country, can, do, for, you Lossless Example

Make a key for the repeated words: 1.ask 2.what 3.your 4.country 5.can 6.do 7.for 8.you Lossless Example

Ignoring whether the word starts with a capital letter and using the key: "1 not “ How much data was saved? Assume each character and space takes 1 unit of memory then the original line takes 79 units and the new one takes 37 for the key and 37 for the coded line so a total of 74 units. Lossless Example

Only a difference of 5 units of memory Only a single line was converted using that key so over the whole document would decrease the file size by a good amount. Is this the only way to build key? Limitations? Lossless Example

 Explanation of Lossy Compression from the wise geeks:  a type of data compression in which actual information is lost. This means that after reconstructing the data from the information available, one winds up with something less than was in the original file. Generally, the goal is to use lossy compression such that there is not much observable loss in the final product.  Compresses more than the lossless compression algorithms Lossy Compression

 Decreases size of pictures through manipulation of pixels  Keeps the image the same to the human eye since the human eye cant distinct slight changes made to pixel values  Picks a color that matches a whole section of a picture and changes the pixel value to the color that takes least space Lossy Pictures

 A video is nothing more then a bunch of pictures going one after the other at a certain rate  Imagine a post it pack  Put a picture on each page then flip through it  Same thing with video  For this reason video can be compressed way in the same way a picture can by breaking down the video into each frame. Video Compression

 So a CD stores a huge number of bits for each second of music:  44,100 samples/second * 16 bits/sample * 2 channels = 1,411,200 bits per second  If an average song is three minutes long, then the average song on a CD consumes about 32 million bytes (or 32 megabytes) of space  MP3 compression is used to reduce this by a factor of 10 – 14 times without noticing the sound change Sound Compression

 Things about sound:  There are certain sounds that the human ear cannot hear.  There are certain sounds that the human ear hears much better than others.  If there are two sounds playing simultaneously, we hear the louder one but cannot hear the softer one.  Taking sounds out that the user will not even notice will cause the song to decrease in size by a factor of ten or more Sound Compression

In Closing