What is the difference between RGB and raw RGB?

Source: Internet
Author: User

The data output format of the camera is generally divided into ccir601, ccir656, raw RGB and other formats. Here, the RGB format should be ccir601 or ccir656. The raw RGB format is different from the normal RGB format.

We know that the sensor's photosensitive principle is to sample and quantify the light by one photosensitive point. However, in the sensor, each photosensitive point can only be a color in RGB. Therefore, 0.3 million pixels or 1.3 million pixels usually refer to 0.3 million or 1.3 million photosensitive points. Each photosensitive point can only be subject to one color.

However, to restore a real image, each vertex must have three colors: RGB. Therefore, for the ccir601 or 656 format, an ISP module is deployed in the sensor module, the data collected by the sensor is interpolated and processed with special effects. For example, if the color of a photosensitive point is R, the ISP module calculates the values of G and B based on the values of G and B photosensitive points around this photosensitive point. Then, the RGB values of this point are restored, then it is transmitted to the host in the encoded format 601 or 656.
In raw RGB format, sensor directly transmits RGB values that are sensed by no photosensitive point to the host for interpolation and special effect processing.

 

Fixed:

No, I think the GB value is calculated based on the surrounding GB points. The sensor may supportAlgorithmTo correct the R value: the R value of this point is obtained based on the R value of the surrounding area. Obtains the RGB value of the pixel.

 

Raw RGB each pixel has only one color (one of R, G, and B );
Each pixel in RGB has three colors, each of which ranges from 0 ~ Between 255;
During the mobile phone camera test, raw data (raw RGB) is output by the sensor, which is converted to RGB after color interpolation.

 

it is not necessarily a test process. To obtain a real image, you must have a process.
the data formats output by sensor are mainly divided into two types: YUV (Popular), RGB, which is the sonsor data output; GRB is raw RGB, it is the data obtained by the sensor's Bayer array (each sensor obtains the corresponding color brightness);
however, the output data is not the actual data of the image. During the module test, write a software program to complete data acquisition (raw data)-> color interpolation (to obtain RGB format for easy Image Display)-> image display;
in this way, we can find out whether the entire module is normal, whether there are bad points or dirty points, and find defective products. (in order to achieve better image quality, white Balance, Gamma Correction, and color correction are also required.
in mobile apps, the mobile phone provides an ISP (mainly used in RGB format) based on the data format of the camera module ), use the software to apply the camera functions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.