Download Presentation

M150: Data, Computing and information

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

Unicode standard which represent characters on 2 bytes (16 bits) a total of 63 536 characters covering a much wider range than the ASCII standard.

19

1- Unit three : Crossing the boundary

When typing on a keyboard a program called BIOS (Basic Input/Output System) will transform the signal from the pressed button to its appropriate numerical code, other software will store it in memory.

20

1- Unit three : Crossing the boundary

Vision is the most dominant sense for a human being, a visual field includes light, colors, shade, form, etc…

Such features need to be transformed into numbers in order to cross the boundary and enter the computer world.

21

1- Unit three : Crossing the boundary

22

1- Unit three : Crossing the boundary

In the first painting, light and colors have a smooth look and effect.

In the second painting, light and colors have a grainy effect.

If we want to reduce an image into numbers we need to consider dividing it in a way similar to the second painting.

23

1- Unit three : Crossing the boundary

Simpler example:

Take an image.

Put a border.

Divide it into equal sized squares.

24

1- Unit three : Crossing the boundary

If the square is entirely grey make it white.

If the square is entirely colored (mauve) make it black.

If the square contains both grey and color, if more than the third of the square is mauve then it will become black otherwise it will become white.

25

1- Unit three : Crossing the boundary

In the resulting image, the number 0 will be assigned if the square is white and the number 1 will be assigned if the square is black. We obtain a binary image, each mapped square is called pixel (picture element), such image transformation is called bitmap encoding.

26

1- Unit three : Crossing the boundary

One bit was allocated to each pixel in the image, 0 or 1, either black or white.

Allocating more than one bit will result in shades in between black and white.