Mathematical Description
- An image is a function mapping pixel positions to values.
- Its domain is a set of the form D = {0, 1, ..., m-1} ? {0, 1, ..., n-1}
- Its range is a set of possible "pixel values." Different kinds of images have different ranges.
- A binary image has range {0, 1}.
- A monochrome image typically has range {0, 1, ..., 255}.
- An RGB typically has range {0, 1, ..., 255}3.