Definition of types of helper functions concerning image format and pixel type. More...
Namespaces | |
Pylon | |
Contains definitions of pylon types. | |
Enumerations | |
enum | Pylon::EPixelType { Pylon::PixelType_Undefined = -1, Pylon::PixelType_Mono1packed = 0x80000000 | 0x01000000 | (( 1 ) << 16) | 0x000c, Pylon::PixelType_Mono2packed = 0x80000000 | 0x01000000 | (( 2 ) << 16) | 0x000d, Pylon::PixelType_Mono4packed = 0x80000000 | 0x01000000 | (( 4 ) << 16) | 0x000e, Pylon::PixelType_Mono8 = 0x01000000 | (( 8 ) << 16) | 0x0001, Pylon::PixelType_Mono8signed = 0x01000000 | (( 8 ) << 16) | 0x0002, Pylon::PixelType_Mono10 = 0x01000000 | (( 16 ) << 16) | 0x0003, Pylon::PixelType_Mono10packed = 0x01000000 | (( 12 ) << 16) | 0x0004, Pylon::PixelType_Mono10p = 0x01000000 | (( 10 ) << 16) | 0x0046, Pylon::PixelType_Mono12 = 0x01000000 | (( 16 ) << 16) | 0x0005, Pylon::PixelType_Mono12packed = 0x01000000 | (( 12 ) << 16) | 0x0006, Pylon::PixelType_Mono12p = 0x01000000 | (( 12 ) << 16) | 0x0047, Pylon::PixelType_Mono16 = 0x01000000 | (( 16 ) << 16) | 0x0007, Pylon::PixelType_BayerGR8 = 0x01000000 | (( 8 ) << 16) | 0x0008, Pylon::PixelType_BayerRG8 = 0x01000000 | (( 8 ) << 16) | 0x0009, Pylon::PixelType_BayerGB8 = 0x01000000 | (( 8 ) << 16) | 0x000a, Pylon::PixelType_BayerBG8 = 0x01000000 | (( 8 ) << 16) | 0x000b, Pylon::PixelType_BayerGR10 = 0x01000000 | (( 16 ) << 16) | 0x000c, Pylon::PixelType_BayerRG10 = 0x01000000 | (( 16 ) << 16) | 0x000d, Pylon::PixelType_BayerGB10 = 0x01000000 | (( 16 ) << 16) | 0x000e, Pylon::PixelType_BayerBG10 = 0x01000000 | (( 16 ) << 16) | 0x000f, Pylon::PixelType_BayerGR12 = 0x01000000 | (( 16 ) << 16) | 0x0010, Pylon::PixelType_BayerRG12 = 0x01000000 | (( 16 ) << 16) | 0x0011, Pylon::PixelType_BayerGB12 = 0x01000000 | (( 16 ) << 16) | 0x0012, Pylon::PixelType_BayerBG12 = 0x01000000 | (( 16 ) << 16) | 0x0013, Pylon::PixelType_RGB8packed = 0x02000000 | (( 24 ) << 16) | 0x0014, Pylon::PixelType_BGR8packed = 0x02000000 | (( 24 ) << 16) | 0x0015, Pylon::PixelType_RGBA8packed = 0x02000000 | (( 32 ) << 16) | 0x0016, Pylon::PixelType_BGRA8packed = 0x02000000 | (( 32 ) << 16) | 0x0017, Pylon::PixelType_RGB10packed = 0x02000000 | (( 48 ) << 16) | 0x0018, Pylon::PixelType_BGR10packed = 0x02000000 | (( 48 ) << 16) | 0x0019, Pylon::PixelType_RGB12packed = 0x02000000 | (( 48 ) << 16) | 0x001a, Pylon::PixelType_BGR12packed = 0x02000000 | (( 48 ) << 16) | 0x001b, Pylon::PixelType_RGB16packed = 0x02000000 | (( 48 ) << 16) | 0x0033, Pylon::PixelType_BGR10V1packed = 0x02000000 | (( 32 ) << 16) | 0x001c, Pylon::PixelType_BGR10V2packed = 0x02000000 | (( 32 ) << 16) | 0x001d, Pylon::PixelType_YUV411packed = 0x02000000 | (( 12 ) << 16) | 0x001e, Pylon::PixelType_YUV422packed = 0x02000000 | (( 16 ) << 16) | 0x001f, Pylon::PixelType_YUV444packed = 0x02000000 | (( 24 ) << 16) | 0x0020, Pylon::PixelType_RGB8planar = 0x02000000 | (( 24 ) << 16) | 0x0021, Pylon::PixelType_RGB10planar = 0x02000000 | (( 48 ) << 16) | 0x0022, Pylon::PixelType_RGB12planar = 0x02000000 | (( 48 ) << 16) | 0x0023, Pylon::PixelType_RGB16planar = 0x02000000 | (( 48 ) << 16) | 0x0024, Pylon::PixelType_YUV422_YUYV_Packed = 0x02000000 | (( 16 ) << 16) | 0x0032, Pylon::PixelType_BayerGR12Packed = 0x01000000 | (( 12 ) << 16) | 0x002A, Pylon::PixelType_BayerRG12Packed = 0x01000000 | (( 12 ) << 16) | 0x002B, Pylon::PixelType_BayerGB12Packed = 0x01000000 | (( 12 ) << 16) | 0x002C, Pylon::PixelType_BayerBG12Packed = 0x01000000 | (( 12 ) << 16) | 0x002D, Pylon::PixelType_BayerGR10p = 0x01000000 | (( 10 ) << 16) | 0x0056, Pylon::PixelType_BayerRG10p = 0x01000000 | (( 10 ) << 16) | 0x0058, Pylon::PixelType_BayerGB10p = 0x01000000 | (( 10 ) << 16) | 0x0054, Pylon::PixelType_BayerBG10p = 0x01000000 | (( 10 ) << 16) | 0x0052, Pylon::PixelType_BayerGR12p = 0x01000000 | (( 12 ) << 16) | 0x0057, Pylon::PixelType_BayerRG12p = 0x01000000 | (( 12 ) << 16) | 0x0059, Pylon::PixelType_BayerGB12p = 0x01000000 | (( 12 ) << 16) | 0x0055, Pylon::PixelType_BayerBG12p = 0x01000000 | (( 12 ) << 16) | 0x0053, Pylon::PixelType_BayerGR16 = 0x01000000 | (( 16 ) << 16) | 0x002E, Pylon::PixelType_BayerRG16 = 0x01000000 | (( 16 ) << 16) | 0x002F, Pylon::PixelType_BayerGB16 = 0x01000000 | (( 16 ) << 16) | 0x0030, Pylon::PixelType_BayerBG16 = 0x01000000 | (( 16 ) << 16) | 0x0031, Pylon::PixelType_RGB12V1packed = 0x02000000 | (( 36 ) << 16) | 0X0034, Pylon::PixelType_Double = 0x80000000 | 0x01000000 | (( 48 ) << 16) | 0x100 } |
Lists the available pixel types. More... | |
enum | Pylon::EPixelColorFilter { Pylon::PCF_BayerRG, Pylon::PCF_BayerGB, Pylon::PCF_BayerGR, Pylon::PCF_BayerBG, Pylon::PCF_Undefined } |
Lists the Bayer color filter types. More... | |
Functions | |
bool | Pylon::IsMonoPacked (EPixelType pixelType) |
Returns true if the pixel type is Mono and the pixel values are not byte aligned. | |
bool | Pylon::IsBayerPacked (EPixelType pixelType) |
Returns true if the pixel type is Bayer and the pixel values are not byte aligned. | |
bool | Pylon::IsRGBPacked (EPixelType pixelType) |
Returns true if the pixel type is RGB and the pixel values are not byte aligned. | |
bool | Pylon::IsBGRPacked (EPixelType pixelType) |
Returns true if the pixel type is BGR and the pixel values are not byte aligned. | |
bool | Pylon::IsPacked (EPixelType pixelType) |
Returns true if the pixels of the given pixel type are not byte aligned. | |
bool | Pylon::IsPackedInLsbFormat (EPixelType pixelType) |
uint32_t | Pylon::PlaneCount (EPixelType pixelType) |
Returns number of planes in the image composed of the pixel type. | |
EPixelType | Pylon::GetPlanePixelType (EPixelType pixelType) |
Returns the pixel type of a plane. | |
bool | Pylon::IsPlanar (EPixelType pixelType) |
Returns true if images of the pixel type are divided into multiple planes. | |
EPixelColorFilter | Pylon::GetPixelColorFilter (EPixelType pixelType) |
Returns the Bayer color filter type. | |
uint32_t | Pylon::BitPerPixel (EPixelType pixelType) |
Returns the bits needed to store a pixel. More... | |
uint32_t | Pylon::SamplesPerPixel (EPixelType pixelType) |
Returns the number of measured values per pixel. More... | |
bool | Pylon::IsYUV (EPixelType pixelType) |
Returns true when the pixel type represents a YUV format. | |
bool | Pylon::IsRGBA (EPixelType pixelType) |
Returns true when the pixel type represents an RGBA format. | |
bool | Pylon::IsRGB (EPixelType pixelType) |
Returns true when the pixel type represents an RGB or RGBA format. | |
bool | Pylon::IsBGRA (EPixelType pixelType) |
Returns true when the pixel type represents a BGRA format. | |
bool | Pylon::IsBGR (EPixelType pixelType) |
Returns true when the pixel type represents a BGR or BGRA format. | |
bool | Pylon::IsBayer (EPixelType pixelType) |
Returns true when the pixel type represents a Bayer format. | |
bool | Pylon::IsMono (EPixelType pixelType) |
Returns true when a given pixel is monochrome, e.g. PixelType_Mono8 or PixelType_BayerGR8. | |
bool | Pylon::IsMonoImage (EPixelType pixelType) |
Returns true when an image using the given pixel type is monochrome, e.g. PixelType_Mono8. | |
uint32_t | Pylon::GetPixelIncrementX (EPixelType pixelType) |
Returns the minimum step size expressed in pixels for extracting an AOI. | |
uint32_t | Pylon::GetPixelIncrementY (EPixelType pixelType) |
Returns the minimum step size expressed in pixels for extracting an AOI. | |
uint32_t | Pylon::BitDepth (EPixelType pixelType) |
Returns the bit depth of a value of the pixel in bits. More... | |
bool | Pylon::ComputeStride (size_t &strideBytes, EPixelType pixelType, uint32_t width, size_t paddingX=0) |
Computes the stride in byte. More... | |
size_t | Pylon::ComputePaddingX (size_t strideBytes, EPixelType pixelType, uint32_t width) |
Computes the padding value from row stride in byte. More... | |
size_t | Pylon::ComputeBufferSize (EPixelType pixelType, uint32_t width, uint32_t height, size_t paddingX=0) |
Computes the buffer size in byte. More... | |
Definition of types of helper functions concerning image format and pixel type.