• Support Home
  • Getting Started
    • Connecting Your Camera
    • 3rd Party Software Getting Started Guides
  • Tech Ref Manuals
    • Arena SDK Documentation
    • HTP003S – Helios2+ ToF 3D
    • HLT003S – Helios2 ToF 3D
    • HLS003S – Helios ToF 3D
    • HLF003S – Helios Flex ToF 3D
    • ATX245S – Atlas10 24.5 MP
    • ATX204S – Atlas10 20.4 MP
    • ATX162S – Atlas10 16.2 MP
    • ATX124S – Atlas10 12.3 MP
    • ATX081S – Atlas10 8.1 MP
    • ATX051S – Atlas10 5.0 MP
    • ATL314S – Atlas 31.4 MP
    • ATL196S – Atlas 19.6 MP
    • ATL168S – Atlas 16.8 MP
    • ATL120S – Atlas 12.3 MP
    • ATL089S – Atlas 8.9 MP
    • ATL071S – Atlas 7.1 MP
    • ATL050S – Atlas 5.0 MP
    • ATL028S – Atlas 2.8 MP
    • ATP200S – Atlas IP67 20 MP
    • ATP120S – Atlas IP67 12.3 MP
    • ATP089S -Atlas IP67 8.9 MP
    • ATP071S – Atlas IP67 7.1 MP
    • ATP028S – Atlas IP67 2.8 MP
    • TRI200S – Triton 20.0 MP
    • TRI120S – Triton 12.3 MP
    • TRI122S – Triton 12.2 MP
    • TRI089S – Triton 8.9 MP
    • TRI071S – Triton 7.1 MP
    • TRI064S – Triton 6.3 MP
    • TRI054S – Triton 5.4 MP
    • TRI050S-P/Q – Triton 5.0 MP Polarized
    • TRI050S – Triton 5.0 MP
    • TRI032S – Triton 3.2 MP
    • TRI028S – Triton 2.8 MP
    • TRI023S – Triton 2.3 MP
    • TRI016S – Triton 1.6 MP
    • TRI005S – Triton 0.5 MP
    • TRI004S – Triton 0.4 MP
    • TRI02KA – Triton 2K Line Scan
    • PHX200S – Phoenix 20.0 MP
    • PHX120S – Phoenix 12.3 MP
    • PHX122S – Phoenix 12.2 MP
    • PHX089S – Phoenix 8.9 MP
    • PHX064S – Phoenix 6.3 MP
    • PHX050S-P/Q – Phoenix 5.0 MP Polarized
    • PHX050S – Phoenix 5.0 MP
    • PHX032S – Phoenix 3.2 MP
    • PHX023S – Phoenix 2.3 MP
    • PHX016S – Phoenix 1.6 MP
    • PHX004S – Phoenix 0.4 MP
  • Application Notes
    • Bandwidth Sharing in Multi-Camera Systems
    • Combine Helios 3D Point Cloud with RGB Color
    • I2C Support on LUCID Cameras
    • Using GPIO on LUCID Cameras
    • Using PTP & Scheduled Action Commands
    • Helios2 And Triton Synchronization
    • Product Change Notifications (PCN)
  • Knowledge Base
  • Contact Support
  • Log In
  • Support Home
  • Getting Started
    • Connecting Your Camera
    • 3rd Party Software Getting Started Guides
  • Tech Ref Manuals
    • Arena SDK Documentation
    • HTP003S – Helios2+ ToF 3D
    • HLT003S – Helios2 ToF 3D
    • HLS003S – Helios ToF 3D
    • HLF003S – Helios Flex ToF 3D
    • ATX245S – Atlas10 24.5 MP
    • ATX204S – Atlas10 20.4 MP
    • ATX162S – Atlas10 16.2 MP
    • ATX124S – Atlas10 12.3 MP
    • ATX081S – Atlas10 8.1 MP
    • ATX051S – Atlas10 5.0 MP
    • ATL314S – Atlas 31.4 MP
    • ATL196S – Atlas 19.6 MP
    • ATL168S – Atlas 16.8 MP
    • ATL120S – Atlas 12.3 MP
    • ATL089S – Atlas 8.9 MP
    • ATL071S – Atlas 7.1 MP
    • ATL050S – Atlas 5.0 MP
    • ATL028S – Atlas 2.8 MP
    • ATP200S – Atlas IP67 20 MP
    • ATP120S – Atlas IP67 12.3 MP
    • ATP089S -Atlas IP67 8.9 MP
    • ATP071S – Atlas IP67 7.1 MP
    • ATP028S – Atlas IP67 2.8 MP
    • TRI200S – Triton 20.0 MP
    • TRI120S – Triton 12.3 MP
    • TRI122S – Triton 12.2 MP
    • TRI089S – Triton 8.9 MP
    • TRI071S – Triton 7.1 MP
    • TRI064S – Triton 6.3 MP
    • TRI054S – Triton 5.4 MP
    • TRI050S-P/Q – Triton 5.0 MP Polarized
    • TRI050S – Triton 5.0 MP
    • TRI032S – Triton 3.2 MP
    • TRI028S – Triton 2.8 MP
    • TRI023S – Triton 2.3 MP
    • TRI016S – Triton 1.6 MP
    • TRI005S – Triton 0.5 MP
    • TRI004S – Triton 0.4 MP
    • TRI02KA – Triton 2K Line Scan
    • PHX200S – Phoenix 20.0 MP
    • PHX120S – Phoenix 12.3 MP
    • PHX122S – Phoenix 12.2 MP
    • PHX089S – Phoenix 8.9 MP
    • PHX064S – Phoenix 6.3 MP
    • PHX050S-P/Q – Phoenix 5.0 MP Polarized
    • PHX050S – Phoenix 5.0 MP
    • PHX032S – Phoenix 3.2 MP
    • PHX023S – Phoenix 2.3 MP
    • PHX016S – Phoenix 1.6 MP
    • PHX004S – Phoenix 0.4 MP
  • Application Notes
    • Bandwidth Sharing in Multi-Camera Systems
    • Combine Helios 3D Point Cloud with RGB Color
    • I2C Support on LUCID Cameras
    • Using GPIO on LUCID Cameras
    • Using PTP & Scheduled Action Commands
    • Helios2 And Triton Synchronization
    • Product Change Notifications (PCN)
  • Knowledge Base
  • Contact Support
  • Log In
