Title: Analog to Digits
1Analog to Digits
2Information
- Information comes in many forms
- Words, Numbers, Pictures, Sounds
- Computers only understand information in digital
form - Information must be broken into bits
3Bits, Bytes, and Buzzwords
- Common terms might describe file size or memory
size
- Bit smallest unit of information (1 or 0)
- Byte a grouping of eight bits of information
(11010100)
4Bits as Codes
- ASCII - American Standard Code for Information
Interchange - most widely used code, represents each character
as a unique 8-bit code.
5ASCII American Standard Code for Information Inter
change
most widely used code, represents each character
as a unique 8-bit code.
6(No Transcript)
7Thats one small step for man, one giant leap
for mankind
8Encoding text
- ASCII character set
- Assigns numbers to letters
- 7 bits 128 I s the standard ASCII
- 8 bits 256 possible characters ( only need about
150) - A is 65 and a is 97
- is 36
- Bell is 7
- 16 bit character set (65,000 possible
characters) - An extension will include as many as a million
characters
9Encoding text
- Unicode
- 16 bit character set (65,000 possible
characters) - a unique number for every character,no matter
what the platform,no matter what the program,no
matter what the language. - For the principal written languages
- Includes Chinese with its more than 13,000
characters of normal use (50,000 total characters)
10Unicoded Language sets
- Latin, Greek, Cyrillic, Armenian, Hebrew, Arabic,
Devanagari, Bengali, Gurmukhi, Gujarati, Oriya,
Tamil, Telugu, Kannada, Malayalam, Thai, Lao,
Georgian, Tibetan, Japanese
- Kana, modern Korean Hangul
- a unified set of Chinese/Japanese/Korean (CJK)
ideographs. Ethiopic, Canadian Syllabics,
Cherokee, additional rare ideographs, Sinhala,
Syriac, Burmese, Khmer, and Braille.
11The Binary System
- The first 256 codes are the ASCII codes, then
follows sections of other character sets
12Unicode Standard
- does not define glyph images.
- defines how characters are interpreted, not how
glyphs are visually displayed - The software or hardware-rendering engine of a
computer is responsible for the appearance of the
characters on the screen. - The Unicode Standard does not specify the size,
shape, nor orientation of on-screen characters.
13Bits as Instructions
- The computer stores programs as collections of
bits. - For instance, 01101010 might instruct the
computer to add two numbers.
- Other bit instructions might include where to
find numbers stored in memory or where to store
them.
14The Binary System
- Now that we have discussed the binary system, you
will understand the statement - There are 10 kinds of people in this world.
- Those who understand the binary system
- and those who dont
15Analog sound and pictures
Chemically developed pictures have continuous
shades and color
- A violins notes are continuous
16Digitizing Images
- Images are digitized using a two step process
- 1. Sampling the continuous tone image into pixels
- 2. Quantifying the pixels by assigning a number
to each pixel
17Sampling
- The image is broken up into a grid of cells.
- These cells are called Picture Elements
- Better known as Pixels
- The number of rows and columns is the resolution
- This one is 40 X 80
18Sampling
- Before one number can be assigned to a pixel,
there must be one color for each pixel - Pixel samples are averaged
19Quantifying
Stored as
1111 1110 1100 1010 1000 1001
- Each pixel is assigned the number of the
associated shade. - This image uses a 4 bit code for the shades of
gray
0 1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
20Example Digitizing Images
- Color images require a much larger file
- Each pixel has not only color, but shade,and
intensity - Or for Monitors mixture of Red, Green and Blue
21Three bytes for each color pixel
11111111 10000000 10000000
22Monitor vs Image Pixels
One image pixel could be composed of many screen
pixels
23Thats all folks!