RidgeRun AEW Library: librraew
1.1
|
Bayer pattern order. More...
#include <rraew.h>
Public Attributes | |
unsigned char | r_offset |
Position of the red channel. | |
unsigned char | gr_offset |
Position of the green-red channel. | |
unsigned char | gb_offset |
Position of the green-blue channel. | |
unsigned char | b_offset |
Position of the blue channel. |
Bayer pattern order.
In a Bayer pattern there are three different color filters. They have the colors red(R), green(G), and blue(B) on a 2x2 grid of pixels. Two are always green and these always lie on a diagonal. This results in four possible constellations for the three colors.
Here you must specify the order in which the R, Gr, Gb and B colors are sent to the statistical hardware module. The values are from 0 to 3, where 0 represents the first pixel position.
unsigned char rraew_colorpattern::b_offset |
Position of the blue channel.
unsigned char rraew_colorpattern::gb_offset |
Position of the green-blue channel.
unsigned char rraew_colorpattern::gr_offset |
Position of the green-red channel.
unsigned char rraew_colorpattern::r_offset |
Position of the red channel.