Upcoming SlideShare
×

# 1

350

Published on

Published in: Technology, Art & Photos
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total Views
350
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
0
0
Likes
0
Embeds 0
No embeds

No notes for slide

### 1

1. 1. Information in Images
2. 2. Information in Images <ul><li>We will find out: </li></ul><ul><li>How images are related to a binary data stream </li></ul><ul><li>How to calculate the information content of an ‘n’ bit binary number </li></ul><ul><li>Why logarithmic scales are used to sometimes represent numbers </li></ul><ul><li>100011110100010101 </li></ul>
3. 3. 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
4. 4. Bits and Bobs <ul><li>100011110100010101 </li></ul><ul><li>This is a bit stream </li></ul><ul><li>It represents a range of values of ‘zero’ or ‘one’ </li></ul><ul><li>Each number has a value – 2 n </li></ul>
5. 5. <ul><li>0 1 0 1 0 1 </li></ul><ul><li>6 5 4 3 2 1 </li></ul><ul><li>64 32 16 8 4 2 </li></ul>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. 6. <ul><li>0 0 0 1 0 1 0 1 </li></ul><ul><li>8 7 6 5 4 3 2 1 </li></ul><ul><li>256 128 64 32 16 8 4 2 </li></ul>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