Image Component Library (ICL)
|
This ColorConverter is used for pylon-bayer/yuv to icl-rgb conversion. More...
#include <PylonColorConverter.h>
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. |
This ColorConverter is used for pylon-bayer/yuv to icl-rgb conversion.
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
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.
void icl::io::pylon::PylonColorToRgb::initBuffers | ( | ConvBuffers * | b | ) | [virtual] |
initializes buffers in b as needed for color conversion.
Implements icl::io::pylon::ColorConverter.
long icl::io::pylon::PylonColorToRgb::m_BufferSize [private] |
Pylon::CPixelFormatConverter* icl::io::pylon::PylonColorToRgb::m_ColorConverter [private] |
Pylon color core::format converter.
int icl::io::pylon::PylonColorToRgb::m_Height [private] |
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.
int icl::io::pylon::PylonColorToRgb::m_PixelSize [private] |
Pylon::PixelType icl::io::pylon::PylonColorToRgb::m_PixelType [private] |
int icl::io::pylon::PylonColorToRgb::m_Width [private] |