GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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.
T.Sharon-A.Frank 1 Multimedia Size of Data Frame.
 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.
Week 8 - Tutorial Interactive Digital Moving Image Production | CU3003NI | - Pratik Man Singh Pradhan.
Image Formation and Digital Video
Text. Graphics Images – photos Animation Video Audio Text Copyright issues.
I Power Multimedia Technology Video Data. Video data Video is a sequence of individual pictures or frames, taken one after another. These are played back.
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
MULTIMEDIA TECHNOLOGY SMM 3001 DATA COMPRESSION. In this chapter The basic principles for compressing data The basic principles for compressing data Data.
Computing in the Modern World BCS-CMW-7: Data Representation Wayne Summers Marion County October 25, 2011.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
1 Analysis of Algorithms Chapter - 08 Data Compression.
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
Still-image compression Moving-image compression and File types.
In this lecture, you will learn: 1 Basic ideas of video compression General types of compression methods.
How Analog and Digital Recording Works Analog converted to digital via an ADV (Analog to Digital Converter = stream of numbers) On playback: digital converted.
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Raster Graphics 2.01 Investigate graphic image design.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
CSCI-100 Introduction to Computing Hardware Part II.
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Comp 335 File Structures Data Compression. Why Study Data Compression? Conserves storage space Files can be transmitted faster because there are less.
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.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
Information Systems Design and Development Media Types Computing Science.
By :- Ishank Ranjan Akash Gupta. Audio & Audio File Formats Audio is an electrical or other representation of sound. An audio file format is a file format.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
FILE COMPRESSION Lossy vs Lossless. Why compress a file? To save storage space. To speed up data transmission.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
National 4 and National 5 Computer Science. National 4 Computing Science 2 units: Software Design and Development Information System Design and Development.
Lesson Objectives Aims You should be able to:
GCSE COMPUTER SCIENCE Data
Component 1.9 Security and Data Management
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
File Compression 3.3.
Denary to Binary Numbers & Binary to Denary
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.
3.3 Fundamentals of data representation
Computer Science Higher
Data Compression.
Digital Video File Formats
Image Formats.
Lesson Objectives Aims You should know about: 1.3.1:
Graphics Bitmap Vector
File Compression 3.3.
2.01 Investigate graphic image design.
Data Compression.
File Compression-overview
Lossy vs Lossless compression
Data Compression CS 147 Minh Nguyen.
Web Design and Development
Data Compression.
Compression, Lossy, Lossless
Topic 3: Data Compression.
1. Explain how ASCII is used to represent text in a computer system
2.01 Investigate graphic image design.
Creative Media Pre-production Introduction Creative Media GCSE
Number Systems Instructions, Compression & Truth Tables.
2.01 Investigate graphic image design.
WJEC GCSE Computer Science
2.01 Investigate graphic image design.
Data Representation :: Compression
Presentation transcript:

GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression

Compression Compression is the process of reducing the size of a file It has two main benefits: 1 It allows us to reduce the amount of storage space we use (Thus we can store more data) 2 It increases the transfer rate of files over networks (Thus we can send and receive data over a network faster) ACTIVITY Write this information in your book.

Compression Images JPG Audio MP3 Video MPEG Type Example Description The most common file format used for images. Most images produced by digital cameras and smartphones are jpegs. These images are lower in quality than Bitmap or RAW images, however have much smaller file sizes. Audio MP3 The most common file format used for audio files. Most of the sounds downloaded from the Internet are mp3 files, for example, songs downloaded on iTunes. This audio is lower quality than wave (.wav) or FLAC files, again however have smaller file sizes. Video MPEG One of the many common video formats. Compresses the files size while still offering DVD quality video. However, tis would not offer true Ultra High Definition (UHD) or cinema quality pictures.

Compression There are two types of compression you need to understand: Lossless Reduces the size of a file while retaining all of the original information. Lossy Reduces the size of a file by permanently removing some of the data. ACTIVITY Write these two definitions in your book.

Activity Explain the advantages and disadvantages of lossy and lossless compression. Advantages Disadvantages Lossless Keeps all of the original data. Original can be reproduced exactly when the file is uncompressed. Reduces the file size but not by as much as lossy compression. Lossy Does not keep all of the original data. File can be compressed (smaller file size) much more than in lossless compression. Some data is permanently lost. Therefore the original cannot be reproduced when the file is uncompressed Animate for Answer Animate for Answer Animate for Answer Animate for Answer

Run Length Encoding Definition Run length encoding (RLE) is a simple form of lossless compression. Runs of data (sequences in which the same data value occurs consecutively) are stored as a single data value and count, rather than as the original run. Old uncompressed string AAAAABBBBCCCDDE 5A 4B 3C 2D 1E New compressed string 5A4B3C2D1E ACTIVITY Write this definition and example in your book.

Activity AAAABBBBBBBBBCADDDDEEFFFFFFFF ABCABCABCABCABC Text string Answer AAAABBBBBBBBBCADDDDEEFFFFFFFF 4A9B1C1A4D2E8F ABCABCABCABCABC 1A1B1C1A1B1C1A1B1C1A1B1C1A1B1C BBGGYYAACCFFEEBBGGYYAACCFFEE 2B2G2Y2A2C2F2E2B2G2Y2A2C2F2E Which one compresses the most? The first text string. Why is this? Lots of repeated letters in the string that are in sequence. Animate for Answer Animate for Answer Animate for Answer Animate for Answer Animate for Answer

RLE When Applied to Letters Activity RLE When Applied to Letters Letter E Letter C Before encoding After encoding Before encoding After encoding bbbbb 5b bbbbb 5b bwwww 1b4w bwwww 1b4w bwwww 1b4w bwwww 1b4w bwwww 1b4w bbbww 3b2w bwwww 1b4w bwwww 1b4w bwwww 1b4w bwwww 1b4w bbbbb 5b bbbbb 5b 35 bytes 24 bytes 35 bytes 24 bytes Letter J Letter P 5b bbbbb 5b bbbbb 1b3w wwbww 2b1b2w bwwww 2w1b2w bwwww 1b3w wwbww bwwww 5b wwbww 2w1b2w bwwww 1b4w wwbww 2w1b2w wwbww 2w1b2w bwwww 1b4w bbbbb 1b4w bbbww 3b2w 35 bytes 36 bytes 35 bytes 24 bytes