An image is a two-dimensional representation of information that is perceived
by our eyes. This is an image.
Images in matlab are stored as matrices with each value representing the
value of one pixel. Thus, the number of rows corresponds to the height, and
the number of columns corressonds to the width.
---------------------------------- ... | 0 200 201 202 0 0 | | 0 156 0 10 3 2 | | 0 212 193 0 0 19 | . 0 145 2 4 5 0 . . 4 250 10 9 2 6
Each value of the matrix ranges from 0 to 255, and maps to one of 256 colors.
The color map that we used for this project was a grayscale map with 0 being
completely black, and 255 being completely white. The numbers in-between
ranged something through all of the grays.
We chose grayscale because it allows us to change the intensity of an
individual pixel in a predicatable orderly fashion.
While, using other color maps, adjacent values may not be map to related
colors.