Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
icl::io::pylon::PylonColorToRgb Class Reference

This ColorConverter is used for pylon-bayer/yuv to icl-rgb conversion. More...

#include <PylonColorConverter.h>

Inheritance diagram for icl::io::pylon::PylonColorToRgb:
icl::io::pylon::ColorConverter

List of all members.

Public Member Functions

 PylonColorToRgb (int width, int height, Pylon::PixelType pixel_type, int pixel_size_bits, long buffer_size)
 Constructor initializes conversion.
 ~PylonColorToRgb ()
 frees allocated ressources
void initBuffers (ConvBuffers *b)
 initializes buffers in b as needed for color conversion.
void convert (const void *imgBuffer, ConvBuffers *b)
 writes image from imgBuffer to b using appropriate conversion.

Private Attributes

int m_Width
int m_Height
Pylon::PixelType m_PixelType
int m_PixelSize
long m_BufferSize
Pylon::CPixelFormatConverter * m_ColorConverter
 Pylon color core::format converter.
Pylon::SImageFormat * m_InputFormat
 Pylon color core::format converter input format.
Pylon::SOutputImageFormat * m_OutputFormat
 Pylon color core::format converter output format.

Detailed Description

This ColorConverter is used for pylon-bayer/yuv to icl-rgb conversion.


Constructor & Destructor Documentation

icl::io::pylon::PylonColorToRgb::PylonColorToRgb ( int  width,
int  height,
Pylon::PixelType  pixel_type,
int  pixel_size_bits,
long  buffer_size 
)

Constructor initializes conversion.

frees allocated ressources


Member Function Documentation

void icl::io::pylon::PylonColorToRgb::convert ( const void *  imgBuffer,
ConvBuffers b 
) [virtual]

writes image from imgBuffer to b using appropriate conversion.

Implements icl::io::pylon::ColorConverter.

initializes buffers in b as needed for color conversion.

Implements icl::io::pylon::ColorConverter.


Member Data Documentation

Pylon::CPixelFormatConverter* icl::io::pylon::PylonColorToRgb::m_ColorConverter [private]

Pylon color core::format converter.

Pylon::SImageFormat* icl::io::pylon::PylonColorToRgb::m_InputFormat [private]

Pylon color core::format converter input format.

Pylon::SOutputImageFormat* icl::io::pylon::PylonColorToRgb::m_OutputFormat [private]

Pylon color core::format converter output format.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines