File Compression 3.3.

Slides:



Advertisements
Similar presentations
T.Sharon-A.Frank 1 Multimedia Compression Basics.
Advertisements

Bitmapped Graphic Data
Copyright 2003 Monash University IMS5401 Web-based Information Systems Topic 2: Elements of the Web (d) Digital representation.
Data dan Teknologi Multimedia Sesi 08 Nofriyadi Nurdam.
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.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
CS559-Computer Graphics Copyright Stephen Chenney Image File Formats How big is the image? –All files in some way store width and height How is the image.
Higher Computing Data Representation.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 1. Data Representation Data Representation – Why do we use binary? simplicity,
Data Representation The method of data representation in a computer system depends upon the type of data which is being used. Three types of data are considered.
Binary Numbers. Remember we count using the decimal system or Base 10. That means there are 10 symbols: 0,1,2,3,4,5,6,7,8 and 9 Computers use the Binary.
Image Representation. Objectives  Bitmaps: resolution, colour depth and simple bitmap file calculations.  Vector graphics: drawing list – objects and.
Still-image compression Moving-image compression and File types.
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.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
Comp 335 File Structures Data Compression. Why Study Data Compression? Conserves storage space Files can be transmitted faster because there are less.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Information Systems Design and Development Media Types Computing Science.
Computer Sciences Department1. 2 Data Compression and techniques.
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.
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
8th Lecture – Intro to Bitmap or Raster Images
Computer Systems Nat 5 Computing Science Data Representation
Lesson Objectives Aims You should be able to:
GCSE COMPUTER SCIENCE Data
Component 1.9 Security and Data Management
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
Data Representation.
Denary to Binary Numbers & Binary to Denary
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
3.3 Fundamentals of data representation
Vocabulary byte - The technical term for 8 bits of data.
Computer Science Higher
Data Compression.
Lesson Objectives Aims You should know about: 1.3.1:
Graphics Bitmap Vector
File Compression 3.3.
BTEC NCF Dip in Comp - Unit 02 Fundamentals of Computer Systems Lesson 10 - Text & Image Representation Mr C Johnston.
Intermediate 2 Computing
3 - STORAGE: DATA CAPACITY CALCULATIONS
Raster Images CPSC 1030.
Data Compression.
Vocabulary byte - The technical term for 8 bits of data.
Learning Intention I will learn how a computer stores graphics.
File size and image quality
Digital imaging.
Images in Binary.
Representing Images 2.6 – Data Representation.
Web Design and Development
Data Compression.
Topic 3: Data Compression.
Summer Term Year 10 Slides
1. Explain how ASCII is used to represent text in a computer system
Computer Systems – Unit 1
- orange white green - cyan - red - blue Example 1 24 bit RGB
Creative Media Pre-production Introduction Creative Media GCSE
COMS 161 Introduction to Computing
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.
Computer Systems Nat 4.5 Computing Science Data Representation
Computer Systems Nat 4/5 Data Representation Lesson 4:
GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.
- orange white green - cyan - red - blue Example 1 24 bit RGB
Presentation transcript:

File Compression 3.3

Learning Objectives 3.3.2 Understand the need for data compression and methods of compressing data [lossless, lossy] and that JPEG and MP3 are examples of lossy algorithms 3.3.3 Understand how a lossless, run-length encoding [RLE] algorithm works 3.3.4 Understand that file storage is measured in bytes and that data transmission is measured in bits per seconds, and be able to calculate the time required to transmit a file and storage requirements for files

Transfer Rate Why compress data? MBps or Mbps? If you have 10 high quality images at 4Mb’s each. How much storage will it take up? What if you were to transfer this data across the internet, how would you calculate the transfer rate, what is it measured in? Transfer rate (Mbps) = Number of files * file size / time taken * 8 MBps or Mbps?

What do we already know? What is colour depth? How many colours can be represented using 4 bits? What are the differences between bitmap images and vector images?

Answer the following in your books Use BBC Bitesize to help you: Google bbc bitesize compression Why compress an image? What are 2 compression methods? What are at least 3 advantages and disadvantages of these 2 compression methods?

Understanding Images Music http://www.bbc.co.uk/education/guides/zqyrq6f/revision/4 Images Music Lossless Lossless PNG WAV Lossy Lossy JPEG MP3 GIF AAC

RLE: Run-length encoding 3.3.3 Simple compression method Lossless as no original data is lost Converts a stream of data into Consecutive identical characters separated by A number count equal to the length of the run Used a lot on imagery For example here is 23 pixels in a 1-bit colour image. Think of each pixel as being White or Black B W 1B1W3B4W1B3W3B7W Using a simple code reduces 23 characters down to 16 BWBBWWBWWBBWW along with [3,4,3,3,7] A way of coding the characters and number of counts >1 as a sequence Across a compete image display, the reduction in code is significant. How is this lossless?

Extension 1: Using Data Compression, Why? Benefits How are they achieved. Give examples Reduced storage costs Reduced transmission costs e.g. Smaller file size results in lower cost. Streaming costs for a SD movie compared to a HD movie Increase transmission speed Increase bandwidth utilisation Simplify computation using algorithms Task: Complete this table, research the benefits of Data Compression

Activity 1, 3, 1 4, 1

Explanation https://www.youtube.com/watch?v=Lto-ajuqW3w 2:30-6:43 http://www.bbc.co.uk/education/guides/zqyrq6f/revision/4

Plenary Why compress images? What are the two main ways to compress images? Name some of the differences Outline the RLE algorithm What compression method would you use when uploading an image to Facebook?