All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
Pylon::SPixelData Class Reference

Describes the data of one pixel. More...

#include <pylon/PixelData.h>

Public Types

enum  EPixelDataType {
  PixelDataType_Unknown, PixelDataType_Mono, PixelDataType_YUV, PixelDataType_RGB,
  PixelDataType_RGBA, PixelDataType_BayerR, PixelDataType_BayerG, PixelDataType_BayerB
}
 

Public Member Functions

 SPixelData ()
 Construct and clear.
 
bool operator== (const SPixelData &rhs)
 Compares pixel data.
 
bool operator!= (const SPixelData &rhs)
 Compares pixel data.
 

Public Attributes

EPixelDataType PixelDataType
 The type of pixel data held.
 
uint32_t BitDepth
 The bit depth of the data held.
 
union {
   int   Mono
 Pixel data of monochrome images.
 
   int   BayerR
 Pixel data of a red pixel of bayer images.
 
   int   BayerG
 Pixel data of a green pixel of bayer images.
 
   int   BayerB
 Pixel data of a blue pixel of bayer images.
 
   struct {
      int   Y
 Brightness.
 
      int   U
 Chroma U.
 
      int   V
 Chroma V.
 
   }   YUV
 Pixel data of YUV images.
 
   struct {
      int   R
 Red.
 
      int   G
 Green.
 
      int   B
 Blue.
 
   }   RGB
 Pixel data of RGB or BGR images.
 
   struct {
      int   R
 Red.
 
      int   G
 Green.
 
      int   B
 Blue.
 
      int   A
 Transparency.
 
   }   RGBA
 Pixel data of RGB or BGR images with an alpha channel.
 
Data
 Holds all types of pixel data.
 

Detailed Description

Describes the data of one pixel.

Member Enumeration Documentation

Lists the possible pixel data types. Do not confound this enumeration with the Pylon::PixelType enumeration that lists all pixel formats.

Enumerator
PixelDataType_Unknown 

Will be returned, if the pixel data cannot be determined.

PixelDataType_Mono 

Pixel data of monochrome images.

PixelDataType_YUV 

Pixel data of YUV images.

PixelDataType_RGB 

Pixel data of RGB or BGR images.

PixelDataType_RGBA 

Pixel data of RGB or BGR images with alpha channel.

PixelDataType_BayerR 

Pixel data of a red pixel of bayer images.

PixelDataType_BayerG 

Pixel data of a green pixel of bayer images.

PixelDataType_BayerB 

Pixel data of a blue pixel of bayer images.


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

pylon 5.0.9
Copyright © 2006-2017 Basler AG (Tue May 30 2017 17:24:58)