66 void resetConversion(
int width,
int height,
int pixel_size_bits,
67 long buffer_size, Pylon::PixelType pixel_type,
68 std::string pixel_type_name);
90 void initConversion();
94 void setConversionRGB();
96 void setConversionRGBPacked();
98 void setConversionMono();
133 MonoToMono8u(
int width,
int height, Pylon::PixelType pixel_type,
134 int pixel_size_bits,
long buffer_size);
175 int pixel_size_bits,
long buffer_size);
virtual void convert(const void *imgBuffer, ConvBuffers *b)=0
writes image from imgBuffer to b using appropriate conversion.
ColorConverter * m_Converter
A pointer to the currently used converter.
Definition: PylonColorConverter.h:79
int m_PixelSize
Definition: PylonColorConverter.h:145
utils::Size m_Size
Definition: PylonColorConverter.h:212
Pure virtual interface for color converters.
Definition: PylonColorConverter.h:47
undocument this line if you encounter any issues!
Definition: Any.h:37
utils::Size m_Size
Definition: PylonColorConverter.h:244
Pylon::PixelType m_PixelType
Definition: PylonColorConverter.h:185
Ipp8u icl8u
8Bit unsigned integer type for the ICL
Definition: BasicTypes.h:64
bayerConverterMethod
Definition: BayerConverter.h:46
This is the color-conversion-class for Pylon images.
Definition: PylonColorConverter.h:58
int m_Height
Definition: PylonColorConverter.h:184
Pylon::SOutputImageFormat * m_OutputFormat
Pylon color core::format converter output format.
Definition: PylonColorConverter.h:193
std::vector< icl8u * > m_Channels
Definition: PylonColorConverter.h:211
long m_BufferSize
Definition: PylonColorConverter.h:146
int m_Width
Definition: PylonColorConverter.h:111
This ColorConverter uses the icl Yuv422YUYV to Rgb conversion.
Definition: PylonColorConverter.h:233
void convert(const void *imgBuffer, ConvBuffers *b)
writes image from imgBuffer to b using appropriate conversion.
bayerPattern
Definition: BayerConverter.h:55
This ColorConverter is used for other pylon-mono to icl-mono8u conversion.
Definition: PylonColorConverter.h:130
Pylon::CPixelFormatConverter * m_ColorConverter
Pylon color core::format converter.
Definition: PylonColorConverter.h:148
icl8u * m_ConvBuffer
Definition: PylonColorConverter.h:229
int m_PixelSize
Definition: PylonColorConverter.h:186
Mono8uToMono8u(int width, int height)
Constructor initializes conversion.
This class holds all buffers needed for ColorConversion.
Definition: PylonUtils.h:108
virtual ~ColorConverter()
Virtual destructor.
Definition: PylonColorConverter.h:50
Pylon::SImageFormat * m_InputFormat
Pylon color core::format converter input format.
Definition: PylonColorConverter.h:150
#define ICLIO_API
Definition: CompatMacros.h:176
Size class of the ICL.
Definition: Size.h:61
Pylon::SOutputImageFormat * m_OutputFormat
Pylon color core::format converter output format.
Definition: PylonColorConverter.h:152
int m_Height
Definition: PylonColorConverter.h:112
int m_Width
Definition: PylonColorConverter.h:125
long m_BufferSize
Definition: PylonColorConverter.h:187
core::BayerConverter m_Conv
Definition: PylonColorConverter.h:210
Pylon::CPixelFormatConverter * m_ColorConverter
Pylon color core::format converter.
Definition: PylonColorConverter.h:189
int m_Width
Definition: PylonColorConverter.h:183
Pylon::PixelType m_PixelType
Definition: PylonColorConverter.h:144
This ColorConverter is used for pylon-mono8u to icl-mono8u conversion.
Definition: PylonColorConverter.h:102
int m_Width
Definition: PylonColorConverter.h:166
utils::Size m_Size
Definition: PylonColorConverter.h:228
icl8u * m_ConvBuffer
Definition: PylonColorConverter.h:245
virtual void initBuffers(ConvBuffers *b)=0
initializes buffers in b as needed for color conversion.
This ColorConverter uses the icl Yuv422 to Rgb conversion.
Definition: PylonColorConverter.h:217
int m_Height
Definition: PylonColorConverter.h:143
utils::Mutex m_Mutex
A mutex lock for concurrency.
Definition: PylonColorConverter.h:77
int m_Height
Definition: PylonColorConverter.h:167
void convert(const srcT *poSrcStart, const srcT *poSrcEnd, dstT *poDst)
moves value from source to destination array (with casting on demand)
Definition: CoreFunctions.h:252
Pylon::SImageFormat * m_InputFormat
Pylon color core::format converter input format.
Definition: PylonColorConverter.h:191
void initBuffers(ConvBuffers *b)
initializes buffers in b as needed for color conversion.
std::string m_ErrorMessage
field for error message
Definition: PylonColorConverter.h:85
Utiltity class for bayer pattern conversion.
Definition: BayerConverter.h:43
This ColorConverter uses the icl Bayer to Rgb conversion.
Definition: PylonColorConverter.h:197
Mutex class of the ICL.
Definition: Mutex.h:54
This ColorConverter is used for pylon-bayer/yuv to icl-rgb conversion.
Definition: PylonColorConverter.h:171
int m_Height
Definition: PylonColorConverter.h:126
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
This ColorConverter is used for pylon-mono16s to icl-mono16s conversion.
Definition: PylonColorConverter.h:116
This ColorConverter is used for pylon-rgb to icl-rgb conversion.
Definition: PylonColorConverter.h:157
int m_Width
Definition: PylonColorConverter.h:142