RidgeRun AEW Library: librraew  1.1
rraew_colorpattern Struct Reference

Bayer pattern order. More...

#include <rraew.h>

List of all members.

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.

Detailed Description

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.

Note:
To avoid filling this struct by your self, you can use: colorptn_GrRBGb, colorptn_BGbGrR, colorptn_RGrGbB or colorptn_GbBRGr

Member Data Documentation

Position of the blue channel.

Position of the green-blue channel.

Position of the green-red channel.

Position of the red channel.


The documentation for this struct was generated from the following file: