Image Component Library (ICL)
Public Member Functions | Private Attributes | List of all members
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

Public Member Functions

 PylonColorToRgb (int width, int height, Pylon::PixelType pixel_type, int pixel_size_bits, long buffer_size)
 Constructor initializes conversion. More...
 
 ~PylonColorToRgb ()
 frees allocated ressources More...
 
void initBuffers (ConvBuffers *b)
 initializes buffers in b as needed for color conversion. More...
 
void convert (const void *imgBuffer, ConvBuffers *b)
 writes image from imgBuffer to b using appropriate conversion. More...
 
- Public Member Functions inherited from icl::io::pylon::ColorConverter
virtual ~ColorConverter ()
 Virtual destructor. More...
 

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. More...
 
Pylon::SImageFormat * m_InputFormat
 Pylon color core::format converter input format. More...
 
Pylon::SOutputImageFormat * m_OutputFormat
 Pylon color core::format converter output format. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ PylonColorToRgb()

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

Constructor initializes conversion.

◆ ~PylonColorToRgb()

icl::io::pylon::PylonColorToRgb::~PylonColorToRgb ( )

frees allocated ressources

Member Function Documentation

◆ convert()

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.

◆ initBuffers()

void icl::io::pylon::PylonColorToRgb::initBuffers ( ConvBuffers b)
virtual

initializes buffers in b as needed for color conversion.

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

Member Data Documentation

◆ m_BufferSize

long icl::io::pylon::PylonColorToRgb::m_BufferSize
private

◆ m_ColorConverter

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

Pylon color core::format converter.

◆ m_Height

int icl::io::pylon::PylonColorToRgb::m_Height
private

◆ m_InputFormat

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

Pylon color core::format converter input format.

◆ m_OutputFormat

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

Pylon color core::format converter output format.

◆ m_PixelSize

int icl::io::pylon::PylonColorToRgb::m_PixelSize
private

◆ m_PixelType

Pylon::PixelType icl::io::pylon::PylonColorToRgb::m_PixelType
private

◆ m_Width

int icl::io::pylon::PylonColorToRgb::m_Width
private

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