Вопрос задан 26.07.2023 в 04:30. Предмет Информатика. Спрашивает Шустов Денис.

1)I=24 кб k=128 на 256 N-? 2)I=10 кб к=128*128 N-? ... N-количество цветов в палитре i-вес

одного пикселя k-количество пикселей в изображении I-вес всего изображения
0 0
Перейти к ответам

Ответы на вопрос

Внимание! Ответы на вопросы дают живые люди. Они могут содержать ошибочную информацию, заблуждения, а также ответы могут быть сгенерированы нейросетями. Будьте внимательны. Если вы уверены, что ответ неверный, нажмите кнопку "Пожаловаться" под ответом.
Отвечает Вараксина Катя.
128×256/8/1024=4
24/4=6 бит




128×128/8/1024=2
10/2=5 бит
0 0
Отвечает нейросеть ChatGpt. Будьте внимательны, ответы нейросети могут содержать ошибочные или выдуманные данные.

To calculate the value of N, we can use the following formulas:

  1. N = (I * 1024) / (k * 256)

Where: I = 24 kB (kilobytes) = 24 * 1024 bytes k = 128 pixels * 256 pixels N = the number of colors in the palette

Let's plug in the values and calculate:

N = (24 * 1024) / (128 * 256) N = 24576 / 32768 N ≈ 0.75

Since N represents the number of colors in the palette, it should be a whole number, so we round down to the nearest integer. Hence, N = 0.

  1. N = (I * 1024) / k

Where: I = 10 kB (kilobytes) = 10 * 1024 bytes k = 128 pixels * 128 pixels N = the number of colors in the palette

Now, let's calculate:

N = (10 * 1024) / (128 * 128) N = 10240 / 16384 N ≈ 0.625

Again, since N should be a whole number, we round down to the nearest integer. So, N = 0.

It seems like both calculations resulted in N being 0. This suggests that the number of colors in the palette is very limited or not used effectively in the given images. Usually, an image with a palette will have more than just 0 colors. If you have any additional information or context about the images, feel free to provide it, and I can assist you further.

0 0

Похожие вопросы

Топ вопросов за вчера в категории Информатика

Последние заданные вопросы в категории Информатика

Задать вопрос