home/Knowledge Base/Camera Features/Pixel Formats

Pixel Formats

6123 views 14 July 23, 2020 Updated on October 29, 2024

Introduction

Understanding pixel formats allow you to understand how images are put together. More specifically,  understanding these pixel formats will help you if you need to extract specific information from the pixels in the image that you receive from the camera. 

Jump to:

Color-processed pixel formats
RGB8
RGB12p
RGB16
RGB24
BGR8
BGR12p
BGR16
BGR24

Bayer RG formats
BayerRG8
BayerRG12p
BayerRG16
BayerRG24

Polarized pixel formats
PolarizedAngles_0d_45d_90d_135d_Mono8
PolarizedStokes_S0_S2_S1_S3_Mono8
PolarizedDolpAolp_Mono8
PolarizedDolpAolp_Mono12p
PolarizedDolp_Mono8
PolarizedDolp_Mono12p
PolarizedAolp_Mono8
PolarizedAolp_Mono12p

3D pixel formats
Coord3D_ABCY16
Coord3D_ABC16
Coord3D_C16Y8
Coord3D_CY16
Confidence16

Basic mono pixel formats
Mono8
Mono10
Mono10p
Mono10Packed
Mono12
Mono12p
Mono12Packed
Mono16

Linescan pixel formats
Linescan ROI

YCbCr pixel formats: basic and subsampled
YCbCr – Basic
YCbCr- Subsampled

Color-processed pixel formats

FOR YCbCr and YUV, see the separate sections for these formats. 

RGB8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0

RGB12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
3 2 1 0 3 2 1 0
7 0
Byte 5
3 2 1 0 7 6 5 4
7 0
Byte 6
3 2 1 0 7 6 5 4
7 0
Byte 7
3 2 1 0 3 2 1 0
7 0
Byte 8
3 2 1 0 7 6 5 4
7 0

RGB16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 6 2 1
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
7 6 5 4 3 2 1 0
7 0

RGB24

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
7 6 5 4 3 2 1 0
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
7 6 5 4 3 2 1 0
7 0
Byte 8
7 6 5 4 3 2 1 0
7 0

