Industrial camera - output image format RAW, RGB, YUV

Article directory


Output FormatOutput format

1.RAW(或RAW RGB)

The original image format output by the CMOS image sensor is RAW. A RAW image is the raw data in which the CMOS image sensor converts the captured light source signal into a digital signal. A RAW file is a file that records the original information of a digital camera sensor, and also records some raw data (Metadata, such as ISO settings, shutter speed, aperture value, white balance, etc.) generated by the camera. RAW is an unprocessed and uncompressed format. RAW can be conceptualized as "original image encoding data" or more vividly as "digital negative".

2.RGB

RGB565, each pixel is represented by 16 bits, and the RGB components use 5-bit, 6-bit, and 5-bit respectively (commonly used is the RGB mentioned above).
RGB555, each pixel is represented by 16 bits, and the RGB components use 5 bits (the remaining 1 bit is not used).
RGB24, each pixel is represented by 24 bits, and the RGB components use 8 bits each.
RGB32, each pixel is represented by 32 bits, and each RGB component uses 8 bits (the remaining 8 bits are not used).
ARGB32, each pixel is represented by 32 bits, and each RGB component uses 8 bits (the remaining 8 bits are used to represent the Alpha channel value).

3. YUV

Among the three letters of YUV, "Y" represents brightness (Luminance or Luma), which is the grayscale value. "U" and "V" represent chrominance (Chrominance or Chroma), which is used to describe the color and saturation of the image and is used to specify the color of the pixel. There are two major categories of YUV storage formats, planar (flat format) and packed (packed format).

Guess you like

Origin blog.csdn.net/m0_51233386/article/details/135416469