Output Format
Grablink Quickpack CFA has eight classes of output data formats:
Output format classes
Format class |
Shortcut name |
Description |
Monochrome |
Y* |
One single data plane containing luminance component. |
Bayer CFA |
BAYER* |
One single data plane containing raw BAYER CFA data. |
Three packed R G B components |
RGB* |
One single data plane containing red, green, and blue color components in a packed format. |
Three planar R G B components |
RGB*PL |
Three data planes containing respectively red, green, and blue color components. |
Four packed R G B a components |
RGB* |
One single data plane containing red, green, blue color components and an alpha key in a packed format. |
Four packed R G B Y components |
YRGB* |
One single data plane containing red, green, blue color components and luminance component in a packed format. |
Three packed R G B components + Y component |
RGB*Y* |
Two data planes; the first one containing red, green, and blue color components in a packed format; the second containing the luminance component. |
Three planar R G B components + Y component |
RGB*PLY* |
Four data planes containing respectively red, green, blue, and luminance components. |
Following table defines the output format classes compatible with the selected camera type.
Compatible output format vs. camera type
Camera type |
Compatible output format classes |
Monochrome cameras |
Y* |
Bayer CFA color cameras |
Y*, BAYER*, RGB*, RGB*PL, RGB*, YRGB*, RGB*Y*, RGB*PLY* |
RGB color cameras |
Y*, RGB*, RGB*PL, RGB*, YRGB*, RGB*Y*, RGB*PLY* |
* The name is a shortcut for the number string such as 08, 10, 24, 10_12_10 … which specifies the number of significant bits.
The data output format is specified by ColorFormat. Following table lists the main characteristics of the data output formats available on Grablink Quickpack CFA.
Data output format characteristics
ColorFormat |
RGB components storage method |
Pixel components |
Bytes per pixel |
Surface planes |
MONOCHROME FORMATS |
||||
Y8 |
N/A |
1 |
1 |
1 |
Y10, Y12, Y16 |
N/A |
1 |
2 |
1 |
BAYER CFA FORMATS |
||||
BAYER8 |
N/A |
1 |
1 |
1 |
BAYER10, BAYER12, BAYER16 |
N/A |
1 |
2 |
1 |
THREE PACKED R G B COMPONENTS FORMATS |
||||
RGB15, RGB16 |
Packed |
3 |
2 |
1 |
RGB24 |
Packed |
3 |
3 |
1 |
RGB10_10_10, RGB10_12_10 |
Packed |
3 |
4 |
1 |
RGB48 |
Packed |
3 |
6 |
1 |
THREE PLANAR R G B COMPONENTS FORMATS |
||||
RGB24PL |
Planar |
3 |
3 |
3 |
RGB30PL, RGB36PL, RGB48PL |
Planar |
3 |
6 |
3 |
FOUR PACKED R G B ALPHA COMPONENTS FORMATS |
||||
RGB32, RGB32 |
Packed |
4 |
4 |
1 |
RGB64 |
Packed |
4 |
8 |
1 |
THREE PACKED R G B COMPONENTS + Y FORMATS |
||||
RGB15Y8, RGB16Y8 |
Packed |
4 |
3 |
2 |
RGB24Y8 |
Packed |
4 |
4 |
2 |
RGB24Y10, RGB24Y12, RGB24Y16 |
Packed |
4 |
5 |
2 |
FOUR PACKED R G B Y COMPONENTS FORMATS |
||||
YRGB32 |
Packed |
4 |
4 |
1 |
YRGB64 |
Packed |
4 |
8 |
1 |
THREE PLANAR R G B COMPONENTS + Y FORMATS |
||||
RGB24PLY8 |
Planar |
4 |
4 |
4 |
RGB24PLY10, RGB24PLY12, RGB24PLY16 |
Planar |
4 |
5 |
4 |
RGB30PLY8, RGB36PLY8, RGB48PLY8 |
Planar |
4 |
7 |
4 |
RGB30PLY10, RGB30PLY12, RGB30PLY16 RGB36PLY10, RGB36PLY12, RGB36PLY16 RGB48PLY10, RGB48PLY12, RGB48PLY16 |
Planar |
4 |
8 |
4 |
MultiCam assigns a default value to ColorFormat on the basis of the selected camera type.
Color format default value
Camera type |
ColorFormat default value |
Monochrome cameras |
Y8 |
Bayer CFA color cameras |
RGB24 |
RGB color cameras |
RGB24 |
The planes into the destination surface are conventionally indexed as follows.
Plane numbering convention
Output format mnemonic |
Plane0 |
Plane1 |
Plane2 |
Plane3 |
Y* |
Y |
- |
- |
- |
BAYER* |
R, G or B |
- |
- |
- |
RGB* |
RGB |
- |
- |
- |
RGB*PL* |
R |
G |
B |
- |
RGB* |
RGB |
- |
- |
- |
YRGB* |
YRGB |
- |
- |
- |
RGB*Y* |
RGB |
Y |
- |
- |
RGB*PLY* |
R |
G |
B |
Y |
* The name is a shortcut for the number string such as 08, 10, 24, 10_12_10 … which specifies the number of significant bits.
The nature of data stored in a plane is reported by the enumerated collection parameter SurfacePlaneName. Following table lists the values applicable to the Grablink Quickpack CFA.
Surface plane name
SurfacePlaneName |
Description |
Y |
This plane contains the luminance component. |
R |
This plane contains the red color component. |
G |
This plane contains the green color component. |
B |
This plane contains the blue color component. |
RGB |
This plane contains the 3 color components of the RGB color system. (This is applicable both to RGB packed RGB and BAYER CFA formats.) |
YRGB |
This plane contains the 3 color components of the RGB color system and the luminance component. |