This is the color-conversion-class for Pylon images.
More...
#include <PylonColorConverter.h>
This is the color-conversion-class for Pylon images.
◆ PylonColorConverter()
icl::io::pylon::PylonColorConverter::PylonColorConverter |
( |
| ) |
|
◆ ~PylonColorConverter()
icl::io::pylon::PylonColorConverter::~PylonColorConverter |
( |
| ) |
|
◆ convert()
Converts pImageBuffer into an internal ImageBase.
- Returns
- a pointer to the converted image.
◆ freeAll()
void icl::io::pylon::PylonColorConverter::freeAll |
( |
| ) |
|
|
private |
used to free all allocated resources
◆ getInfo()
void icl::io::pylon::PylonColorConverter::getInfo |
( |
| ) |
|
|
private |
used to get all needed information about the image to convert
◆ initConversion()
void icl::io::pylon::PylonColorConverter::initConversion |
( |
| ) |
|
|
private |
frees allocated memory and reinitializes thr color conversion.
◆ resetConversion()
void icl::io::pylon::PylonColorConverter::resetConversion |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
pixel_size_bits, |
|
|
long |
buffer_size, |
|
|
Pylon::PixelType |
pixel_type, |
|
|
std::string |
pixel_type_name |
|
) |
| |
makes the conversion adapt to the passed properties on next convert.
◆ setConversionMono()
void icl::io::pylon::PylonColorConverter::setConversionMono |
( |
| ) |
|
|
private |
makes all settings for the conv. of grayscale images.
◆ setConversionRGB()
void icl::io::pylon::PylonColorConverter::setConversionRGB |
( |
| ) |
|
|
private |
makes all settings for the conv. of color images.
◆ setConversionRGBPacked()
void icl::io::pylon::PylonColorConverter::setConversionRGBPacked |
( |
| ) |
|
|
private |
makes all settings for the conv. PackedRGB images.
◆ m_Converter
A pointer to the currently used converter.
◆ m_ErrorMessage
std::string icl::io::pylon::PylonColorConverter::m_ErrorMessage |
|
private |
field for error message
when no appropriate color conversion could be found, an error message is saved here and printed on every call to convert.
◆ m_Mutex
A mutex lock for concurrency.
The documentation for this class was generated from the following file: