A digital image is represented by a matrix of values, where each value is a function of the information surrounding the corresponding point in the image. A single element in an image matrix is a picture element, or pixel.
In a color system, a pixel includes information for all color …