Presentation on theme: "Image and Sound Representation"— Presentation transcript


, 001, 010, 011, 100, 101, 110, 111


Download 1.24 Mb.
bet2/3
Sana13.01.2023
Hajmi1.24 Mb.
#1091051
1   2   3
Bog'liq
Image and Sound Representation

000, 001, 010, 011, 100, 101, 110, 111.

Colour depth

The number of bits used to represent each colour is called the colour depth. An 8 bit colour depth means that each pixel can be one of 256 colours (because 28 = 256). Modern computers have a 24 bit colour depth, which means over 16 million different colours can be represented With x pixels, 2x colours can be represented as a generalisation. Increasing colour depth also increases the size of the file when storing an image.

Resolution

  • A Bitmap image is made up of a grid of pixels.
  • An image could be 600 pixels wide by 400 pixels high.
  • The resolution of this image would be 600X400.
  • If the resolution is increased the quality, not the physical size, is increased and it takes up more of memory to store it.

Making an image file

  • For a picture of a flower four colours are used. These numbers are represented as binary.
  • The number of bits we use dictates how many colours we could use. If we wanted to store more than 4 colours we would have to use more than 2 bits.

11

11

11

11

11

11

11

11

11

10

11

10

11

10

11

11

11

11

10

10

10

11


Download 1.24 Mb.

Do'stlaringiz bilan baham:
1   2   3




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling