Image Representation
As discussed in the Image Sensor section, digital photos are represented as a two-dimensional grid of picture elements (or pixels). Associated with every pixel are two sets of information - its position (or location) in the photo and its color. The position of a pixel is its horizontal and vertical distance from the top-left corner pixel. From the example in Figure 3, a pixel with position (56, 60) is the 56th pixel from left to right and the 60th pixel from top to bottom. The color of a pixel is usually represented as a combination of three basic colors: red, green, and blue. It has been shown that most of the colors that are distinguishable by our eyes can be obtained by mixing the three basic colors in varying proportions [1]. The interactive demo in Figure 2 shows how different colors can be obtained by mixing red, green and blue colors. Try varying the slider to control the amount of each color. Please refer to the Image Sensor section for a detailed discussion on pixel and color representation.
References
|
Copyright © 2009 Shree Nayar. Computer Vision Laboratory, Columbia University. Bigshot is a registered trademark.