Binary Image Representation

Binary Image Representation
Year 8

1 / 23
volgende
Slide 1: Tekstslide
ComputingLower Secondary (Key Stage 3)

In deze les zitten 23 slides, met interactieve quizzen en tekstslides.

time-iconLesduur is: 50 min

Onderdelen in deze les

Binary Image Representation
Year 8

Slide 1 - Tekstslide

KO: Understand how images can be represented using the Binary number system.
All
  • Explain how computers use pixels and binary to store images.

Most 
  • Explain how files are saved in bitmaps and how size and colour depth can affect the file size of an image.

Some 
  • Identify factors that will affect the quality and file size of an image.
  • Describe the difference between bitmaps and vector.


Slide 2 - Tekstslide

Starter

Slide 3 - Tekstslide

Does the quality of an image matter? If yes, why?

Slide 4 - Open vraag

Main Activity

Slide 5 - Tekstslide

What are the different types of images?

Slide 6 - Tekstslide

Vector Graphics 
Vector graphics are constructed using mathematical formulas describing shapes, colors, and placement. Rather than a grid of pixels, a vector graphic consists of shapes, curves, lines, and text which together make a picture.

Slide 7 - Tekstslide

How vector graphics work with Binary
The colour of each pixel is represented as a binary number so the whole image is therefore stored as a series of binary numbers.

Slide 8 - Tekstslide

Bitmap Graphics
Bitmaps or Raster graphics are the name given to one way of storing graphics on a computer system.
A bitmap is laid out in a grid format with each box on the grid containing one “Picture element” which is better known as a “Pixel”.

Slide 9 - Tekstslide

How bitmap graphics work with Binary
Bitmap images are organised as a grid of coloured squares called pixels. Each different colour in the image is stored as a binary number.

Slide 10 - Tekstslide

Let's try and make our own Bitmap.

Slide 11 - Tekstslide

Drawing an Image - 8 x 8
  • Look at the image in the grid on the left. You are going to fill in the grid on the right with either a 1 or a 0 in each box.
  • 1 = part of the image is showing in the box
  • 0 = the box is empty

Slide 12 - Tekstslide

Drawing an Image - Continues
Once you have completed the grid then click on the next worksheet called “Final 8 x 8 image” and all the 1’s will be shown as black and the 0’s you entered will be shown as white.

Slide 13 - Tekstslide

Why isn't your image the same?
  • It is not the same quality as the original image.

  • This is known as “Pixelated” where the image is made up of large blocks rather than smooth lines.

  • This can happen to small or poor quality images you copy from the internet when you try to make them larger.

Slide 14 - Tekstslide

Let's try again - 16 x 16 
  • Move onto the next worksheet and repeat the process with a 16 x 16 grid.
  • Have a look at the final 16 bit image on the next worksheet.
  • What is the difference?

Slide 15 - Tekstslide

Adding Colour
  • The image you have just created uses 16 x 16 pixels and we are only allowing 1 bit or each pixel to show either 1 for black or 0 for white.

  • If we wanted to have colour in the image you would need more bits per pixel so that you can allocate a particular colour rather than just black and white.

Slide 16 - Tekstslide

Image Sizes
  • We have only been working on small grids but usually bitmaps have many more pixels to make up the picture and typically have thousands of pixels for one image.

  • A typical screen size is 1280 by 800 pixels which works out as (1280 x 800) 1,024,000 pixels to cover the whole screen.

Slide 17 - Tekstslide

Colour Images
If we wanted to have colour in the image you would need more bits per pixel so that you can allocate a particular colour rather than just black and white.

Slide 18 - Tekstslide

What is Image Resolution?
  • Resolution is measured in dpi – dots per inch or ppi – pixels per inch​.

A higher resolution means 

  •     more pixels, means more.
  •     information
  • It also means bigger file ​
  •    sizes

Slide 19 - Tekstslide

Colour Images
We are going to use a wider range of numbers to make a colour image. Use the numbers 0 to 3 inclusive. Make up your own image using these colours.

Slide 20 - Tekstslide

Bit's and Colour Depth
How many colours can be saved with 3 bits per pixel?
8
How many colours can be stored with 16 bits per pixel?
65,536
Most images have 24 bit colour which allows over 16 million colours.

Slide 21 - Tekstslide

Research Task
Click on this link

I want you to find one fact each about Vector and Bitmap graphics.

Slide 22 - Tekstslide

What is your fact?

Slide 23 - Open vraag