Information in Images
Information in Images We will find out: How images are related to a binary data stream How to calculate the information content of an ‘n’ bit binary number Why logarithmic scales are used to sometimes represent numbers 100011110100010101
Pixelated Images Image made of pixels Each pixel has more than just ‘on’ or ‘off’ setting… It has many different levels – this is dependent on the number of bits
Bits and Bobs 100011110100010101 This is a bit stream It represents a range of values of ‘zero’ or ‘one’ Each number has a value – 2 n
0 1 0 1 0 1 6 5 4 3 2 1 64 32 16  8  4  2 Bit Stream n 2 n This is a 6-bit number – it has a maximum of 2 6  = 64 possible values The actual value above is 21 – can you see why? What are the number of possible values with 8-bits?
0 0 0 1 0 1 0 1 8 7 6 5 4 3 2 1 256 128 64 32 16  8  4  2 What are the number of possible values with 8-bits? There are 256 values – 0 to 255 or 2 8 Binary numbers are to the base 2 – written log 2
 
 
 

1

  • 1.
  • 2.
    Information in ImagesWe will find out: How images are related to a binary data stream How to calculate the information content of an ‘n’ bit binary number Why logarithmic scales are used to sometimes represent numbers 100011110100010101
  • 3.
    Pixelated Images Imagemade of pixels Each pixel has more than just ‘on’ or ‘off’ setting… It has many different levels – this is dependent on the number of bits
  • 4.
    Bits and Bobs100011110100010101 This is a bit stream It represents a range of values of ‘zero’ or ‘one’ Each number has a value – 2 n
  • 5.
    0 1 01 0 1 6 5 4 3 2 1 64 32 16 8 4 2 Bit Stream n 2 n This is a 6-bit number – it has a maximum of 2 6 = 64 possible values The actual value above is 21 – can you see why? What are the number of possible values with 8-bits?
  • 6.
    0 0 01 0 1 0 1 8 7 6 5 4 3 2 1 256 128 64 32 16 8 4 2 What are the number of possible values with 8-bits? There are 256 values – 0 to 255 or 2 8 Binary numbers are to the base 2 – written log 2
  • 7.
  • 8.
  • 9.