subject
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?

ansver
Answers: 3

Other questions on the subject: Advanced Placement (AP)

image
Advanced Placement (AP), 23.06.2019 21:30, kamkam5791
According to binet, mental age relates to chronological age because a. they are the same thing b. mental age involves calculating the chronological age at which a person functions c. chronological age involves calculating how a person is mentally functioning d. they are opposites 38
Answers: 1
image
Advanced Placement (AP), 23.06.2019 23:30, karateprincess1
Assume that the banner needs to be 18 feet long instead of 15 feet
Answers: 1
image
Advanced Placement (AP), 24.06.2019 01:00, aksambo4707
What did executive order 9981 accomplish
Answers: 1
image
Advanced Placement (AP), 24.06.2019 11:00, payshencec21
We're always up for a good laugh, but, seriously, refrain from posting silly or answers. keep the quality of high by following the rules and posting thoughtful answers.
Answers: 1
You know the right answer?
The image in the previous exercise used the classic RGB color representation to represent color. Tha...

Questions in other subjects:

Konu
English, 19.02.2021 07:10
Konu
Mathematics, 19.02.2021 07:10