BGR8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0

BGR12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
3 2 1 0 3 2 1 0
7 0
Byte 5
3 2 1 0 7 6 5 4
7 0
Byte 6
3 2 1 0 7 6 5 4
7 0
Byte 7
3 2 1 0 7 6 5 4
7 0
Byte 8
3 2 1 0 7 6 5 4
7 0

BGR16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
7 6 5 4 3 2 1 0
7 0

BGR24

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
7 6 5 4 3 2 1 0
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 8
7 6 5 4 3 2 1 0
7 0

Bayer RG formats

The BayerRG pixel formats are repetitions of a a 2×2 grid comprising a top row containing one red (R) and one green (G) filter, and a bottom row containing one green (G) and one blue (B) filter.

BayerRG8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
7 6 5 4 3 2 1 0
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
7 6 5 4 3 2 1 0
7 0

BayerRG12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
7 6 5 4 3 2 1 0
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
7 6 5 4 3 2 1 0
7 0
Byte n+4
7 6 5 4 3 2 1 0
7 0
Byte n+5
7 6 5 4 3 2 1 0
7 0

BayerRG16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte n+0
7 6 5 4 3 2 1 0
7 0
Byte n+1
7 6 5 4 3 2 1 0
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
7 6 5 4 3 2 1 0
7 0

BayerRG24

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
7 6 5 4 3 2 1 0
7 0
Byte n+0
7 6 5 4 3 2 1 0
7 0
Byte n+1
7 6 5 4 3 2 1 0
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
7 6 5 4 3 2 1 0
7 0
Byte n+4
7 6 5 4 3 2 1 0
7 0
Byte n+5
7 6 5 4 3 2 1 0
7 0

Polarized pixel formats

These pixel formats are for LUCID’s polarized-light cameras. 

PolarizedAngles_0d_45d_90d_135d_RGB8
32 bits per pixel

Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135 (0,0) pixel
7 0
Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135 (1,0) pixel
7 0
Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135 (0,1) pixel
7 0
Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135 (1,1) pixel
7 0

PolarizedAngles_0d_45d_90d_135d_Mono8
32 bits per pixel

Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135
7 0

PolarizedStokes_S0_S2_S1_S3_Mono8
32 bits per pixel

Byte 0
S0 S0 S0 S0 S0 S0 S0 S0
7 0
Byte 1
S1 S1 S1 S1 S1 S1 S1 S1
7 0
Byte 2
S2 S2 S2 S2 S2 S2 S2 S2
7 0
Byte 3
S3 S3 S3 S3 S3 S3 S3 S3
7 0

PolarizedDolpAolp_Mono8
16 bits per pixel

Byte 0
D D D D D D D D
7 0
Byte 1
A A A A A A A A
7 0


PolarizedDolpAolp_Mono12p
24 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 AoLP Pixel
11 10 9 8 7 6 5 4 3 2 1 0 DoLP Pixel
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0


PolarizedDolP_Mono8
8 bits per pixel

Byte 0
D D D D D D D D
7 0


PolarizedDolP_Mono12p
12 bits per pixel

Byte 0
11 10 9 8 7 6 5 4 3 2 1 0 DoLP Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 DoLP Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0


PolarizedAoLP_Mono8
8 bits per pixel

Byte 0
A A A A A A A A
7 0


PolarizedAoLP_Mono12p
12 bits per pixel

Byte 0
11 10 9 8 7 6 5 4 3 2 1 0 AoLP Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 AoLP Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0

3D pixel formats

These pixels formats are for LUCID’s 3D time-of-flight cameras. There are two types of pixel formats: coordinate data and confidence data. 

