Sunday, November 27, 2011

Assign # 33 - Image Encoding

  1. An image is 800 by 500 pixels, and each pixel can be one of four colors. How much memory would it require?   Four colors is also known as 2 bit color. The memory required is 800 x 500 x 2 = 800,000 bits or 100,000 bytes.

  1. An image is 800 by 500 pixels, and each pixel can be one of four colors. How much storage space would it require? Four colors is also known as 2 bit color. The storage space required is, 800 x 500 x 2 = 800,000 bits or 100,000 bytes.

  1. How many different colors could one represent using two, three and four bit codes? Two bit codes is four colors.  Three bit codes is eight colors. Four bit codes is sixteen colors

  1. When you add one bit to a code, what happens to the number of possible colors? It doubles.

CIS 275 Assignment 24 - Encoding Text

Encoding Text
This assignment illustrates the encoding of text information.

1. If you took a picture of your car, could you store that using the ISO 8859-1 character standard?

No, because ISO 8859-1 is the code meant to be for the text for the browsers.



2. Write the word Hello using the ISO 8859-1 character standard.
0100100001100101011011000110110001101111

a. How many bits did it take?
 40 bits

b. How many bytes did it take?
 5 bytes

c. Would it take more bytes in memory than in storage?
 It would be the same in both places.

 3. At 10 bits per second, how long would it take to transmit Hello from one computer to another?
 It would take 4 second.

4. Which contains more information 100 random bits or 1,000 random bits?
 If both of them are random bits with no code, which means no information can be translated as a meaningful.

CIS 275 Assignment #23 - Image Processing Practice

Image processing practice: This assignment will give you practice with image processing.

Modify the three images shown below. (You can get full size copies of the images by clicking on them).

The "BEFORE" images...

Shorten this image:

Remove the last sentence from this image:

Remove the oarlock from this image:

The "AFTER" images...