
[igCS] Image Representation
Presentation
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Andy tsui
Used 11+ times
FREE Resource
17 Slides • 16 Questions
1
[igCS] Image Representation
by Andy tsui
2
Revision Questions
Get Notebook ready
3
Multiple Select
What are the two methods for representing negative integers?
Two's Complement
One's Complement
Sign and Magnitude
Random placement
4
Multiple Choice
Which one is more commonly used in computer?
Sign and magnitude
Two's Complement
5
Multiple Choice
1011 is a 4-bit two's complement binary number, it must be:
Positive
Negative
6
Multiple Choice
What is the value of 1011 (4-bt 2's complement)?
5
-5
3
-3
7
Another method to convert from -ve binary...
​
8
Multiple Choice
What is the value of 1001 (4-bt 2's complement)?
7
-7
1
-1
9
Multiple Choice
What is the value of 1000 0011 (8-bt 2's complement)?
3
-3
-125
125
10
Multiple Select
Standard ASCII code is.... (choose all applies)
7-bit coding
Represents English Alphabets
Contains European accents
Including Non-printable characters
8-bit encoding
11
Fill in the Blanks
Type answer...
12
Objectives
Understand how and why a computer represents an image, including the effects of the resolution and colour depth
13
Computer image
Computer image is represented by grid of small "dots"
Those dots are called "Pixel" (stands for Picture Element)
Each pixel contains one single color
Pixels are organized in rectangular grid
14
Image Resolution
Resolution is defined by number of pixels in an image
Usually written as width x height
The higher resolution
=> more pixels for an image
=> better image quality (smoother)
15
Activity
Black and White image
https://studio.code.org/s/csp1-2021/lessons/7/levels/2
16
Multiple Choice
What is the Resolution of the "A" you created?
3x5
8x8
2x6
10x10
17
Fill in the Blanks
Type answer...
18
Color in Computer
All colors in computer is composed of 3 basic colors:
Red, Green and Blue
Mixing the basic color results in different colors you can see
19
Activity
3-Bit Color
https://studio.code.org/s/csp1-2021/lessons/8/levels/2
20
Color Depth
Each pixel in an image contains one single color
The number of bits used in each color is called Color Depth
Higher Color Depth =>
More distinct colors can be displayed in a picture / screen
Color-depth compared on Grayscale only
21
1-bit Color Depth
Black and White (only) image
Note it is different from the black and white in everyday life referring to
Each pixel contains 1 bit only
The total size (storage) of the image is:
width x height x 1 bits (color depth)
22
Multiple Choice
How many total pixels in the smiling face shown?
32
64
96
48
23
Fill in the Blanks
Type answer...
24
8-bit Grayscale
We usually use 8-bit (or 1 byte) depth to store grayscale image (so called black and white photo)
The size of the image is given by:
width x height x 8 bits (color depth) ... or simply
width x height x 1 Bytes
25
Multiple Choice
Given an 8-bit grayscale image of 100 x 50 resolution, calculate the size of the image.
5000 Bytes
4000 Bytes
5000 bits
1000 Bytes
26
Multiple Choice
How many different shades from white to gray to white, can be displayed in 8-bit grayscale? (in other word, how many distinct number can represented by 8-bit)
256
8
16
128
27
Activity
6-Bit Color
https://studio.code.org/s/csp1-2021/lessons/8/levels/4
28
8-Bit Color image
8 Bit Color depth can also use in colored image
Nowadays mainly used in Animated GIF format (gif only allows 8 bit)
Since there's only 256 distinct color, gif is not very good in displaying smooth shades like photo, but works better in illustrations
29
True Color (24-bit)
We use 8-bit per basic color for each pixel, which means:
8 x 3 = 24 bits
By adjusting the amount of each basic color, nearly ALL color can be displayed (more than 16 Million distinct colors)
In Website, we use
#RRGGBB format to define color
30
More on 24-bit
Nowadays most of our photos are 24-bit
The storage size is given by:
width x height x 24 bits or..
width x height x 3 Bytes
31
Fill in the Blanks
Type answer...
32
Multiple Choice
What is the size of the a 24-bit color depth, 100 x 50 pixel image?
15000 Bytes
15000 bits
5000 bits
5000 Bytes
33
Conclusion
Image quality is defined by
Resolution, pixel count of the image
Color depth, number of bits to store distinct color value
Image file size is calculated by:
Width x Height x Color Depth
[igCS] Image Representation
by Andy tsui
Show answer
Auto Play
Slide 1 / 33
SLIDE
Similar Resources on Wayground
26 questions
Cell Differentiation
Presentation
•
9th - 10th Grade
26 questions
Υπηρεσίες και εφαρμογές του Διαδικτύου
Presentation
•
9th - 10th Grade
23 questions
Parity Bit Kls 9
Presentation
•
9th Grade
26 questions
Genotype & Phenotype
Presentation
•
8th Grade
27 questions
Modeling Chemical Reactions
Presentation
•
8th Grade
30 questions
Figurative Language and Literary Devices
Presentation
•
9th Grade
28 questions
Non-Mendelian Inheritance
Presentation
•
9th Grade
24 questions
Ecological Relationships Lesson
Presentation
•
9th Grade
Popular Resources on Wayground
28 questions
US History Regents Review
Quiz
•
11th Grade
36 questions
Biology Regents Review
Quiz
•
9th - 10th Grade
20 questions
Math Review
Quiz
•
3rd Grade
38 questions
Regents Life Science General Review
Quiz
•
9th Grade
20 questions
Math Review
Quiz
•
6th Grade
21 questions
EOY Grade 6 Benchmark Assessment - Content Skills
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
36 questions
Biology Regents Review
Quiz
•
9th - 10th Grade
38 questions
Regents Life Science General Review
Quiz
•
9th Grade
45 questions
Earth and Space Science Regents: Exam Cram
Presentation
•
7th - 12th Grade
6 questions
Regression Practice
Quiz
•
9th Grade
25 questions
Biology Regents Review
Quiz
•
9th Grade
50 questions
US History Comprehensive Final Exam
Quiz
•
9th - 12th Grade
43 questions
Algebra 1 Final Review 2026
Quiz
•
9th Grade
36 questions
WMS Pre-algebra Final Review
Quiz
•
8th - 9th Grade