Coord3D_ABCY16
64 bits per pixel

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 A Data (X-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 B Data (Y-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 C Data (Z-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y Data (Intensity)
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
15 14 13 12 11 10 9 8
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
15 14 13 12 11 10 9 8
7 0

Coord3D_ABC16
48 bits per pixel

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 A Data (X-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 B Data (Y-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 C Data (Z-Coordinate)
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
15 14 13 12 11 10 9 8
7 0

Coord3D_C16Y8
16-bit depth map Z plane + 8-bit intensity, unsigned

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 C Data (Z-Coordinate)
7 6 5 4 3 2 1 0 Y Data (Intensity)
Byte 0
15 14 13 12 11 10 9 8
Byte 2
7 6 5 4 3 2 1 0
Byte 1
7 6 5 4 3 2 1 0

Coord3D_CY16
16-bit depth map Z plane + 16-bit intensity, unsigned

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 C Data (Z-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y Data (Intensity)
Byte 0
15 14 13 12 11 10 9 8
Byte 2
15 14 13 12 11 10 9 8
Byte 1
7 6 5 4 3 2 1 0
Byte 3
7 6 5 4 3 2 1 0

Confidence16
16 bits per pixel

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0

Mono pixel formats

Mono pixel formats supported by LUCID cameras are shown below. 

Mono8
8 bits per pixel

Byte 0
7 6 5 4 3 2 1 0
7 0

Mono10
16 bits per pixel

Byte 0
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad pad pad 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad pad pad 9 8
7 0

Mono10p
10 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 3
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 4
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
5 4 3 2 1 0 9 8
7 0
Byte 2
3 2 1 0 9 8 7 6
7 0
Byte 3
1 0 9 8 7 6 5 4
7 0
Byte 4
9 8 7 6 5 4 3 2
7 0

Mono10Packed
12 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad 9 8 pad pad 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0

Mono12
16 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad 11 10 9 8
7 0

Mono12p
12 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0

Mono12Packed
12 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
11 10 9 8 7 6 5 4
7 0
Byte 1
3 2 1 0 3 2 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0

Mono16
16 bits per pixel

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0

Linescan pixel formats

Linescan ROI

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...
... 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047

YCbCr Pixel Formats: Basic and subsampled

YCbCr Pixel Formats – Basic

All basic (non-subsampled) YCbCr pixel formats capture one luma (Y) component and two chroma components (Cr and Cb). These basic pixel formats are also known as YCbCr444 formats. Note: For YUV8, YUV16, and YUV24, substitute U for Cb (and V for Cr) in the diagrams below.

YCbCr8

7 6 5 4 3 2 1 0 Y   Pixel 1
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
Byte 0
7 6 5 4 3 2 1 0 Y   Pixel 1
Byte 1
7 6 5 4 3 2 1 0 Cb
Byte 2
7 6 5 4 3 2 1 0 Cr

YCbCr16

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y   Pixel 1
Byte 2 Byte 3
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb
Byte 4 Byte 5
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr   Pixel 1

YCbCr24

23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1 Byte 2
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y 23 22 21 20 19 18 17 16 Y   Pixel 1
Byte 3 Byte 4 Byte 5
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb 23 22 21 20 19 18 17 16 Cb
Byte 6 Byte 7 Byte 8
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cb 23 22 21 20 19 18 17 16 Cr   Pixel 1

YCbCr Pixel Formats – Subsampled

In subsampled pixel formats, the luma value in each pixel is sampled (read), but the chroma values are not. The purpose of subsampling is to reduce the amount of data. “422” subsampling means that that two samples each of Cb and Cr is recorded for every four samples of luma. Similarly, “411” subsampling means that that one sample each of Cb and Cr is recorded for every four samples of luma. In each subsampling scheme, Y1, Y2, Y3, and Y4 are luma values from pixels 1 to 4 respectively. Cb and Cr are averages calculated from the available pixels. YCbCr422_8_CbYCrY means that “422” subsampling is being used with 8 bits per channel, and the order of bytes is Y, Cb, Y, Cr. Note: The patterns shown below applies to YCbCr formats. To see the equivalent YUV formats, substitute U for Cb (and V for Cr).

YCbCr422_8_CbYCrY

7 6 5 4 3 2 1 0 Y   Pixel 1
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
7 6 5 4 3 2 1 0 Y   Pixel 2
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
Byte 0
7 6 5 4 3 2 1 0 Cb   Pixel 1
Byte 1
7 6 5 4 3 2 1 0 Y
Byte 2
7 6 5 4 3 2 1 0 Cr
Byte 3
7 6 5 4 3 2 1 0 Y

YCbCr422_16_CbYCrY

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 2
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb   Pixel 1
Byte 2 Byte 3
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y
Byte 4 Byte 5
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr   Pixel 1
Byte 6 Byte 7
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y   Pixel 1

YCbCr422_24_CbYCrY

23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 2
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1 Byte 2
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb 23 22 21 20 19 18 17 16 Cb   Pixel 1
Byte 3 Byte 4 Byte 5
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y 23 22 21 20 19 18 17 16 Y
Byte 6 Byte 7 Byte 8
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr 23 22 21 20 19 18 17 16 Cr   Pixel 1
Byte 9 Byte 10 Byte 11
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y 23 22 21 20 19 18 17 16 Y   Pixel 1

YCbCr411_8_CbYYCrYY 

7 6 5 4 3 2 1 0 Y   Pixel 1
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
7 6 5 4 3 2 1 0 Y   Pixel 2
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
7 6 5 4 3 2 1 0 Y   Pixel 3
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
7 6 5 4 3 2 1 0 Y   Pixel 4
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
Byte 0
7 6 5 4 3 2 1 0 Cb   Pixel 1
Byte 1
7 6 5 4 3 2 1 0 Y1
Byte 2
7 6 5 4 3 2 1 0 Y2
Byte 3
7 6 5 4 3 2 1 0 Cr
Byte 4
7 6 5 4 3 2 1 0 Y3
Byte 5
7 6 5 4 3 2 1 0 Y4

YCbCr411_16_CbYYCrYY

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 2
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 3
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 4
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb   Pixel 1
Byte 2 Byte 3
7 6 5 4 3 2 1 0 Y1 15 14 13 12 11 10 9 8 Y1
Byte 4 Byte 5
7 6 5 4 3 2 1 0 Y2 15 14 13 12 11 10 9 8 Y2   Pixel 1
Byte 6 Byte 7
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr   Pixel 1
Byte 8 Byte 9
7 6 5 4 3 2 1 0 Y3 15 14 13 12 11 10 9 8 Y3   Pixel 1
Byte 10 Byte 11
7 6 5 4 3 2 1 0 Y4 15 14 13 12 11 10 9 8 Y4   Pixel 1

YCbCr411_24_CbYYCrYY

23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 2
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 3
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 4
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1 Byte 2
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb 23 22 21 20 19 18 17 16 Cb   Pixel 1
Byte 3 Byte 4 Byte 5
7 6 5 4 3 2 1 0 Y1 15 14 13 12 11 10 9 8 Y1 23 22 21 20 19 18 17 16 Y1
Byte 6 Byte 7 Byte 8
7 6 5 4 3 2 1 0 Y2 15 14 13 12 11 10 9 8 Y2 23 22 21 20 19 18 17 16 Y2   Pixel 1
Byte 9 Byte 10 Byte 11
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr 23 22 21 20 19 18 17 16 Cr   Pixel 1
Byte 12 Byte 13 Byte 14
7 6 5 4 3 2 1 0 Y3 15 14 13 12 11 10 9 8 Y3 23 22 21 20 19 18 17 16 Y3   Pixel 1
Byte 15 Byte 16 Byte 17
7 6 5 4 3 2 1 0 Y4 15 14 13 12 11 10 9 8 Y4 23 22 21 20 19 18 17 16 Y4   Pixel 1

Was this helpful?

14 Yes  10 No
Related Articles
  • Using QOI with LUCID Cameras
  • Using Multiple Helios Cameras Simultaneously
  • Shading Correction Control (Atlas10)
  • Save Image on LUCID Camera’s File System
  • Multicast Device Discovery with LUCID Cameras
  • Comparing LUCID’s IMX490 Cameras: TRI054S vs. TDR054S with AltaView

Didn't find your answer? Contact Us

  Using Auto Exposure and Auto Gain on LUCID Cameras

Removing the IR Cut Filter from Color Cameras  

© 2024 LUCID Vision Labs Inc.
Looking to purchase our cameras?
Visit the LUCID Webstore at thinklucid.com
LUCID Support & Help
Welcome to LUCID

We use cookies to facilitate online purchases and analyze our traffic. By clicking "Accept", you consent to our use of cookies.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}
LUCID Support & Help
Welcome to LUCID

We use cookies to facilitate online purchases and analyze our traffic. By clicking "Accept", you consent to our use of cookies.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}