Image Types |
Most of the digital image channels have 256 intensity levels coded on 8 bits per channel. The color image is produced by combining three channels. The grayscale images have only one channel with 256 gray levels per pixel. The binary images are coded on 1 bit and therefore have only 2 levels.
A binary image has only one channel (Binary). Pixel values in binary images are either black or white. The binary images can be created by one of the segmentation methods.
Note: The color of the objects (white regions) is referred to as the foreground color. The rest (black) is referred to as the background color.
A grayscale image has only one channel (Gray levels). Pixel values in grayscale images are based upon luminance.
The Real Gray channel results from the conversion of a color image to a grayscale image (in lens options or in channel operations). The coefficients used to compute luminance are 0.299 (red), 0.587 (green) and 0.114 (blue). Pixel = 0.299 * red + 0.587 *green + 0.114 *blue.
In lens options or in channel operations, a color image can be separated into three channels using the RGB or IHS color space or in one Real Gray channel (see above).
The RGB model is an additive color model and also one of the most common. It has three primary colors: red, green and blue. These three colors are combined in various proportions to produce all the colors displayed on your image. The ICC (International Color Consortium) profile used by JMicroVision is the sRGB.
IHS (or called HSV) is a more intuitive color space than RGB.