26Digital Image Processing and Manipulation

A digital image is a rectangular array of numbers representing the luminance and colour at discrete positions in a scene. The image can be thought of as a matrix of pixels, each pixel carrying three numeric values. The pixel position identifies a spatial coordinate and the pixel values represent luminance and colour at that position. The three values of a pixel depend on the colour model employed. For example, they may represent the primary spectral components of red, green and blue (RGB), or they may represent the luminance and two normalized colour values.

It should be noted that this structure does not necessarily relate easily to the source of the digital image. A CCD camera for example produces ...

Get Manual of Photography, 9th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.