Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

enum BayerTile

how the bayer CCD array is layed out

This enumeration defines how the CCD bayer array is laid out.

Enumerator:
BAYER_TILE_RGGB  raster is RG,GN
BAYER_TILE_GRBG  raster is GR,BG
BAYER_TILE_BGGR  raster is BG,GR
BAYER_TILE_GBRG  raster is RG,GB
BAYER_TILE_RGGB_INTERLACED  scanline order: R1,G1,R2,G2,...,G1,B1,G2,B2,...
BAYER_TILE_GRBG_INTERLACED  scanline order: G1,R1,R2,G2,...,B1,G1,B2,G2,...
BAYER_TILE_BGGR_INTERLACED  scanline order: B1,G1,R2,G2,...,G1,R1,G2,R2,...
BAYER_TILE_GBRG_INTERLACED  scanline order: G1,B1,G2,B2,...,R1,G1,R2,G2,...

Definition at line 32 of file bayer.h.

             {
      BAYER_TILE_RGGB = 0,                /**< \brief raster is RG,GN */
      BAYER_TILE_GRBG = 1,                /**< \brief raster is GR,BG */
      BAYER_TILE_BGGR = 2,                /**< \brief raster is BG,GR */
      BAYER_TILE_GBRG = 3,                /**< \brief raster is RG,GB */
      BAYER_TILE_RGGB_INTERLACED = 4,           /**< \brief scanline order: R1,G1,R2,G2,...,G1,B1,G2,B2,... */
      BAYER_TILE_GRBG_INTERLACED = 5,           /**< \brief scanline order: G1,R1,R2,G2,...,B1,G1,B2,G2,... */
      BAYER_TILE_BGGR_INTERLACED = 6,           /**< \brief scanline order: B1,G1,R2,G2,...,G1,R1,G2,R2,... */
      BAYER_TILE_GBRG_INTERLACED = 7,           /**< \brief scanline order: G1,B1,G2,B2,...,R1,G1,R2,G2,... */
} BayerTile;


Generated by  Doxygen 1.6.0   Back to index