Advanced Placement (AP)
Advanced Placement (AP), 16.02.2021 01:00, cycy24

The image in the previous exercise used the classic RGB color representation to represent color. That’s 24 bits to represent each color. However, the image only had 4 different colors in it! 24 bits is nice when we need to represent millions of different colors, but in this scenario we only needed to represent 4 colors!

If an image has only 4 colors, how many bits are necessary to represent one pixel’s color?

Describe a new custom encoding that uses fewer bits to represent each color in the image. What is your encoding for each color?

If you were to re-encode this image using your new encoding, how many bits would you save when compared to the 24 bit RGB encoding? As a reminder, here is the image:

It is 17 pixels wide, 20 pixels tall, and has 4 different colors: red, blue, black, and white.

If you were to decompress your image would you lose any quality or would you be able to get back to the original image?

answer
Answers: 3

Other questions on the subject: Advanced Placement (AP)

image
Advanced Placement (AP), 22.06.2019 22:00, xXCoryxKenshinXx
Find a word that makes the both words
Answers: 1
image
Advanced Placement (AP), 23.06.2019 18:30, mikey8510
Describe the social and economic challenges facing the newly formed country of slovakia.
Answers: 1
image
Advanced Placement (AP), 24.06.2019 19:00, nsg0686
Melissa is fearful of men and refuses to go on dates. her therapist suggests that she is fearful because she was sexually abused when she was young. the therapist's suggestion most clearly reflects a perspective. a.) humanistic b.) behavioralc.) biological d.) psychoanalytice.) sociocultural
Answers: 1
image
Advanced Placement (AP), 24.06.2019 22:30, bnnnkyl22
Which excerpt from act iv of hamlet best provides evidence of the theme’s development?
Answers: 1
Do you know the correct answer?
The image in the previous exercise used the classic RGB color representation to represent color. Tha...

Questions in other subjects:

Konu
English, 02.11.2020 17:50
Konu
Mathematics, 02.11.2020 17:50
Konu
Social Studies, 02.11.2020 17:50