File Compression-overview

Slides:



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

T.Sharon-A.Frank 1 Multimedia Compression Basics.
Web Graphics.
Lecture # 20 Image and Data Compression. Data Compression.
Compression & Huffman Codes
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.
ISYS 3074 Graphics File Formats File formats have developed with applications. At least 50 currently in use. Examples include: GIF, JPEG, TIFF, BMP, DIB,
A 24-bit depth.bmp file made in XVI32 This 2-by-2 image was handcrafted in XVI32 Bytes 1C-1D hex in the Info Header say that the image uses 24-bit (18.
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.
 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.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
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.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
Lecture 10 Data Compression.
Cosc 2150: Computer Organization Chapter 2a Data compression.
Computability Reports. More examples. Homework: Optimization. Other follow- ups. Start to plan presentation.
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.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
1 Analysis of Algorithms Chapter - 08 Data Compression.
Data Compression. How File Compression Works If you download many programs and files off the Internet, you've probably encountered ZIP files before. This.
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
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.
How Analog and Digital Recording Works Analog converted to digital via an ADV (Analog to Digital Converter = stream of numbers) On playback: digital converted.
Web Graphics By Chris Harding. Contents  Software  Vector Graphics and Pixel Based  Transparent Images  Compression  GIF vs. JPEG  Animated GIF.
Graphic Format Factors
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Class 9 LBSC 690 Information Technology Multimedia.
 By Bob “The Bird” Fiske & Anita “The Snail” Cost.
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.
POWERPOINT PLUS 11/17/07 Class Notes. WHAT IS A PIXEL A pixel is a number that represents the intensity of light at a square spot in the picture. Pixels.
Ch3 Image Compression. John. F. Kennedy (Former President of USA) Who is this man?
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
Information Systems Design and Development Media Types Computing Science.
An introduction to audio/video compression Prepared by :: Bhatt shivani ( )
Computer Sciences Department1. 2 Data Compression and techniques.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
8th Lecture – Intro to Bitmap or Raster Images
Lesson Objectives Aims You should be able to:
Component 1.9 Security and Data Management
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
File Compression 3.3.
Lesson Objectives Aims You should be able to:
Web Graphics By Chris Harding.
Compression & Huffman Codes
4k… 4K format was named because it has 4000 pixels horizontal resolution approximately. Meanwhile, standard 1080p and 720p resolutions were named because.
Computer Science Higher
Data Compression.
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Don’t squeeze the Charnin (OK to squeeze data!)
Lesson Objectives Aims You should know about: 1.3.1:
Graphics Bitmap Vector
File Compression 3.3.
Compression.
Raster Images CPSC 1030.
Digital Image Compression Using Bit Plane Slicing Method
GRAPHICS Source:
Data Representation.
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
Representing Images 2.6 – Data Representation.
Data Compression.
Topic 3: Data Compression.
Mastering File Compression Part #1
Chapter 8 – Compression Aims: Outline the objectives of compression.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.
Compression.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

File Compression-overview Don’t squeeze the Charnin (OK to squeeze data!)

File Compression a file-compression program lists information once and then refers back to it whenever needed RLE JFK

e.g.words Kennedy speech As an example, let's look at a type of information we're all familiar with: words. In John F. Kennedy's 1961 inaugural address, he delivered this famous line: "Ask not what your country can do for you -- ask what you can do for your country." The quote has 17 words, made up of 61 letters, 16 spaces, one dash and one period. If each letter, space or punctuation mark takes up one byte we get a total file size of 79 units. To get the file size down, we need to look for redundancies. Immediately, we notice that: "ask" appears two times "what" appears two times "your" appears two times "country" appears two times "can" appears two times "do" appears two times "for" appears two times "you" appears two times

Dictionary 1 ask 2 What 3 Your 4 Country 5 can 6 Do 7 8 For you The system for arranging dictionaries varies, but it could be as simple as a numbered list. When we go through Kennedy's famous words, we pick out the words that are repeated and put them into the numbered index. Then, we simply write the number instead of writing out the whole word Our sentence now reads:  "1 not 2 3 4 5 6 7 8 -- 1 2 8 5 6 7 3 4"

New version Our sentence now reads:  "1 not 2 3 4 5 6 7 8 -- 1 2 8 5 6 7 3 4"

Lossless compression No bits are lost GIF files are lossless

Lossy compression lossy compression reduces a file by permanently eliminating certain information, especially redundant information. When the file is uncompressed, only a part of the original information is still there MP3

RLE (Lossless example) fffffffuuuuuuuuuuuu Can be “compressed” to 17f 32u Lossless…called run-length encoding Let's say you have an image with a plain blue background. For each row of pixels instead of storing "blue, blue, blue, ... blue, etc" a 1000 times, you could simply store "1000,blue" and would save loads of space. Unrealistic, why? ffffffuuuuuuuuuuuu Can be “compressed” to: f7u12

Video Properties Scan method?HD )frame size:1620 x 1080 Fps = 4K with “Red, ultra Pixels/frame ? 30f ps HD Q:total pixels /frame? Q: Frame file size (=bits/frame (30 frames) in a second) File size 30 frames?10 seconds Verizon charges?? For ? 10 seconds how much data?’I got 1about , 140MB