Sample (graphics)
Encyclopedia
In computer graphics
, a sample is an intersection of channel
and a pixel
.
The diagram below depicts a 24-bit pixel, consisting of 3 samples for Red, Green, and Blue.
In this particular diagram, the Red sample occupies 9 bits, the Green sample occupies 7 bits and the Blue sample occupies 8 bits, totaling 24 bits per pixel. Note that the samples do not have to be equal size and not all samples are mandatory in a pixel.
Also, a pixel can consist of more than 3 samples (e.g. 4 samples of the RGBA color space
).
A sample is related to a subpixel on a physical display.
Computer graphics
Computer graphics are graphics created using computers and, more generally, the representation and manipulation of image data by a computer with help from specialized software and hardware....
, a sample is an intersection of channel
Channel (digital image)
Color digital images are made of pixels, and pixels are made of combinations of primary colors. A channel in this context is the grayscale image of the same size as a color image, made of just one of these primary colors. For instance, an image from a standard digital camera will have a red, green...
and a pixel
Pixel
In digital imaging, a pixel, or pel, is a single point in a raster image, or the smallest addressable screen element in a display device; it is the smallest unit of picture that can be represented or controlled....
.
The diagram below depicts a 24-bit pixel, consisting of 3 samples for Red, Green, and Blue.
In this particular diagram, the Red sample occupies 9 bits, the Green sample occupies 7 bits and the Blue sample occupies 8 bits, totaling 24 bits per pixel. Note that the samples do not have to be equal size and not all samples are mandatory in a pixel.
Also, a pixel can consist of more than 3 samples (e.g. 4 samples of the RGBA color space
RGBA color space
RGBA stands for Red Green Blue Alpha. While it is sometimes described as a color space, it is actually simply a use of the RGB color model, with extra information. The color is RGB, and may belong to any RGB color space, but an integral alpha value as invented by Catmull and Smith between 1971 and...
).
A sample is related to a subpixel on a physical display.