Presentation is loading. Please wait.

Presentation is loading. Please wait.

Vocabulary byte - The technical term for 8 bits of data.

Similar presentations


Presentation on theme: "Vocabulary byte - The technical term for 8 bits of data."— Presentation transcript:

1 Vocabulary byte - The technical term for 8 bits of data.
The standard fundamental unit (or “chunk size”) underlying most computing systems today measured in “megabytes”, “kilobytes”, “gigabytes”, etc. Image - A type of data used for graphics or pictures. metadata - is data that describes other data. For example, a digital image my include metadata that describe the size of the image, number of colors, or resolution. pixel - short for "picture element" it is the fundamental unit of a digital image, typically a tiny square or dot which contains a single point of color of a larger image. RGB - the RGB color model uses varying intensities of (R)ed, (G)reen, and (B)lue light are added together in to reproduce a broad array of colors. 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.

2 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)

3 CS Principles U2L5 Lossy Compression

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

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

6 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

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

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

9 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!

10 Jigsaw Form 2 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

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

12 Lossy vs Lossless Go to socrative.com and fill out exit ticket!
ROOM NAME FOCS


Download ppt "Vocabulary byte - The technical term for 8 bits of data."

Similar presentations


Ads by Google