
Representing Images
Presentation
•
Computers
•
9th - 12th Grade
•
Medium
N Ellis
Used 3+ times
FREE Resource
10 Slides • 8 Questions
1
Title: Representing Images
2
Do Now
Previous term
List two differences between RAM and ROM
Current term
All time
What is a pixel
What is abstraction?
3
Do Now Answers
Previous term
RAM is volatile, ROM is non - volatile.
RAM can be read from and written to. ROM is read-only.
Current term
All time
A single dot of colour in a digital bitmap image or on a computer screen.
The process of removing unnecessary detail from a problem so that the important details can be focused on.
4
Computer Science Exam dates
Paper 1
15th May 2024
Paper 2
21st May 2024
5
Lesson Objectives
Understand what a pixel is
Describe the following for bitmaps: image size & colour depth. Know that the size of a bitmap image is measured in pixels (width x height).
Calculate bitmap image file sizes based on the number of pixels and colour depth
6
Computers work in binary. All data must be converted into binary in order for a computer to process it. Images are no exception.
One type of digital image is a bitmapped image. These are made up of pixels, a small square of solid colour. In many images, the pixels are too small for the human eye to see, so the colours appear to merge together.
Consider a simple black and white image. If black is represented as 0, and white as 1, then a simple black and white picture can be created using binary.
To create the picture, a grid can be set out and the squares, known as pixels, coloured (0 - black and 1 - white):
Representing images
7
Many images need to use colours. To add colour, more bits are required for each pixel. The number of bits determines the range of colours. This is known as an image's colour depth.
For example, using a colour depth of two, ie two bits per pixel, would allow four possible colours, such as:
00 - black
01 - dark grey
10 - light grey
11 - white
Each extra bit doubles the range of colours that are available:
one bit per pixel (0 or 1) - two possible colours
two bits per pixel (00 to 11) - four possible colours
three bits per pixel (000 to 111) - eight possible colours
four bits per pixel (0000 to 1111) - 16 possible colours
16 bits per pixel (0000 0000 0000 0000 to 1111 1111 1111 1111) - over 65,000 possible colours
The more colours an image requires, the more bits per pixel are needed. Therefore, the more the colour depth, the larger the image file will be.
Colour depth
8
Multiple Choice
9
Multiple Choice
10
Image quality is affected by the resolution of the image.
Image resolution is the number of pixels in a specific area of an image. It is expressed as dots per inch (dpi), or pixels per inch (ppi), eg:
72dpi = 72 dots per inch
200 ppi = 200 pixels per inch
In a low-resolution image, the pixels are larger and therefore, fewer are needed to fill the space. This results in images that look blocky or pixelated. An image with a high resolution has more pixels, so it looks a lot better when it is enlarged or stretched. The higher the resolution of an image, the larger its file size will be.
Image resolution
11
Multiple Choice
12
Multiple Choice
13
Files contain extra data called metadata. Metadata includes data about the file itself, such as:
file type
date created
author
An image file also includes metadata about the image data itself, such as:
the height and width of the image - this defines how many rows and columns the pixels are to be arranged in
the resolution
the colour depth
Without this metadata, the image data would not be correctly interpreted, meaning the image could not be correctly displayed.
Metadata
The file size of a bitmap image is calculated using the number of pixels in the image, and its colour depth. The formula is:
Width × Height × Colour depth
To work out the file size in bytes instead of bits, simply divide by 8.
Example 1:
An image has pixels in a grid that is 3 columns wide and 4 rows high. The colour depth is 2 bits:
W(3) × H(4) × CD(2) = 24 bits, or 3 bytes.
Example 2:
An image has pixels in a gride that is 4 columns wide and 8 rows high. The colour depth is 3 bits:
W(4) × H(8) × CD(3) = 96 bits, or 12 bytes.
File Size
14
Summary of the Calculation
Work out how many pixels are in the image
Multiply the number of pixels by the colour depth
If the question requires, convert your answer (which is in bits) into bytes by dividing it by 8.
If the question requires it to be written in kilobytes or megabytes, divide your answer (in bytes) by 1000 (for kb) or 1000000 (for mb)
15
Multiple Choice
16
Multiple Choice
17
Multiple Choice
How many different combinations of binary numbers can you make with a 4 bit image?
16
256
4
18
Multiple Choice
Title: Representing Images
Show answer
Auto Play
Slide 1 / 18
SLIDE
Similar Resources on Wayground
13 questions
Solving Logarithmic Equations
Presentation
•
9th - 12th Grade
13 questions
Solving Systems w/Matrices
Presentation
•
9th - 12th Grade
13 questions
Impersonal Construction with se
Presentation
•
9th - 12th Grade
13 questions
Ecological Succession
Presentation
•
9th - 12th Grade
13 questions
Digital Citizenship & Safety
Presentation
•
9th - 12th Grade
13 questions
El Presente Perfecto
Presentation
•
9th - 12th Grade
13 questions
CTE/Career Technical Education -16 Career Clusters
Presentation
•
9th - 12th Grade
13 questions
Writing Linear Functions
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade