You are on page 1of 3

Digital Multimedia – Class Activity 02 12 – 03 – 2017

University of Science & Technology


Subject : Digital Multimedia
Ibb Branch
Lecturer: Dr. Redhwan Q. Shaddad
Faculty of Computer Science & IT
Activity Time: 10 min
IT program – 3rd Level

Class Activity 02 Solution

Names of group students: 1. ………………………………………………

2. ………………………………………………

3. ………………………………………………

 An 8×8 image is represented as shown in the following figure using 8-gray scale levels.

; : ^

.. ; : ^

.. ; : ^ # #

# # . : ; ..

. : ; ..

. : ;

Gray scale levels can be shown as:

; ^ . .. : #
0 1 2 3 4 5 6 7
000 001 010 011 100 101 110 111

Number of gray levels = L = 2k = 8

Number of bits per pixel = k =3 bit

Page 1 of 3
Digital Multimedia – Class Activity 02 12 – 03 – 2017

1. Represent this image by using the integer numbers according to the given gray scale.

0 0 0 0 0 0 0 0

0 1 7 5 7 7 2 0

0 4 1 5 7 2 7 0

0 4 1 5 2 6 6 0

0 6 6 3 5 1 4 0

0 7 3 7 5 1 4 0

0 3 7 7 5 7 1 0

0 0 0 0 0 0 0 0

2. Digitize this image according to the 8-gray scale levels.

000 000 000 000 000 000 000 000

000 001 111 101 111 111 010 000

000 100 001 101 111 010 111 000

000 100 001 101 010 110 110 000

000 110 110 011 101 001 100 000

000 111 011 111 101 001 100 000

000 011 111 111 101 111 001 000


000 000 000 000 000 000 000 000

3. Find the storage memory size for this image.

In bytes:

Page 2 of 3
Digital Multimedia – Class Activity 02 12 – 03 – 2017

4. How much the required time in minutes to transmit 100 frames of this image along a
wireless channel with bit rate of 24 kbps?

There are 100 frames, so the total size = 100 × 8 × 8 × 3 bits = 100 × 192 bits

5. If this image is represented by using 256- gray scale levels, repeat the requirements in 3
and 4.

Now the number of gray levels = L = 2k = 256

Number of bits per pixel = k =8 bit

In bytes:

Good Luck

Page 3 of 3

You might also like