Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
Business | Computing | IT | Media
SMART Activity
• WRITE the number 37 in Binary using the following columns in BINARY to help:
EXERCISE BOOK STANDARDS - class code: CW, Date, Title: Images in Binary.
128 64 32 16 8 4 2 1
Business | Computing | IT | Media
Introduction to Computer Science – Images in Binary
Understand how binary can be used to represent images
Be able to represent your own images using binary
Business | Computing | IT | Media
Activation• ALL files in a computer are comprised of
binary effectively so that the computer can read and understand their content.
• We have looked at how binary works in the previous lesson by representing different number in binary.
• Today you will look at a range of concepts related to binary and the use of images.
Business | Computing | IT | Media
Activation cont…
• Look at the following key terms related to images:• PIXEL
• RESOLUTION
• RGB
• BINARY
Business | Computing | IT | Media
Activation cont…
PIXEL
• The term PIXEL means PICTURE (PIX) ELEMENT (EL).
• It is a combination of Red, Green and Blue (RGB) values on screen to represent a colour using a mixture of the 3.
• Depending on how many PIXELS are used an image can have more or less information to show the image itself.
• When you look at a computer screen closely you can see the different PIXELS used.
Business | Computing | IT | Media
Activation cont…
RESOLUTION
• The term RESOLUTION refers to the TOTAL number of PIXELS used to represent an image.
• RESOLUTION is read by 2 numbers, width and height.
• 1920 x 1080 means 1920 pixels across by 1080 pixels down.
Business | Computing | IT | Media
Activation cont…
BINARY
• We used BINARY to represent the RGB COLOUR value used in each PIXEL.
• The COLOUR RANGE is based on the NUMBER of BITS (binary) allowed in each PIXEL.
• So a 1 BIT image can have 2 different colours, BLACK or WHITE. Where there is a ZERO it is WHITE, where there is a ONE it is BLACK.
• LOOK at the image on the following slide.
Business | Computing | IT | Media
Activation cont…
BITMAP
• On the LEFT you can see the BINARY REPRESENTATION of the IMAGE. On the RIGHT you can see what the IMAGE should look like.
BITMAP IMAGE REPRESNTATION
Business | Computing | IT | Media
Activation cont…
BITMAP
• If you ASSIGN more BITS to a SINGLE PIXEL you can get more COMBINATIONS of COLOUR.
• A 2 BIT (0's or 1's) will give a colour range of 4 different colours.
BITMAP IMAGE REPRESNTATION
Business | Computing | IT | Media
Demonstration Task 1CREATE a 1 BIT BLACK and WHITE image with a RESOLUTION of 5 x 5.
WRITE the image as a BITMAP and SHOW the IMAGE REPRESENTATION.
• Write your working out. In your exercise book.
Business | Computing | IT | Media
Demonstration Task 1CREATE a 1 BIT COLOUR image with a RESOLUTION of 10 x 10.
WRITE the image as a BITMAP and SHOW the IMAGE REPRESENTATION.
• Write your working out. In your exercise book.
Business | Computing | IT | Media
Consolidation
• Go to www.mrbainbridge.co.uk and complete th test under:
COVID-19 COVER WORK > COVID-19 YEAR 7> Lesson 11 Images in Binary