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.

Slides:



Advertisements
Similar presentations
Web Design Vocab 3 PNG, JPG, GIF, MP3, MPEG.
Advertisements

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.
Information loss in compression Skills: none IT concepts: lossy and lossless compression This work is licensed under a Creative Commons Attribution-Noncommercial-
ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. Data Compression.
Image Representation CS105. Data Representation Text representation – ASCII character set – Unicode – Data compression Images!
 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.
Data dan Teknologi Multimedia Sesi 08 Nofriyadi Nurdam.
Manipulating Images Image A visual representation of something that is seen in real life. It can be two-dimensional or three-dimensional A visual representation.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
Graphics Ms. Brewer Spring Bellwork Edmodo – log on! Quiz? Take it if you need to! Policies and Procedures Powerpoint in Shared Folder! Get to Know.
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.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Digital Image Formats: An Explanation Guilford County SciVis V
Chapter Ten The Application and Presentation Layers.
Computer Images Can store color info about each pixel, but makes file BIG Compression for Web 15.
CSCI-100 Introduction to Computing Hardware Part II.
Data compression. lossless – looking for unicolor areas or repeating patterns –Run length encoding –Dictionary compressions Lossy – reduction of colors.
 By Bob “The Bird” Fiske & Anita “The Snail” Cost.
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.
GIF vs. JPEG GIF and JPEG (JPG) image formats are different. You should know which to use when. Here are some examples.
Digital Image Formats: An Explanation Guilford County SciVis V
Computer Graphics Lesson 2 July 12, 2005 Image Formats What are some formats you are familiar with? There are 4 basic image format types: Uncompressed.
FILE COMPRESSION Lossy vs Lossless. Why compress a file? To save storage space. To speed up data transmission.
Lesson Objectives Aims You should be able to:
Component 1.9 Security and Data Management
AP CSP: Pixelation – B&W/Color Images
AP CSP: Lossy Compression and File Formats
File Compression 3.3.
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
Lesson 1-15 AP Computer Science Principles
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
3.3 Fundamentals of data representation
Vocabulary byte - The technical term for 8 bits of data.
Computer Science Higher
Vocabulary byte - The technical term for 8 bits of data.
How to Convert Pictures into Numbers
Lesson Objectives Aims You should know about: 1.3.1:
Lossy Compression and File Formats
File Compression 3.3.
UNIT 2 – LESSON 2 TEXT COMPRESSION.
1.01 Investigate graphic types and file formats.
BTEC NCF Dip in Comp - Unit 02 Fundamentals of Computer Systems Lesson 10 - Text & Image Representation Mr C Johnston.
U2L4 Encoding Color Images
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
JPG vs GIF vs PNG What is the difference?
CS Principles U2L3 Encoding B&W Images.
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
AP CSP: Lossy Compression and File Formats
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
AP CSP: Bytes, File Sizes, and Text Compression
Vocabulary byte - The technical term for 8 bits of data.
LESSON 5 Module 4: Working with Images Image File Types.
Digital Image Formats: An Explanation
Data Representation.
Representing Images 2.6 – Data Representation.
Web Design and Development
Topic 3: Data Compression.
UNIT IV.
Creating Images for the Web
File Compression and Formats
Data Compression.
Binary CSCE 101.
Chapter 8 – Compression Aims: Outline the objectives of compression.
Data Representation :: Compression
Presentation transcript:

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 by pixel, 1 = white, 0 = black) 0111010100010000111011011100001111100001000

CS Principles U2L5 Lossy Compression

U2L5 Lossy Compression Objectives SWBAT: Explain the difference between lossy and lossless compression. Identify common computer file types and whether they are compressed or not, and whether compression is lossy or lossless. Read a technical article on the web and sift its contents for targeted information.

U2L5 Vocab Lossless Compression - a data compression algorithm that allows the original data to be perfectly reconstructed from the compressed data. Lossy Compression - (or irreversible compression) a data compression method that uses inexact approximations, discarding some data to represent the content. Most commonly seen in image formats like .jpg.

U2L5 Content: Lossy vs Lossless Compression Lossy compression is mostly used in visual or audio formats where a loss in precision is undetectable to human eyes and ears. The BMP image format is basically the image encoding format used in code studio The GIF image format and ZIP compression scheme are versions of the text compression scheme we used as well. In the case of GIF, it uses a dictionary of up to 255 different colors and each pixel is stored as small number that refers to the dictionary

Lossy Text Compression App With a partner, go to the Lossy Text Compression App - App Lab. Answer the following questions: U2L5 Prompt: What is happening in the app? Should this “count” as text compression? Why or why not? What do you think “lossy” refers to?

Lossy vs LossLess When we did text compression a few lessons ago, that kind of compression is known as “lossless” compression because in doing the compression, and in reconstructing the original text, nothing was lost; every character that was part of the original text could be recovered. “Lossy” compression – yes, that’s the official word – does something else. Lossy compression schemes are ones in which “useless” or less-than-totally-necessary information is thrown out in order to reduce the size of the data. The lossy text compression app did that, and for the most part, you could probably make out what the text was supposed to say. But it’s not perfect. If you saw the word “fd” it could be “food”, “feed”, “feud”, or “fad”. By reading it in context, you might know what it was supposed to be, but there’s no real way to know what the original word was. The original word is lost.

Rapid Research Research your assigned topic with your partner. -Google your topic (topic + compression) -Find an appropriate page and fill in your row of the chart 10 MINUTES!

Jigsaw Form 3 groups, each with at least 1 member from each group. Share out your information with your group members. Information should be given orally; you should not be COPYING information from other people’s worksheets. 10 MINUTES

What did you learn? BMP- JPG- WAV- PNG- MP3- GIF- ZIP-