Lesson 2-3 AP Computer Science Principles

Slides:



Advertisements
Similar presentations
Lecture 2 Concepts, Terms and Definitions. Display Devices They are divided into a lot of small squares called pixels (“PICture ELements”). Each pixel.
Advertisements

GCSE Computing#BristolMet Session Objectives#9 MUST identify the data needed for a computer to display an image correctly (metadata) SHOULD describe the.
DATA REPRESENTATION IMAGES GCSE Computing. Learning Objective ■ To understand how an image is represented in Binary ■ To be able to convert a Binary code.
Representation of Data in Computer Systems
OBJECTIVE AND OUTCOMES Objective: To be able to create images in binary format and understand the part metadata plays in recreating images. Outcomes:
By the end of this session you should be able to... Understand character sets and why these are used within computer systems. Understand how characters.
AP CSP: Pixelation – B&W/Color Images
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
AP CSP: Sending Numbers
Encryption with Keys and Passwords
AP CSP: Creating Functions & Top-Down Design
Image and Sound Representation
GCSE COMPUTER SCIENCE Data 2.2 Characters and Images.
Data Representation Lesson 2 Binary KS3 COMPUTING KS3 Computing
AP CSP: The Need for Addressing
Sending Binary Messages
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Vocabulary byte - The technical term for 8 bits of data.
Sending Binary Messages
Data Representation Images.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
AP CSP: Sending Binary Messages with the Internet Simulator
HTTP and Abstraction on the Internet
HTTP AND ABSTRACTION ON THE INTERNET
Lesson 1-15 AP Computer Science Principles
Vocabulary byte - The technical term for 8 bits of data.
UNIT 2 – LESSON 3 Encoding B&W Images.
Lesson 1-4 AP Computer Science Principles
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
AP CSP: Encode an Experience
Lesson 2-2 AP Computer Science Principles
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
UNIT 2 – LESSON 4 Encoding Color Images.
Functions and Top-Down Design
UNIT 2 – LESSON 6 ENCODE AN EXPERIENCE.
Packets and Making a Reliable Internet
Lesson 5-15 AP Computer Science Principles
UNIT 1 – LESSON 6 SENDING NUMBERS.
U2L4 Encoding Color Images
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
CS Principles U2L3 Encoding B&W Images.
Vocabulary byte - The technical term for 8 bits of data.
Lesson 1-13 AP Computer Science Principles
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
The Need for Addressing
Sending Bits on the Internet
Review Messages over the internet are sent using binary
An Introduction to Scanning and Storing Photographs and Graphics
Data Representation.
Bitmap, Vector, Pixels, Resolution, Metadata.
Representing Images 2.6 – Data Representation.
What do these words mean to you?
Encryption with Keys and Passwords
Pixels.
Lesson 3 & 4: Encoding Images
Encryption with Keys and Passwords
Rapid Research - Format Showdown
Do it now activity Use the coloured pencils to complete the do it now activity. Stick in your book.
Lesson 3 & 4: Encoding Images
Who Am I? 6/9/16 You are about to see a series of images. I will only display each one for 10 seconds. You should describe the people in the pictures in.
WJEC GCSE Computer Science
Presentation transcript:

Lesson 2-3 AP Computer Science Principles Encoding B&W Images Lesson 2-3 AP Computer Science Principles

Objectives Students will be able to: Explain how images are encoded with pixel data. Describe a pixel as an element of a digital image. Encode a B&W image in binary representing both the pixel data (intensity) and metadata (width, height). Create the necessary metadata to represent the width and height of a digital image, using a computational tool. Explain why image width and height are metadata for a digital image.

How do you encode vision? Back in the Internet Unit you encoded a line-drawing image as a list of numbers that made up the coordinates of the points in the image. That works for line drawings, but how might you encode a different kind of image? Today we’re going to consider how you might use bits to encode a photographic image, or if you like: how could I encode vision? Today, we’re going to start to learn about images, but we’re going to start simple, with black and white images.

Activity Guide In pairs… Do the Activity Guide.

So tell me… How have you encoded white and black portions of your image, what do 0 and 1 stand for in your encoding? Are your encodings flexible enough to accommodate images of any size? How do they accomplish this? Is your encoding intuitive and easy to use? Is your encoding efficient?

Pixel? Vocabulary: each little dot that makes up a picture like this is called a pixel. Where did this word pixel come from? It turns out that originally the dots were referred to as “picture elements”, that got shortened to “pict-el” and eventually “pixel”.

Metadata What we’ve discovered is that the data for our image file must contain more than just a 0 or 1 for every pixel. It must contain other data that describes the pixel data. This is called metadata. In this case the metadata encodes the width and height of the image. We’ve seen forms of metadata before. For example: an internet packet. The packet contains the data that needs to be sent, but also other data like the to and from address, and packet number.

Pixelation Tool Now that you have built your own protocols for encoding black and white images, you’re going to use the Pixelation Tool, which can interpret an image that’s been represented in binary.

Video

Activity Guide – Continued… Create a small image: Start by trying to recreate the 3x5 letter “A” depicted (shown above) using the pixelation widget. Correct the error: In this activity, you will get a sense of what a larger image looks like. The image has an error in it. Track it down and fix it. Make your own image of any size. Encode an image of anything you like. Do not simply make an abstract pattern, like a checkerboard. It should depict something, perhaps your name written out, an icon or logo of some sort. Complete the last page of the Activity Guide. Copy and paste your pictures and your bits in the Word file. Turn in before you leave today

Stage 3 Complete Stage 3