IDS peak IPL v1.13.0
Loading...
Searching...
No Matches
peak_ipl_dynamic_loader.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "peak_ipl_backend.h"
13
14#include <string>
15#include <cstdint>
16
17#ifdef __linux__
18 #include <dlfcn.h>
19#else
20 #include <vector>
21 #include <windows.h>
22 #include <tchar.h>
23#endif
24
25#include <stdexcept>
26
27#undef PEAK_IPL_PUBLIC
28#define PEAK_IPL_PUBLIC
29#undef PEAK_IPL_CALL_CONV
30#define PEAK_IPL_CALL_CONV
31
32namespace peak
33{
34namespace ipl
35{
36namespace dynamic
37{
38
39typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Library_GetVersionMajor)(uint32_t * libraryVersionMajor);
40typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Library_GetVersionMinor)(uint32_t * libraryVersionMinor);
41typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Library_GetVersionSubminor)(uint32_t * libraryVersionSubminor);
42typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Library_GetMaxConcurrentThreads)(size_t * concurrentThreads);
48typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Library_GetLastError)(PEAK_IPL_RETURN_CODE * lastErrorCode, char * lastErrorDescription, size_t * lastErrorDescriptionSize);
51typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageConverter_PreAllocateConversion)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, size_t width, size_t height, size_t imageCount);
54typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT * outputPixelFormats, size_t * outputPixelFormatsSize);
56typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageConverter_ConvertToBuffer)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t * outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
65typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, struct PEAK_IPL_POINT_2D * hotpixels, size_t * hotpixelsSize);
66typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Correct)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D * hotpixels, size_t hotpixelsSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
67typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D * hotpixels, size_t hotpixelsSize);
74typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float * colorCorrectorFactors, size_t * colorCorrectorFactorsSize);
85typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Binning_SetBinningX)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningXValue);
86typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Binning_GetBinningX)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningXValue);
87typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Binning_SetBinningY)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningYValue);
88typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Binning_GetBinningY)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningYValue);
89typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Binning_GetBinningMin)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningMin);
90typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Binning_GetBinningMax)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningMax);
91typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Binning_ExpectedOutputSize)(PEAK_IPL_BINNING_HANDLE binningHandle, size_t * outputWidth, size_t * outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat);
99typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Decimation_SetDecimationX)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationXValue);
100typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Decimation_GetDecimationX)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationXValue);
101typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Decimation_SetDecimationY)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationYValue);
102typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Decimation_GetDecimationY)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationYValue);
103typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Decimation_GetDecimationMin)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationMin);
104typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Decimation_GetDecimationMax)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationMax);
105typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Decimation_ExpectedOutputSize)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, size_t * outputWidth, size_t * outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat);
111typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_SetMasterGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float * masterGainValue);
112typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetMasterGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float * masterGainValue);
113typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetMasterGainMax)(PEAK_IPL_GAIN_HANDLE gainHandle, float * masterGainMax);
114typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetMasterGainMin)(PEAK_IPL_GAIN_HANDLE gainHandle, float * masterGainMin);
115typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_SetRedGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float * redGainValue);
116typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetRedGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float * redGainValue);
117typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetRedGainMax)(PEAK_IPL_GAIN_HANDLE gainHandle, float * redGainMax);
118typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetRedGainMin)(PEAK_IPL_GAIN_HANDLE gainHandle, float * redGainMin);
119typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_SetGreenGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float * greenGainValue);
120typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetGreenGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float * greenGainValue);
121typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetGreenGainMax)(PEAK_IPL_GAIN_HANDLE gainHandle, float * greenGainMax);
122typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetGreenGainMin)(PEAK_IPL_GAIN_HANDLE gainHandle, float * greenGainMin);
123typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_SetBlueGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float * blueGainValue);
124typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetBlueGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float * blueGainValue);
125typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetBlueGainMax)(PEAK_IPL_GAIN_HANDLE gainHandle, float * blueGainMax);
126typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Gain_GetBlueGainMin)(PEAK_IPL_GAIN_HANDLE gainHandle, float * blueGainMin);
141typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_Construct)(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE * imageHandle);
143typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_ConstructFromBuffer)(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint8_t * buffer, uint64_t bufferSize, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE * imageHandle);
146typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_GetPixelPointer)(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t xPos, size_t yPos, uint8_t * * pixelPointer);
147typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_GetByteCount)(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t * byteCount);
149typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_GetData)(PEAK_IPL_IMAGE_HANDLE imageHandle, uint8_t * * data);
152typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_ConvertToWithFactor)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, double factor, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
154typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_ScaleInto)(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_SIZE_2D * size, uint8_t * buffer, size_t bufferSize, PEAK_IPL_INTERPOLATION_ALGORITHM algorithm);
155typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_Crop)(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_POINT_2D * pos, const struct PEAK_IPL_SIZE_2D * size, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
156typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_ConvertToBuffer)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t * outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
160typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_SetTimestamp)(PEAK_IPL_IMAGE_HANDLE imageHandle, uint64_t timestamp_ns);
161typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Image_GetTimestamp)(PEAK_IPL_IMAGE_HANDLE imageHandle, uint64_t * timestamp_ns);
175typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Histogram_GetPixelSumForChannel)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * pixelSum);
176typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Histogram_GetPixelCountForChannel)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * pixelCount);
177typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_Histogram_GetBinsForChannel)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * bins, size_t * binsSize);
185typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_PixelLine_GetValuesForChannel)(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t channelIndex, uint32_t * values, size_t * valuesSize);
194typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels)(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint64_t numPixels, uint64_t * size);
201typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageWriter_WriteAsRAW)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize);
202typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageWriter_WriteAsBMP)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize);
203typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageWriter_WriteAsPNG)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char * filePath, size_t filePathSize);
204typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageWriter_WriteAsJPG)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char * filePath, size_t filePathSize);
205typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageWriter_Write)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize);
206typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageReader_Read)(const char * filePath, size_t filePathSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
207typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat)(const char * filePath, size_t filePathSize, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
213typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_VideoWriter_Encoder_GetOption)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void * value, size_t count, size_t * outCount);
217typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_VideoWriter_Container_GetOption)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void * value, size_t count, size_t * outCount);
227typedef PEAK_IPL_C_API (*dyn_PEAK_IPL_VideoWriter_Queue_GetRange)(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t * minSize, int32_t * maxSize);
252
253
255{
256private:
258
259 static DynamicLoader& instance()
260 {
261 static DynamicLoader dynamicLoader{};
262 return dynamicLoader;
263 }
264 bool loadLib(const char* file);
265 void unload();
266 bool setPointers(bool load);
267
268public:
270
271 static bool isLoaded();
272
273 static PEAK_IPL_C_API PEAK_IPL_Library_GetVersionMajor(uint32_t * libraryVersionMajor);
274 static PEAK_IPL_C_API PEAK_IPL_Library_GetVersionMinor(uint32_t * libraryVersionMinor);
275 static PEAK_IPL_C_API PEAK_IPL_Library_GetVersionSubminor(uint32_t * libraryVersionSubminor);
276 static PEAK_IPL_C_API PEAK_IPL_Library_GetMaxConcurrentThreads(size_t * concurrentThreads);
277 static PEAK_IPL_C_API PEAK_IPL_Library_SetMaxConcurrentThreads(size_t concurrentThreads);
282 static PEAK_IPL_C_API PEAK_IPL_Library_GetLastError(PEAK_IPL_RETURN_CODE * lastErrorCode, char * lastErrorDescription, size_t * lastErrorDescriptionSize);
285 static PEAK_IPL_C_API PEAK_IPL_ImageConverter_PreAllocateConversion(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, size_t width, size_t height, size_t imageCount);
288 static PEAK_IPL_C_API PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT * outputPixelFormats, size_t * outputPixelFormatsSize);
289 static PEAK_IPL_C_API PEAK_IPL_ImageConverter_Convert(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
290 static PEAK_IPL_C_API PEAK_IPL_ImageConverter_ConvertToBuffer(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t * outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
296 static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, uint32_t gainFactorPercent);
297 static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, uint32_t * gainFactorPercent);
299 static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, struct PEAK_IPL_POINT_2D * hotpixels, size_t * hotpixelsSize);
300 static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_Correct(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D * hotpixels, size_t hotpixelsSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
301 static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D * hotpixels, size_t hotpixelsSize);
307 static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_SetColorCorrectionFactors(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float * colorCorrectorFactors);
308 static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetColorCorrectionFactors(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float * colorCorrectorFactors, size_t * colorCorrectorFactorsSize);
313 static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetSaturation(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float * saturation);
314 static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetSaturationMin(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float * saturationMin);
315 static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetSaturationMax(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float * saturationMax);
316 static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_SetSaturation(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float saturation);
319 static PEAK_IPL_C_API PEAK_IPL_Binning_SetBinningX(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningXValue);
320 static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningX(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningXValue);
321 static PEAK_IPL_C_API PEAK_IPL_Binning_SetBinningY(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningYValue);
322 static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningY(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningYValue);
323 static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningMin(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningMin);
324 static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningMax(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t * binningMax);
325 static PEAK_IPL_C_API PEAK_IPL_Binning_ExpectedOutputSize(PEAK_IPL_BINNING_HANDLE binningHandle, size_t * outputWidth, size_t * outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat);
333 static PEAK_IPL_C_API PEAK_IPL_Decimation_SetDecimationX(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationXValue);
334 static PEAK_IPL_C_API PEAK_IPL_Decimation_GetDecimationX(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationXValue);
335 static PEAK_IPL_C_API PEAK_IPL_Decimation_SetDecimationY(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationYValue);
336 static PEAK_IPL_C_API PEAK_IPL_Decimation_GetDecimationY(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationYValue);
337 static PEAK_IPL_C_API PEAK_IPL_Decimation_GetDecimationMin(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationMin);
338 static PEAK_IPL_C_API PEAK_IPL_Decimation_GetDecimationMax(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t * decimationMax);
339 static PEAK_IPL_C_API PEAK_IPL_Decimation_ExpectedOutputSize(PEAK_IPL_DECIMATION_HANDLE decimationHandle, size_t * outputWidth, size_t * outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat);
345 static PEAK_IPL_C_API PEAK_IPL_Gain_SetMasterGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float * masterGainValue);
346 static PEAK_IPL_C_API PEAK_IPL_Gain_GetMasterGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float * masterGainValue);
347 static PEAK_IPL_C_API PEAK_IPL_Gain_GetMasterGainMax(PEAK_IPL_GAIN_HANDLE gainHandle, float * masterGainMax);
348 static PEAK_IPL_C_API PEAK_IPL_Gain_GetMasterGainMin(PEAK_IPL_GAIN_HANDLE gainHandle, float * masterGainMin);
349 static PEAK_IPL_C_API PEAK_IPL_Gain_SetRedGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float * redGainValue);
350 static PEAK_IPL_C_API PEAK_IPL_Gain_GetRedGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float * redGainValue);
351 static PEAK_IPL_C_API PEAK_IPL_Gain_GetRedGainMax(PEAK_IPL_GAIN_HANDLE gainHandle, float * redGainMax);
352 static PEAK_IPL_C_API PEAK_IPL_Gain_GetRedGainMin(PEAK_IPL_GAIN_HANDLE gainHandle, float * redGainMin);
353 static PEAK_IPL_C_API PEAK_IPL_Gain_SetGreenGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float * greenGainValue);
354 static PEAK_IPL_C_API PEAK_IPL_Gain_GetGreenGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float * greenGainValue);
355 static PEAK_IPL_C_API PEAK_IPL_Gain_GetGreenGainMax(PEAK_IPL_GAIN_HANDLE gainHandle, float * greenGainMax);
356 static PEAK_IPL_C_API PEAK_IPL_Gain_GetGreenGainMin(PEAK_IPL_GAIN_HANDLE gainHandle, float * greenGainMin);
357 static PEAK_IPL_C_API PEAK_IPL_Gain_SetBlueGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float * blueGainValue);
358 static PEAK_IPL_C_API PEAK_IPL_Gain_GetBlueGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float * blueGainValue);
359 static PEAK_IPL_C_API PEAK_IPL_Gain_GetBlueGainMax(PEAK_IPL_GAIN_HANDLE gainHandle, float * blueGainMax);
360 static PEAK_IPL_C_API PEAK_IPL_Gain_GetBlueGainMin(PEAK_IPL_GAIN_HANDLE gainHandle, float * blueGainMin);
375 static PEAK_IPL_C_API PEAK_IPL_Image_Construct(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE * imageHandle);
377 static PEAK_IPL_C_API PEAK_IPL_Image_ConstructFromBuffer(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint8_t * buffer, uint64_t bufferSize, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE * imageHandle);
378 static PEAK_IPL_C_API PEAK_IPL_Image_GetWidth(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t * width);
379 static PEAK_IPL_C_API PEAK_IPL_Image_GetHeight(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t * height);
380 static PEAK_IPL_C_API PEAK_IPL_Image_GetPixelPointer(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t xPos, size_t yPos, uint8_t * * pixelPointer);
381 static PEAK_IPL_C_API PEAK_IPL_Image_GetByteCount(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t * byteCount);
383 static PEAK_IPL_C_API PEAK_IPL_Image_GetData(PEAK_IPL_IMAGE_HANDLE imageHandle, uint8_t * * data);
385 static PEAK_IPL_C_API PEAK_IPL_Image_ConvertTo(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
386 static PEAK_IPL_C_API PEAK_IPL_Image_ConvertToWithFactor(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, double factor, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
387 static PEAK_IPL_C_API PEAK_IPL_Image_Scale(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_SIZE_2D * size, PEAK_IPL_INTERPOLATION_ALGORITHM algorithm, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
388 static PEAK_IPL_C_API PEAK_IPL_Image_ScaleInto(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_SIZE_2D * size, uint8_t * buffer, size_t bufferSize, PEAK_IPL_INTERPOLATION_ALGORITHM algorithm);
389 static PEAK_IPL_C_API PEAK_IPL_Image_Crop(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_POINT_2D * pos, const struct PEAK_IPL_SIZE_2D * size, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
390 static PEAK_IPL_C_API PEAK_IPL_Image_ConvertToBuffer(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t * outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
394 static PEAK_IPL_C_API PEAK_IPL_Image_SetTimestamp(PEAK_IPL_IMAGE_HANDLE imageHandle, uint64_t timestamp_ns);
395 static PEAK_IPL_C_API PEAK_IPL_Image_GetTimestamp(PEAK_IPL_IMAGE_HANDLE imageHandle, uint64_t * timestamp_ns);
408 static PEAK_IPL_C_API PEAK_IPL_Histogram_GetNumChannels(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t * numChannels);
409 static PEAK_IPL_C_API PEAK_IPL_Histogram_GetPixelSumForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * pixelSum);
410 static PEAK_IPL_C_API PEAK_IPL_Histogram_GetPixelCountForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * pixelCount);
411 static PEAK_IPL_C_API PEAK_IPL_Histogram_GetBinsForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * bins, size_t * binsSize);
413 static PEAK_IPL_C_API PEAK_IPL_PixelLine_Construct(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_ORIENTATION orientation, size_t offset, PEAK_IPL_PIXEL_LINE_HANDLE * pixelLineHandle);
417 static PEAK_IPL_C_API PEAK_IPL_PixelLine_GetOffset(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t * offset);
418 static PEAK_IPL_C_API PEAK_IPL_PixelLine_GetNumChannels(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t * numChannels);
419 static PEAK_IPL_C_API PEAK_IPL_PixelLine_GetValuesForChannel(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t channelIndex, uint32_t * values, size_t * valuesSize);
421 static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetNumChannels(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t * numChannels);
424 static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetMaximumValuePerChannel(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint32_t * channelMaximumValue);
425 static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t * numSignificantBits);
428 static PEAK_IPL_C_API PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint64_t numPixels, uint64_t * size);
435 static PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsRAW(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize);
436 static PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsBMP(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize);
437 static PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsPNG(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char * filePath, size_t filePathSize);
438 static PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsJPG(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char * filePath, size_t filePathSize);
439 static PEAK_IPL_C_API PEAK_IPL_ImageWriter_Write(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize);
440 static PEAK_IPL_C_API PEAK_IPL_ImageReader_Read(const char * filePath, size_t filePathSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
441 static PEAK_IPL_C_API PEAK_IPL_ImageReaderRead_ReadAsPixelFormat(const char * filePath, size_t filePathSize, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_IMAGE_HANDLE * outputImageHandle);
442 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_Open(PEAK_IPL_VIDEO_HANDLE * videoHandle, const char * filePath, PEAK_IPL_VIDEO_CONTAINER container, PEAK_IPL_VIDEO_ENCODER encoder);
446 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Encoder_SetOption(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, const void * value, size_t count);
447 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Encoder_GetOption(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void * value, size_t count, size_t * outCount);
448 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Encoder_OptionRange(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void * min, void * max, void * inc);
450 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Container_SetOption(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_CONTAINER_OPTION option, const void * value, size_t count);
451 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Container_GetOption(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void * value, size_t count, size_t * outCount);
452 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Container_OptionRange(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void * min, void * max, void * inc);
454 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats(PEAK_IPL_VIDEO_ENCODER encoder, PEAK_IPL_PIXEL_FORMAT * pixelFormatList, size_t * pixelFormatListSize);
457 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_GetFileSize(PEAK_IPL_VIDEO_HANDLE videoHandle, uint64_t * fileSize);
461 static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Queue_GetRange(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t * minSize, int32_t * maxSize);
468 static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_Measure(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_IMAGE_HANDLE imageHandle, double * calculated_value);
474 static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_SetROIs(PEAK_IPL_SHARPNESS_HANDLE handle, struct PEAK_IPL_SHARPNESS_ROI * roiList, size_t roiListSize);
475 static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_GetROIs(PEAK_IPL_SHARPNESS_HANDLE handle, struct PEAK_IPL_SHARPNESS_ROI * roiList, size_t * roiListSize);
486
487private:
488 void* m_handle = nullptr;
489 dyn_PEAK_IPL_Library_GetVersionMajor m_PEAK_IPL_Library_GetVersionMajor{};
490 dyn_PEAK_IPL_Library_GetVersionMinor m_PEAK_IPL_Library_GetVersionMinor{};
491 dyn_PEAK_IPL_Library_GetVersionSubminor m_PEAK_IPL_Library_GetVersionSubminor{};
492 dyn_PEAK_IPL_Library_GetMaxConcurrentThreads m_PEAK_IPL_Library_GetMaxConcurrentThreads{};
493 dyn_PEAK_IPL_Library_SetMaxConcurrentThreads m_PEAK_IPL_Library_SetMaxConcurrentThreads{};
494 dyn_PEAK_IPL_Library_GetMultiThreadingEnabled m_PEAK_IPL_Library_GetMultiThreadingEnabled{};
495 dyn_PEAK_IPL_Library_SetMultiThreadingEnabled m_PEAK_IPL_Library_SetMultiThreadingEnabled{};
496 dyn_PEAK_IPL_Library_GetSIMDEnabled m_PEAK_IPL_Library_GetSIMDEnabled{};
497 dyn_PEAK_IPL_Library_SetSIMDEnabled m_PEAK_IPL_Library_SetSIMDEnabled{};
498 dyn_PEAK_IPL_Library_GetLastError m_PEAK_IPL_Library_GetLastError{};
499 dyn_PEAK_IPL_ImageConverter_Construct m_PEAK_IPL_ImageConverter_Construct{};
500 dyn_PEAK_IPL_ImageConverter_Acquire m_PEAK_IPL_ImageConverter_Acquire{};
501 dyn_PEAK_IPL_ImageConverter_PreAllocateConversion m_PEAK_IPL_ImageConverter_PreAllocateConversion{};
502 dyn_PEAK_IPL_ImageConverter_GetConversionMode m_PEAK_IPL_ImageConverter_GetConversionMode{};
503 dyn_PEAK_IPL_ImageConverter_SetConversionMode m_PEAK_IPL_ImageConverter_SetConversionMode{};
504 dyn_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats m_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats{};
505 dyn_PEAK_IPL_ImageConverter_Convert m_PEAK_IPL_ImageConverter_Convert{};
506 dyn_PEAK_IPL_ImageConverter_ConvertToBuffer m_PEAK_IPL_ImageConverter_ConvertToBuffer{};
507 dyn_PEAK_IPL_ImageConverter_Destruct m_PEAK_IPL_ImageConverter_Destruct{};
508 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Construct m_PEAK_IPL_AdaptiveHotpixelCorrector_Construct{};
509 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Acquire m_PEAK_IPL_AdaptiveHotpixelCorrector_Acquire{};
510 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity m_PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity{};
511 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity m_PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity{};
512 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent m_PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent{};
513 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent m_PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent{};
514 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Detect m_PEAK_IPL_AdaptiveHotpixelCorrector_Detect{};
515 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels m_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels{};
516 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Correct m_PEAK_IPL_AdaptiveHotpixelCorrector_Correct{};
517 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace{};
518 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive{};
519 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace{};
520 dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Destruct m_PEAK_IPL_AdaptiveHotpixelCorrector_Destruct{};
521 dyn_PEAK_IPL_ColorCorrector_Construct m_PEAK_IPL_ColorCorrector_Construct{};
522 dyn_PEAK_IPL_ColorCorrector_Acquire m_PEAK_IPL_ColorCorrector_Acquire{};
523 dyn_PEAK_IPL_ColorCorrector_SetColorCorrectionFactors m_PEAK_IPL_ColorCorrector_SetColorCorrectionFactors{};
524 dyn_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors m_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors{};
525 dyn_PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported m_PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported{};
526 dyn_PEAK_IPL_ColorCorrector_Process m_PEAK_IPL_ColorCorrector_Process{};
527 dyn_PEAK_IPL_ColorCorrector_ProcessInPlace m_PEAK_IPL_ColorCorrector_ProcessInPlace{};
528 dyn_PEAK_IPL_ColorCorrector_Destruct m_PEAK_IPL_ColorCorrector_Destruct{};
529 dyn_PEAK_IPL_ColorCorrector_GetSaturation m_PEAK_IPL_ColorCorrector_GetSaturation{};
530 dyn_PEAK_IPL_ColorCorrector_GetSaturationMin m_PEAK_IPL_ColorCorrector_GetSaturationMin{};
531 dyn_PEAK_IPL_ColorCorrector_GetSaturationMax m_PEAK_IPL_ColorCorrector_GetSaturationMax{};
532 dyn_PEAK_IPL_ColorCorrector_SetSaturation m_PEAK_IPL_ColorCorrector_SetSaturation{};
533 dyn_PEAK_IPL_Binning_Construct m_PEAK_IPL_Binning_Construct{};
534 dyn_PEAK_IPL_Binning_Acquire m_PEAK_IPL_Binning_Acquire{};
535 dyn_PEAK_IPL_Binning_SetBinningX m_PEAK_IPL_Binning_SetBinningX{};
536 dyn_PEAK_IPL_Binning_GetBinningX m_PEAK_IPL_Binning_GetBinningX{};
537 dyn_PEAK_IPL_Binning_SetBinningY m_PEAK_IPL_Binning_SetBinningY{};
538 dyn_PEAK_IPL_Binning_GetBinningY m_PEAK_IPL_Binning_GetBinningY{};
539 dyn_PEAK_IPL_Binning_GetBinningMin m_PEAK_IPL_Binning_GetBinningMin{};
540 dyn_PEAK_IPL_Binning_GetBinningMax m_PEAK_IPL_Binning_GetBinningMax{};
541 dyn_PEAK_IPL_Binning_ExpectedOutputSize m_PEAK_IPL_Binning_ExpectedOutputSize{};
542 dyn_PEAK_IPL_Binning_IsPixelformatSupported m_PEAK_IPL_Binning_IsPixelformatSupported{};
543 dyn_PEAK_IPL_Binning_SetBinningMode m_PEAK_IPL_Binning_SetBinningMode{};
544 dyn_PEAK_IPL_Binning_GetBinningMode m_PEAK_IPL_Binning_GetBinningMode{};
545 dyn_PEAK_IPL_Binning_Process m_PEAK_IPL_Binning_Process{};
546 dyn_PEAK_IPL_Binning_Destruct m_PEAK_IPL_Binning_Destruct{};
547 dyn_PEAK_IPL_Decimation_Construct m_PEAK_IPL_Decimation_Construct{};
548 dyn_PEAK_IPL_Decimation_Acquire m_PEAK_IPL_Decimation_Acquire{};
549 dyn_PEAK_IPL_Decimation_SetDecimationX m_PEAK_IPL_Decimation_SetDecimationX{};
550 dyn_PEAK_IPL_Decimation_GetDecimationX m_PEAK_IPL_Decimation_GetDecimationX{};
551 dyn_PEAK_IPL_Decimation_SetDecimationY m_PEAK_IPL_Decimation_SetDecimationY{};
552 dyn_PEAK_IPL_Decimation_GetDecimationY m_PEAK_IPL_Decimation_GetDecimationY{};
553 dyn_PEAK_IPL_Decimation_GetDecimationMin m_PEAK_IPL_Decimation_GetDecimationMin{};
554 dyn_PEAK_IPL_Decimation_GetDecimationMax m_PEAK_IPL_Decimation_GetDecimationMax{};
555 dyn_PEAK_IPL_Decimation_ExpectedOutputSize m_PEAK_IPL_Decimation_ExpectedOutputSize{};
556 dyn_PEAK_IPL_Decimation_IsPixelformatSupported m_PEAK_IPL_Decimation_IsPixelformatSupported{};
557 dyn_PEAK_IPL_Decimation_Process m_PEAK_IPL_Decimation_Process{};
558 dyn_PEAK_IPL_Decimation_Destruct m_PEAK_IPL_Decimation_Destruct{};
559 dyn_PEAK_IPL_Gain_Construct m_PEAK_IPL_Gain_Construct{};
560 dyn_PEAK_IPL_Gain_Acquire m_PEAK_IPL_Gain_Acquire{};
561 dyn_PEAK_IPL_Gain_SetMasterGainValue m_PEAK_IPL_Gain_SetMasterGainValue{};
562 dyn_PEAK_IPL_Gain_GetMasterGainValue m_PEAK_IPL_Gain_GetMasterGainValue{};
563 dyn_PEAK_IPL_Gain_GetMasterGainMax m_PEAK_IPL_Gain_GetMasterGainMax{};
564 dyn_PEAK_IPL_Gain_GetMasterGainMin m_PEAK_IPL_Gain_GetMasterGainMin{};
565 dyn_PEAK_IPL_Gain_SetRedGainValue m_PEAK_IPL_Gain_SetRedGainValue{};
566 dyn_PEAK_IPL_Gain_GetRedGainValue m_PEAK_IPL_Gain_GetRedGainValue{};
567 dyn_PEAK_IPL_Gain_GetRedGainMax m_PEAK_IPL_Gain_GetRedGainMax{};
568 dyn_PEAK_IPL_Gain_GetRedGainMin m_PEAK_IPL_Gain_GetRedGainMin{};
569 dyn_PEAK_IPL_Gain_SetGreenGainValue m_PEAK_IPL_Gain_SetGreenGainValue{};
570 dyn_PEAK_IPL_Gain_GetGreenGainValue m_PEAK_IPL_Gain_GetGreenGainValue{};
571 dyn_PEAK_IPL_Gain_GetGreenGainMax m_PEAK_IPL_Gain_GetGreenGainMax{};
572 dyn_PEAK_IPL_Gain_GetGreenGainMin m_PEAK_IPL_Gain_GetGreenGainMin{};
573 dyn_PEAK_IPL_Gain_SetBlueGainValue m_PEAK_IPL_Gain_SetBlueGainValue{};
574 dyn_PEAK_IPL_Gain_GetBlueGainValue m_PEAK_IPL_Gain_GetBlueGainValue{};
575 dyn_PEAK_IPL_Gain_GetBlueGainMax m_PEAK_IPL_Gain_GetBlueGainMax{};
576 dyn_PEAK_IPL_Gain_GetBlueGainMin m_PEAK_IPL_Gain_GetBlueGainMin{};
577 dyn_PEAK_IPL_Gain_GetIsPixelFormatSupported m_PEAK_IPL_Gain_GetIsPixelFormatSupported{};
578 dyn_PEAK_IPL_Gain_Process m_PEAK_IPL_Gain_Process{};
579 dyn_PEAK_IPL_Gain_ProcessInPlace m_PEAK_IPL_Gain_ProcessInPlace{};
580 dyn_PEAK_IPL_Gain_Destruct m_PEAK_IPL_Gain_Destruct{};
581 dyn_PEAK_IPL_GammaCorrector_Construct m_PEAK_IPL_GammaCorrector_Construct{};
582 dyn_PEAK_IPL_GammaCorrector_Acquire m_PEAK_IPL_GammaCorrector_Acquire{};
583 dyn_PEAK_IPL_GammaCorrector_SetGammaCorrectionValue m_PEAK_IPL_GammaCorrector_SetGammaCorrectionValue{};
584 dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionValue m_PEAK_IPL_GammaCorrector_GetGammaCorrectionValue{};
585 dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionMax m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMax{};
586 dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionMin m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMin{};
587 dyn_PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported m_PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported{};
588 dyn_PEAK_IPL_GammaCorrector_Process m_PEAK_IPL_GammaCorrector_Process{};
589 dyn_PEAK_IPL_GammaCorrector_ProcessInPlace m_PEAK_IPL_GammaCorrector_ProcessInPlace{};
590 dyn_PEAK_IPL_GammaCorrector_Destruct m_PEAK_IPL_GammaCorrector_Destruct{};
591 dyn_PEAK_IPL_Image_Construct m_PEAK_IPL_Image_Construct{};
592 dyn_PEAK_IPL_Image_Acquire m_PEAK_IPL_Image_Acquire{};
593 dyn_PEAK_IPL_Image_ConstructFromBuffer m_PEAK_IPL_Image_ConstructFromBuffer{};
594 dyn_PEAK_IPL_Image_GetWidth m_PEAK_IPL_Image_GetWidth{};
595 dyn_PEAK_IPL_Image_GetHeight m_PEAK_IPL_Image_GetHeight{};
596 dyn_PEAK_IPL_Image_GetPixelPointer m_PEAK_IPL_Image_GetPixelPointer{};
597 dyn_PEAK_IPL_Image_GetByteCount m_PEAK_IPL_Image_GetByteCount{};
598 dyn_PEAK_IPL_Image_GetPixelFormat m_PEAK_IPL_Image_GetPixelFormat{};
599 dyn_PEAK_IPL_Image_GetData m_PEAK_IPL_Image_GetData{};
600 dyn_PEAK_IPL_Image_Clone m_PEAK_IPL_Image_Clone{};
601 dyn_PEAK_IPL_Image_ConvertTo m_PEAK_IPL_Image_ConvertTo{};
602 dyn_PEAK_IPL_Image_ConvertToWithFactor m_PEAK_IPL_Image_ConvertToWithFactor{};
603 dyn_PEAK_IPL_Image_Scale m_PEAK_IPL_Image_Scale{};
604 dyn_PEAK_IPL_Image_ScaleInto m_PEAK_IPL_Image_ScaleInto{};
605 dyn_PEAK_IPL_Image_Crop m_PEAK_IPL_Image_Crop{};
606 dyn_PEAK_IPL_Image_ConvertToBuffer m_PEAK_IPL_Image_ConvertToBuffer{};
607 dyn_PEAK_IPL_Image_Destruct m_PEAK_IPL_Image_Destruct{};
608 dyn_PEAK_IPL_ImageTransformer_Construct m_PEAK_IPL_ImageTransformer_Construct{};
609 dyn_PEAK_IPL_ImageTransformer_Acquire m_PEAK_IPL_ImageTransformer_Acquire{};
610 dyn_PEAK_IPL_Image_SetTimestamp m_PEAK_IPL_Image_SetTimestamp{};
611 dyn_PEAK_IPL_Image_GetTimestamp m_PEAK_IPL_Image_GetTimestamp{};
612 dyn_PEAK_IPL_ImageTransformer_MirrorUpDown m_PEAK_IPL_ImageTransformer_MirrorUpDown{};
613 dyn_PEAK_IPL_ImageTransformer_MirrorLeftRight m_PEAK_IPL_ImageTransformer_MirrorLeftRight{};
614 dyn_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight{};
615 dyn_PEAK_IPL_ImageTransformer_MirrorUpDownInPlace m_PEAK_IPL_ImageTransformer_MirrorUpDownInPlace{};
616 dyn_PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace m_PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace{};
617 dyn_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace{};
618 dyn_PEAK_IPL_ImageTransformer_Rotate m_PEAK_IPL_ImageTransformer_Rotate{};
619 dyn_PEAK_IPL_ImageTransformer_RotateInPlace m_PEAK_IPL_ImageTransformer_RotateInPlace{};
620 dyn_PEAK_IPL_ImageTransformer_Destruct m_PEAK_IPL_ImageTransformer_Destruct{};
621 dyn_PEAK_IPL_Histogram_Construct m_PEAK_IPL_Histogram_Construct{};
622 dyn_PEAK_IPL_Histogram_Acquire m_PEAK_IPL_Histogram_Acquire{};
623 dyn_PEAK_IPL_Histogram_GetPixelFormat m_PEAK_IPL_Histogram_GetPixelFormat{};
624 dyn_PEAK_IPL_Histogram_GetNumChannels m_PEAK_IPL_Histogram_GetNumChannels{};
625 dyn_PEAK_IPL_Histogram_GetPixelSumForChannel m_PEAK_IPL_Histogram_GetPixelSumForChannel{};
626 dyn_PEAK_IPL_Histogram_GetPixelCountForChannel m_PEAK_IPL_Histogram_GetPixelCountForChannel{};
627 dyn_PEAK_IPL_Histogram_GetBinsForChannel m_PEAK_IPL_Histogram_GetBinsForChannel{};
628 dyn_PEAK_IPL_Histogram_Destruct m_PEAK_IPL_Histogram_Destruct{};
629 dyn_PEAK_IPL_PixelLine_Construct m_PEAK_IPL_PixelLine_Construct{};
630 dyn_PEAK_IPL_PixelLine_Acquire m_PEAK_IPL_PixelLine_Acquire{};
631 dyn_PEAK_IPL_PixelLine_GetPixelFormat m_PEAK_IPL_PixelLine_GetPixelFormat{};
632 dyn_PEAK_IPL_PixelLine_GetOrientation m_PEAK_IPL_PixelLine_GetOrientation{};
633 dyn_PEAK_IPL_PixelLine_GetOffset m_PEAK_IPL_PixelLine_GetOffset{};
634 dyn_PEAK_IPL_PixelLine_GetNumChannels m_PEAK_IPL_PixelLine_GetNumChannels{};
635 dyn_PEAK_IPL_PixelLine_GetValuesForChannel m_PEAK_IPL_PixelLine_GetValuesForChannel{};
636 dyn_PEAK_IPL_PixelLine_Destruct m_PEAK_IPL_PixelLine_Destruct{};
637 dyn_PEAK_IPL_PixelFormat_GetNumChannels m_PEAK_IPL_PixelFormat_GetNumChannels{};
638 dyn_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel{};
639 dyn_PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel{};
640 dyn_PEAK_IPL_PixelFormat_GetMaximumValuePerChannel m_PEAK_IPL_PixelFormat_GetMaximumValuePerChannel{};
641 dyn_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel{};
642 dyn_PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel{};
643 dyn_PEAK_IPL_PixelFormat_GetEndianness m_PEAK_IPL_PixelFormat_GetEndianness{};
644 dyn_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels m_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels{};
645 dyn_PEAK_IPL_PixelFormat_IsPacked m_PEAK_IPL_PixelFormat_IsPacked{};
646 dyn_PEAK_IPL_PixelFormat_IsBayered m_PEAK_IPL_PixelFormat_IsBayered{};
647 dyn_PEAK_IPL_PixelFormat_IsYUV m_PEAK_IPL_PixelFormat_IsYUV{};
648 dyn_PEAK_IPL_PixelFormat_IsCoord3D m_PEAK_IPL_PixelFormat_IsCoord3D{};
649 dyn_PEAK_IPL_PixelFormat_IsFloat m_PEAK_IPL_PixelFormat_IsFloat{};
650 dyn_PEAK_IPL_PixelFormat_GetBayerPattern m_PEAK_IPL_PixelFormat_GetBayerPattern{};
651 dyn_PEAK_IPL_ImageWriter_WriteAsRAW m_PEAK_IPL_ImageWriter_WriteAsRAW{};
652 dyn_PEAK_IPL_ImageWriter_WriteAsBMP m_PEAK_IPL_ImageWriter_WriteAsBMP{};
653 dyn_PEAK_IPL_ImageWriter_WriteAsPNG m_PEAK_IPL_ImageWriter_WriteAsPNG{};
654 dyn_PEAK_IPL_ImageWriter_WriteAsJPG m_PEAK_IPL_ImageWriter_WriteAsJPG{};
655 dyn_PEAK_IPL_ImageWriter_Write m_PEAK_IPL_ImageWriter_Write{};
656 dyn_PEAK_IPL_ImageReader_Read m_PEAK_IPL_ImageReader_Read{};
657 dyn_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat m_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat{};
658 dyn_PEAK_IPL_VideoWriter_Video_Open m_PEAK_IPL_VideoWriter_Video_Open{};
659 dyn_PEAK_IPL_VideoWriter_Video_IsOpen m_PEAK_IPL_VideoWriter_Video_IsOpen{};
660 dyn_PEAK_IPL_VideoWriter_Video_Close m_PEAK_IPL_VideoWriter_Video_Close{};
661 dyn_PEAK_IPL_VideoWriter_Video_Append m_PEAK_IPL_VideoWriter_Video_Append{};
662 dyn_PEAK_IPL_VideoWriter_Encoder_SetOption m_PEAK_IPL_VideoWriter_Encoder_SetOption{};
663 dyn_PEAK_IPL_VideoWriter_Encoder_GetOption m_PEAK_IPL_VideoWriter_Encoder_GetOption{};
664 dyn_PEAK_IPL_VideoWriter_Encoder_OptionRange m_PEAK_IPL_VideoWriter_Encoder_OptionRange{};
665 dyn_PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer m_PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer{};
666 dyn_PEAK_IPL_VideoWriter_Container_SetOption m_PEAK_IPL_VideoWriter_Container_SetOption{};
667 dyn_PEAK_IPL_VideoWriter_Container_GetOption m_PEAK_IPL_VideoWriter_Container_GetOption{};
668 dyn_PEAK_IPL_VideoWriter_Container_OptionRange m_PEAK_IPL_VideoWriter_Container_OptionRange{};
669 dyn_PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder m_PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder{};
670 dyn_PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats m_PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats{};
671 dyn_PEAK_IPL_VideoWriter_Video_GetEncodedFrames m_PEAK_IPL_VideoWriter_Video_GetEncodedFrames{};
672 dyn_PEAK_IPL_VideoWriter_Video_GetDroppedFrames m_PEAK_IPL_VideoWriter_Video_GetDroppedFrames{};
673 dyn_PEAK_IPL_VideoWriter_Video_GetFileSize m_PEAK_IPL_VideoWriter_Video_GetFileSize{};
674 dyn_PEAK_IPL_VideoWriter_Video_ResetFrameCounters m_PEAK_IPL_VideoWriter_Video_ResetFrameCounters{};
675 dyn_PEAK_IPL_VideoWriter_Queue_SetSize m_PEAK_IPL_VideoWriter_Queue_SetSize{};
676 dyn_PEAK_IPL_VideoWriter_Queue_GetSize m_PEAK_IPL_VideoWriter_Queue_GetSize{};
677 dyn_PEAK_IPL_VideoWriter_Queue_GetRange m_PEAK_IPL_VideoWriter_Queue_GetRange{};
678 dyn_PEAK_IPL_VideoWriter_Queue_GetQueued m_PEAK_IPL_VideoWriter_Queue_GetQueued{};
679 dyn_PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone m_PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone{};
680 dyn_PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty m_PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty{};
681 dyn_PEAK_IPL_ImageSharpness_Construct m_PEAK_IPL_ImageSharpness_Construct{};
682 dyn_PEAK_IPL_ImageSharpness_Acquire m_PEAK_IPL_ImageSharpness_Acquire{};
683 dyn_PEAK_IPL_ImageSharpness_Destruct m_PEAK_IPL_ImageSharpness_Destruct{};
684 dyn_PEAK_IPL_ImageSharpness_Measure m_PEAK_IPL_ImageSharpness_Measure{};
685 dyn_PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported m_PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported{};
686 dyn_PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList m_PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList{};
687 dyn_PEAK_IPL_ImageSharpness_SetAlgorithm m_PEAK_IPL_ImageSharpness_SetAlgorithm{};
688 dyn_PEAK_IPL_ImageSharpness_GetAlgorithm m_PEAK_IPL_ImageSharpness_GetAlgorithm{};
689 dyn_PEAK_IPL_ImageSharpness_GetROIMinimumSize m_PEAK_IPL_ImageSharpness_GetROIMinimumSize{};
690 dyn_PEAK_IPL_ImageSharpness_SetROIs m_PEAK_IPL_ImageSharpness_SetROIs{};
691 dyn_PEAK_IPL_ImageSharpness_GetROIs m_PEAK_IPL_ImageSharpness_GetROIs{};
692 dyn_PEAK_IPL_EdgeEnhancement_Construct m_PEAK_IPL_EdgeEnhancement_Construct{};
693 dyn_PEAK_IPL_EdgeEnhancement_Acquire m_PEAK_IPL_EdgeEnhancement_Acquire{};
694 dyn_PEAK_IPL_EdgeEnhancement_Destruct m_PEAK_IPL_EdgeEnhancement_Destruct{};
695 dyn_PEAK_IPL_EdgeEnhancement_ProcessInPlace m_PEAK_IPL_EdgeEnhancement_ProcessInPlace{};
696 dyn_PEAK_IPL_EdgeEnhancement_Process m_PEAK_IPL_EdgeEnhancement_Process{};
697 dyn_PEAK_IPL_EdgeEnhancement_GetFactorRange m_PEAK_IPL_EdgeEnhancement_GetFactorRange{};
698 dyn_PEAK_IPL_EdgeEnhancement_SetFactor m_PEAK_IPL_EdgeEnhancement_SetFactor{};
699 dyn_PEAK_IPL_EdgeEnhancement_GetFactor m_PEAK_IPL_EdgeEnhancement_GetFactor{};
700 dyn_PEAK_IPL_EdgeEnhancement_GetDefaultFactor m_PEAK_IPL_EdgeEnhancement_GetDefaultFactor{};
701 dyn_PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported m_PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported{};
702
703};
704
705inline void* import_function(void *module, const char* proc_name)
706{
707#ifdef __linux__
708 return dlsym(module, proc_name);
709#else
710 return reinterpret_cast<void*>(GetProcAddress(static_cast<HMODULE>(module), proc_name));
711#endif
712}
713
714inline DynamicLoader::DynamicLoader()
715{
716#if defined _WIN32 || defined _WIN64
717 size_t sz = 0;
718 if (_wgetenv_s(&sz, NULL, 0, L"IDS_PEAK_GENERIC_SDK_PATH") == 0
719 && sz > 0)
720 {
721 std::vector<wchar_t> env_ids_peak_ipl(sz);
722 if (_wgetenv_s(&sz, env_ids_peak_ipl.data(), sz, L"IDS_PEAK_GENERIC_SDK_PATH") == 0)
723 {
724 if (_wgetenv_s(&sz, NULL, 0, L"PATH") == 0
725 && sz > 0)
726 {
727 std::vector<wchar_t> env_path(sz);
728 if (_wgetenv_s(&sz, env_path.data(), sz, L"PATH") == 0)
729 {
730 std::wstring ids_peak_ipl_path(env_ids_peak_ipl.data());
731#ifdef _WIN64
732 ids_peak_ipl_path.append(L"\\ipl\\lib\\x86_64");
733#else
734 ids_peak_ipl_path.append(L"\\ipl\\lib\\x86_32");
735#endif
736 AddDllDirectory(ids_peak_ipl_path.c_str());
737 }
738 }
739 }
740 }
741
742 loadLib("ids_peak_ipl.dll");
743#else
744 loadLib("libids_peak_ipl.so");
745#endif
746}
747
749{
750 if(m_handle != nullptr)
751 {
752 unload();
753 }
754}
755
757{
758 auto&& inst = instance();
759 return inst.m_handle != nullptr;
760}
761
762inline void DynamicLoader::unload()
763{
764 setPointers(false);
765
766 if (m_handle != nullptr)
767 {
768#ifdef __linux__
769 dlclose(m_handle);
770#else
771 FreeLibrary(static_cast<HMODULE>(m_handle));
772#endif
773 }
774 m_handle = nullptr;
775}
776
777
778inline bool DynamicLoader::loadLib(const char* file)
779{
780 bool ret = false;
781
782 if (file)
783 {
784#ifdef __linux__
785 m_handle = dlopen(file, RTLD_NOW);
786#else
787 m_handle = LoadLibraryExA(file, nullptr, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS);
788#endif
789 if (m_handle != nullptr)
790 {
791 try {
792 setPointers(true);
793 ret = true;
794 } catch (const std::exception&) {
795 unload();
796 throw;
797 }
798 }
799 else
800 {
801 throw std::runtime_error(std::string("Lib load failed: ") + file);
802 }
803 }
804 else
805 {
806 throw std::runtime_error("Filename empty");
807 }
808
809 return ret;
810}
811
812inline bool DynamicLoader::setPointers(bool load)
813{
814
815 m_PEAK_IPL_Library_GetVersionMajor = (dyn_PEAK_IPL_Library_GetVersionMajor) (load ? import_function(m_handle, "PEAK_IPL_Library_GetVersionMajor") : nullptr);
816 if(m_PEAK_IPL_Library_GetVersionMajor == nullptr && load)
817 {
818 throw std::runtime_error("Failed to load PEAK_IPL_Library_GetVersionMajor");
819 }
820
821 m_PEAK_IPL_Library_GetVersionMinor = (dyn_PEAK_IPL_Library_GetVersionMinor) (load ? import_function(m_handle, "PEAK_IPL_Library_GetVersionMinor") : nullptr);
822 if(m_PEAK_IPL_Library_GetVersionMinor == nullptr && load)
823 {
824 throw std::runtime_error("Failed to load PEAK_IPL_Library_GetVersionMinor");
825 }
826
827 m_PEAK_IPL_Library_GetVersionSubminor = (dyn_PEAK_IPL_Library_GetVersionSubminor) (load ? import_function(m_handle, "PEAK_IPL_Library_GetVersionSubminor") : nullptr);
828 if(m_PEAK_IPL_Library_GetVersionSubminor == nullptr && load)
829 {
830 throw std::runtime_error("Failed to load PEAK_IPL_Library_GetVersionSubminor");
831 }
832
833 m_PEAK_IPL_Library_GetMaxConcurrentThreads = (dyn_PEAK_IPL_Library_GetMaxConcurrentThreads) (load ? import_function(m_handle, "PEAK_IPL_Library_GetMaxConcurrentThreads") : nullptr);
834 if(m_PEAK_IPL_Library_GetMaxConcurrentThreads == nullptr && load)
835 {
836 throw std::runtime_error("Failed to load PEAK_IPL_Library_GetMaxConcurrentThreads");
837 }
838
839 m_PEAK_IPL_Library_SetMaxConcurrentThreads = (dyn_PEAK_IPL_Library_SetMaxConcurrentThreads) (load ? import_function(m_handle, "PEAK_IPL_Library_SetMaxConcurrentThreads") : nullptr);
840 if(m_PEAK_IPL_Library_SetMaxConcurrentThreads == nullptr && load)
841 {
842 throw std::runtime_error("Failed to load PEAK_IPL_Library_SetMaxConcurrentThreads");
843 }
844
845 m_PEAK_IPL_Library_GetMultiThreadingEnabled = (dyn_PEAK_IPL_Library_GetMultiThreadingEnabled) (load ? import_function(m_handle, "PEAK_IPL_Library_GetMultiThreadingEnabled") : nullptr);
846 if(m_PEAK_IPL_Library_GetMultiThreadingEnabled == nullptr && load)
847 {
848 throw std::runtime_error("Failed to load PEAK_IPL_Library_GetMultiThreadingEnabled");
849 }
850
851 m_PEAK_IPL_Library_SetMultiThreadingEnabled = (dyn_PEAK_IPL_Library_SetMultiThreadingEnabled) (load ? import_function(m_handle, "PEAK_IPL_Library_SetMultiThreadingEnabled") : nullptr);
852 if(m_PEAK_IPL_Library_SetMultiThreadingEnabled == nullptr && load)
853 {
854 throw std::runtime_error("Failed to load PEAK_IPL_Library_SetMultiThreadingEnabled");
855 }
856
857 m_PEAK_IPL_Library_GetSIMDEnabled = (dyn_PEAK_IPL_Library_GetSIMDEnabled) (load ? import_function(m_handle, "PEAK_IPL_Library_GetSIMDEnabled") : nullptr);
858 if(m_PEAK_IPL_Library_GetSIMDEnabled == nullptr && load)
859 {
860 throw std::runtime_error("Failed to load PEAK_IPL_Library_GetSIMDEnabled");
861 }
862
863 m_PEAK_IPL_Library_SetSIMDEnabled = (dyn_PEAK_IPL_Library_SetSIMDEnabled) (load ? import_function(m_handle, "PEAK_IPL_Library_SetSIMDEnabled") : nullptr);
864 if(m_PEAK_IPL_Library_SetSIMDEnabled == nullptr && load)
865 {
866 throw std::runtime_error("Failed to load PEAK_IPL_Library_SetSIMDEnabled");
867 }
868
869 m_PEAK_IPL_Library_GetLastError = (dyn_PEAK_IPL_Library_GetLastError) (load ? import_function(m_handle, "PEAK_IPL_Library_GetLastError") : nullptr);
870 if(m_PEAK_IPL_Library_GetLastError == nullptr && load)
871 {
872 throw std::runtime_error("Failed to load PEAK_IPL_Library_GetLastError");
873 }
874
875 m_PEAK_IPL_ImageConverter_Construct = (dyn_PEAK_IPL_ImageConverter_Construct) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_Construct") : nullptr);
876 if(m_PEAK_IPL_ImageConverter_Construct == nullptr && load)
877 {
878 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_Construct");
879 }
880
881 m_PEAK_IPL_ImageConverter_Acquire = (dyn_PEAK_IPL_ImageConverter_Acquire) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_Acquire") : nullptr);
882 if(m_PEAK_IPL_ImageConverter_Acquire == nullptr && load)
883 {
884 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_Acquire");
885 }
886
887 m_PEAK_IPL_ImageConverter_PreAllocateConversion = (dyn_PEAK_IPL_ImageConverter_PreAllocateConversion) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_PreAllocateConversion") : nullptr);
888 if(m_PEAK_IPL_ImageConverter_PreAllocateConversion == nullptr && load)
889 {
890 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_PreAllocateConversion");
891 }
892
893 m_PEAK_IPL_ImageConverter_GetConversionMode = (dyn_PEAK_IPL_ImageConverter_GetConversionMode) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_GetConversionMode") : nullptr);
894 if(m_PEAK_IPL_ImageConverter_GetConversionMode == nullptr && load)
895 {
896 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_GetConversionMode");
897 }
898
899 m_PEAK_IPL_ImageConverter_SetConversionMode = (dyn_PEAK_IPL_ImageConverter_SetConversionMode) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_SetConversionMode") : nullptr);
900 if(m_PEAK_IPL_ImageConverter_SetConversionMode == nullptr && load)
901 {
902 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_SetConversionMode");
903 }
904
905 m_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats = (dyn_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats") : nullptr);
906 if(m_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats == nullptr && load)
907 {
908 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats");
909 }
910
911 m_PEAK_IPL_ImageConverter_Convert = (dyn_PEAK_IPL_ImageConverter_Convert) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_Convert") : nullptr);
912 if(m_PEAK_IPL_ImageConverter_Convert == nullptr && load)
913 {
914 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_Convert");
915 }
916
917 m_PEAK_IPL_ImageConverter_ConvertToBuffer = (dyn_PEAK_IPL_ImageConverter_ConvertToBuffer) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_ConvertToBuffer") : nullptr);
918 if(m_PEAK_IPL_ImageConverter_ConvertToBuffer == nullptr && load)
919 {
920 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_ConvertToBuffer");
921 }
922
923 m_PEAK_IPL_ImageConverter_Destruct = (dyn_PEAK_IPL_ImageConverter_Destruct) (load ? import_function(m_handle, "PEAK_IPL_ImageConverter_Destruct") : nullptr);
924 if(m_PEAK_IPL_ImageConverter_Destruct == nullptr && load)
925 {
926 throw std::runtime_error("Failed to load PEAK_IPL_ImageConverter_Destruct");
927 }
928
929 m_PEAK_IPL_AdaptiveHotpixelCorrector_Construct = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Construct) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_Construct") : nullptr);
930 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_Construct == nullptr && load)
931 {
932 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_Construct");
933 }
934
935 m_PEAK_IPL_AdaptiveHotpixelCorrector_Acquire = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Acquire) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_Acquire") : nullptr);
936 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_Acquire == nullptr && load)
937 {
938 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_Acquire");
939 }
940
941 m_PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity") : nullptr);
942 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity == nullptr && load)
943 {
944 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity");
945 }
946
947 m_PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity") : nullptr);
948 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity == nullptr && load)
949 {
950 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity");
951 }
952
953 m_PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent") : nullptr);
954 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent == nullptr && load)
955 {
956 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent");
957 }
958
959 m_PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent") : nullptr);
960 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent == nullptr && load)
961 {
962 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent");
963 }
964
965 m_PEAK_IPL_AdaptiveHotpixelCorrector_Detect = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Detect) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_Detect") : nullptr);
966 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_Detect == nullptr && load)
967 {
968 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_Detect");
969 }
970
971 m_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels") : nullptr);
972 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels == nullptr && load)
973 {
974 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels");
975 }
976
977 m_PEAK_IPL_AdaptiveHotpixelCorrector_Correct = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Correct) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_Correct") : nullptr);
978 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_Correct == nullptr && load)
979 {
980 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_Correct");
981 }
982
983 m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace") : nullptr);
984 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace == nullptr && load)
985 {
986 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace");
987 }
988
989 m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive") : nullptr);
990 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive == nullptr && load)
991 {
992 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive");
993 }
994
995 m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace") : nullptr);
996 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace == nullptr && load)
997 {
998 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace");
999 }
1000
1001 m_PEAK_IPL_AdaptiveHotpixelCorrector_Destruct = (dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Destruct) (load ? import_function(m_handle, "PEAK_IPL_AdaptiveHotpixelCorrector_Destruct") : nullptr);
1002 if(m_PEAK_IPL_AdaptiveHotpixelCorrector_Destruct == nullptr && load)
1003 {
1004 throw std::runtime_error("Failed to load PEAK_IPL_AdaptiveHotpixelCorrector_Destruct");
1005 }
1006
1007 m_PEAK_IPL_ColorCorrector_Construct = (dyn_PEAK_IPL_ColorCorrector_Construct) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_Construct") : nullptr);
1008 if(m_PEAK_IPL_ColorCorrector_Construct == nullptr && load)
1009 {
1010 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_Construct");
1011 }
1012
1013 m_PEAK_IPL_ColorCorrector_Acquire = (dyn_PEAK_IPL_ColorCorrector_Acquire) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_Acquire") : nullptr);
1014 if(m_PEAK_IPL_ColorCorrector_Acquire == nullptr && load)
1015 {
1016 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_Acquire");
1017 }
1018
1019 m_PEAK_IPL_ColorCorrector_SetColorCorrectionFactors = (dyn_PEAK_IPL_ColorCorrector_SetColorCorrectionFactors) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_SetColorCorrectionFactors") : nullptr);
1020 if(m_PEAK_IPL_ColorCorrector_SetColorCorrectionFactors == nullptr && load)
1021 {
1022 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_SetColorCorrectionFactors");
1023 }
1024
1025 m_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors = (dyn_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_GetColorCorrectionFactors") : nullptr);
1026 if(m_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors == nullptr && load)
1027 {
1028 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_GetColorCorrectionFactors");
1029 }
1030
1031 m_PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported = (dyn_PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported") : nullptr);
1032 if(m_PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported == nullptr && load)
1033 {
1034 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported");
1035 }
1036
1037 m_PEAK_IPL_ColorCorrector_Process = (dyn_PEAK_IPL_ColorCorrector_Process) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_Process") : nullptr);
1038 if(m_PEAK_IPL_ColorCorrector_Process == nullptr && load)
1039 {
1040 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_Process");
1041 }
1042
1043 m_PEAK_IPL_ColorCorrector_ProcessInPlace = (dyn_PEAK_IPL_ColorCorrector_ProcessInPlace) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_ProcessInPlace") : nullptr);
1044 if(m_PEAK_IPL_ColorCorrector_ProcessInPlace == nullptr && load)
1045 {
1046 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_ProcessInPlace");
1047 }
1048
1049 m_PEAK_IPL_ColorCorrector_Destruct = (dyn_PEAK_IPL_ColorCorrector_Destruct) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_Destruct") : nullptr);
1050 if(m_PEAK_IPL_ColorCorrector_Destruct == nullptr && load)
1051 {
1052 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_Destruct");
1053 }
1054
1055 m_PEAK_IPL_ColorCorrector_GetSaturation = (dyn_PEAK_IPL_ColorCorrector_GetSaturation) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_GetSaturation") : nullptr);
1056 if(m_PEAK_IPL_ColorCorrector_GetSaturation == nullptr && load)
1057 {
1058 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_GetSaturation");
1059 }
1060
1061 m_PEAK_IPL_ColorCorrector_GetSaturationMin = (dyn_PEAK_IPL_ColorCorrector_GetSaturationMin) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_GetSaturationMin") : nullptr);
1062 if(m_PEAK_IPL_ColorCorrector_GetSaturationMin == nullptr && load)
1063 {
1064 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_GetSaturationMin");
1065 }
1066
1067 m_PEAK_IPL_ColorCorrector_GetSaturationMax = (dyn_PEAK_IPL_ColorCorrector_GetSaturationMax) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_GetSaturationMax") : nullptr);
1068 if(m_PEAK_IPL_ColorCorrector_GetSaturationMax == nullptr && load)
1069 {
1070 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_GetSaturationMax");
1071 }
1072
1073 m_PEAK_IPL_ColorCorrector_SetSaturation = (dyn_PEAK_IPL_ColorCorrector_SetSaturation) (load ? import_function(m_handle, "PEAK_IPL_ColorCorrector_SetSaturation") : nullptr);
1074 if(m_PEAK_IPL_ColorCorrector_SetSaturation == nullptr && load)
1075 {
1076 throw std::runtime_error("Failed to load PEAK_IPL_ColorCorrector_SetSaturation");
1077 }
1078
1079 m_PEAK_IPL_Binning_Construct = (dyn_PEAK_IPL_Binning_Construct) (load ? import_function(m_handle, "PEAK_IPL_Binning_Construct") : nullptr);
1080 if(m_PEAK_IPL_Binning_Construct == nullptr && load)
1081 {
1082 throw std::runtime_error("Failed to load PEAK_IPL_Binning_Construct");
1083 }
1084
1085 m_PEAK_IPL_Binning_Acquire = (dyn_PEAK_IPL_Binning_Acquire) (load ? import_function(m_handle, "PEAK_IPL_Binning_Acquire") : nullptr);
1086 if(m_PEAK_IPL_Binning_Acquire == nullptr && load)
1087 {
1088 throw std::runtime_error("Failed to load PEAK_IPL_Binning_Acquire");
1089 }
1090
1091 m_PEAK_IPL_Binning_SetBinningX = (dyn_PEAK_IPL_Binning_SetBinningX) (load ? import_function(m_handle, "PEAK_IPL_Binning_SetBinningX") : nullptr);
1092 if(m_PEAK_IPL_Binning_SetBinningX == nullptr && load)
1093 {
1094 throw std::runtime_error("Failed to load PEAK_IPL_Binning_SetBinningX");
1095 }
1096
1097 m_PEAK_IPL_Binning_GetBinningX = (dyn_PEAK_IPL_Binning_GetBinningX) (load ? import_function(m_handle, "PEAK_IPL_Binning_GetBinningX") : nullptr);
1098 if(m_PEAK_IPL_Binning_GetBinningX == nullptr && load)
1099 {
1100 throw std::runtime_error("Failed to load PEAK_IPL_Binning_GetBinningX");
1101 }
1102
1103 m_PEAK_IPL_Binning_SetBinningY = (dyn_PEAK_IPL_Binning_SetBinningY) (load ? import_function(m_handle, "PEAK_IPL_Binning_SetBinningY") : nullptr);
1104 if(m_PEAK_IPL_Binning_SetBinningY == nullptr && load)
1105 {
1106 throw std::runtime_error("Failed to load PEAK_IPL_Binning_SetBinningY");
1107 }
1108
1109 m_PEAK_IPL_Binning_GetBinningY = (dyn_PEAK_IPL_Binning_GetBinningY) (load ? import_function(m_handle, "PEAK_IPL_Binning_GetBinningY") : nullptr);
1110 if(m_PEAK_IPL_Binning_GetBinningY == nullptr && load)
1111 {
1112 throw std::runtime_error("Failed to load PEAK_IPL_Binning_GetBinningY");
1113 }
1114
1115 m_PEAK_IPL_Binning_GetBinningMin = (dyn_PEAK_IPL_Binning_GetBinningMin) (load ? import_function(m_handle, "PEAK_IPL_Binning_GetBinningMin") : nullptr);
1116 if(m_PEAK_IPL_Binning_GetBinningMin == nullptr && load)
1117 {
1118 throw std::runtime_error("Failed to load PEAK_IPL_Binning_GetBinningMin");
1119 }
1120
1121 m_PEAK_IPL_Binning_GetBinningMax = (dyn_PEAK_IPL_Binning_GetBinningMax) (load ? import_function(m_handle, "PEAK_IPL_Binning_GetBinningMax") : nullptr);
1122 if(m_PEAK_IPL_Binning_GetBinningMax == nullptr && load)
1123 {
1124 throw std::runtime_error("Failed to load PEAK_IPL_Binning_GetBinningMax");
1125 }
1126
1127 m_PEAK_IPL_Binning_ExpectedOutputSize = (dyn_PEAK_IPL_Binning_ExpectedOutputSize) (load ? import_function(m_handle, "PEAK_IPL_Binning_ExpectedOutputSize") : nullptr);
1128 if(m_PEAK_IPL_Binning_ExpectedOutputSize == nullptr && load)
1129 {
1130 throw std::runtime_error("Failed to load PEAK_IPL_Binning_ExpectedOutputSize");
1131 }
1132
1133 m_PEAK_IPL_Binning_IsPixelformatSupported = (dyn_PEAK_IPL_Binning_IsPixelformatSupported) (load ? import_function(m_handle, "PEAK_IPL_Binning_IsPixelformatSupported") : nullptr);
1134 if(m_PEAK_IPL_Binning_IsPixelformatSupported == nullptr && load)
1135 {
1136 throw std::runtime_error("Failed to load PEAK_IPL_Binning_IsPixelformatSupported");
1137 }
1138
1139 m_PEAK_IPL_Binning_SetBinningMode = (dyn_PEAK_IPL_Binning_SetBinningMode) (load ? import_function(m_handle, "PEAK_IPL_Binning_SetBinningMode") : nullptr);
1140 if(m_PEAK_IPL_Binning_SetBinningMode == nullptr && load)
1141 {
1142 throw std::runtime_error("Failed to load PEAK_IPL_Binning_SetBinningMode");
1143 }
1144
1145 m_PEAK_IPL_Binning_GetBinningMode = (dyn_PEAK_IPL_Binning_GetBinningMode) (load ? import_function(m_handle, "PEAK_IPL_Binning_GetBinningMode") : nullptr);
1146 if(m_PEAK_IPL_Binning_GetBinningMode == nullptr && load)
1147 {
1148 throw std::runtime_error("Failed to load PEAK_IPL_Binning_GetBinningMode");
1149 }
1150
1151 m_PEAK_IPL_Binning_Process = (dyn_PEAK_IPL_Binning_Process) (load ? import_function(m_handle, "PEAK_IPL_Binning_Process") : nullptr);
1152 if(m_PEAK_IPL_Binning_Process == nullptr && load)
1153 {
1154 throw std::runtime_error("Failed to load PEAK_IPL_Binning_Process");
1155 }
1156
1157 m_PEAK_IPL_Binning_Destruct = (dyn_PEAK_IPL_Binning_Destruct) (load ? import_function(m_handle, "PEAK_IPL_Binning_Destruct") : nullptr);
1158 if(m_PEAK_IPL_Binning_Destruct == nullptr && load)
1159 {
1160 throw std::runtime_error("Failed to load PEAK_IPL_Binning_Destruct");
1161 }
1162
1163 m_PEAK_IPL_Decimation_Construct = (dyn_PEAK_IPL_Decimation_Construct) (load ? import_function(m_handle, "PEAK_IPL_Decimation_Construct") : nullptr);
1164 if(m_PEAK_IPL_Decimation_Construct == nullptr && load)
1165 {
1166 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_Construct");
1167 }
1168
1169 m_PEAK_IPL_Decimation_Acquire = (dyn_PEAK_IPL_Decimation_Acquire) (load ? import_function(m_handle, "PEAK_IPL_Decimation_Acquire") : nullptr);
1170 if(m_PEAK_IPL_Decimation_Acquire == nullptr && load)
1171 {
1172 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_Acquire");
1173 }
1174
1175 m_PEAK_IPL_Decimation_SetDecimationX = (dyn_PEAK_IPL_Decimation_SetDecimationX) (load ? import_function(m_handle, "PEAK_IPL_Decimation_SetDecimationX") : nullptr);
1176 if(m_PEAK_IPL_Decimation_SetDecimationX == nullptr && load)
1177 {
1178 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_SetDecimationX");
1179 }
1180
1181 m_PEAK_IPL_Decimation_GetDecimationX = (dyn_PEAK_IPL_Decimation_GetDecimationX) (load ? import_function(m_handle, "PEAK_IPL_Decimation_GetDecimationX") : nullptr);
1182 if(m_PEAK_IPL_Decimation_GetDecimationX == nullptr && load)
1183 {
1184 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_GetDecimationX");
1185 }
1186
1187 m_PEAK_IPL_Decimation_SetDecimationY = (dyn_PEAK_IPL_Decimation_SetDecimationY) (load ? import_function(m_handle, "PEAK_IPL_Decimation_SetDecimationY") : nullptr);
1188 if(m_PEAK_IPL_Decimation_SetDecimationY == nullptr && load)
1189 {
1190 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_SetDecimationY");
1191 }
1192
1193 m_PEAK_IPL_Decimation_GetDecimationY = (dyn_PEAK_IPL_Decimation_GetDecimationY) (load ? import_function(m_handle, "PEAK_IPL_Decimation_GetDecimationY") : nullptr);
1194 if(m_PEAK_IPL_Decimation_GetDecimationY == nullptr && load)
1195 {
1196 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_GetDecimationY");
1197 }
1198
1199 m_PEAK_IPL_Decimation_GetDecimationMin = (dyn_PEAK_IPL_Decimation_GetDecimationMin) (load ? import_function(m_handle, "PEAK_IPL_Decimation_GetDecimationMin") : nullptr);
1200 if(m_PEAK_IPL_Decimation_GetDecimationMin == nullptr && load)
1201 {
1202 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_GetDecimationMin");
1203 }
1204
1205 m_PEAK_IPL_Decimation_GetDecimationMax = (dyn_PEAK_IPL_Decimation_GetDecimationMax) (load ? import_function(m_handle, "PEAK_IPL_Decimation_GetDecimationMax") : nullptr);
1206 if(m_PEAK_IPL_Decimation_GetDecimationMax == nullptr && load)
1207 {
1208 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_GetDecimationMax");
1209 }
1210
1211 m_PEAK_IPL_Decimation_ExpectedOutputSize = (dyn_PEAK_IPL_Decimation_ExpectedOutputSize) (load ? import_function(m_handle, "PEAK_IPL_Decimation_ExpectedOutputSize") : nullptr);
1212 if(m_PEAK_IPL_Decimation_ExpectedOutputSize == nullptr && load)
1213 {
1214 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_ExpectedOutputSize");
1215 }
1216
1217 m_PEAK_IPL_Decimation_IsPixelformatSupported = (dyn_PEAK_IPL_Decimation_IsPixelformatSupported) (load ? import_function(m_handle, "PEAK_IPL_Decimation_IsPixelformatSupported") : nullptr);
1218 if(m_PEAK_IPL_Decimation_IsPixelformatSupported == nullptr && load)
1219 {
1220 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_IsPixelformatSupported");
1221 }
1222
1223 m_PEAK_IPL_Decimation_Process = (dyn_PEAK_IPL_Decimation_Process) (load ? import_function(m_handle, "PEAK_IPL_Decimation_Process") : nullptr);
1224 if(m_PEAK_IPL_Decimation_Process == nullptr && load)
1225 {
1226 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_Process");
1227 }
1228
1229 m_PEAK_IPL_Decimation_Destruct = (dyn_PEAK_IPL_Decimation_Destruct) (load ? import_function(m_handle, "PEAK_IPL_Decimation_Destruct") : nullptr);
1230 if(m_PEAK_IPL_Decimation_Destruct == nullptr && load)
1231 {
1232 throw std::runtime_error("Failed to load PEAK_IPL_Decimation_Destruct");
1233 }
1234
1235 m_PEAK_IPL_Gain_Construct = (dyn_PEAK_IPL_Gain_Construct) (load ? import_function(m_handle, "PEAK_IPL_Gain_Construct") : nullptr);
1236 if(m_PEAK_IPL_Gain_Construct == nullptr && load)
1237 {
1238 throw std::runtime_error("Failed to load PEAK_IPL_Gain_Construct");
1239 }
1240
1241 m_PEAK_IPL_Gain_Acquire = (dyn_PEAK_IPL_Gain_Acquire) (load ? import_function(m_handle, "PEAK_IPL_Gain_Acquire") : nullptr);
1242 if(m_PEAK_IPL_Gain_Acquire == nullptr && load)
1243 {
1244 throw std::runtime_error("Failed to load PEAK_IPL_Gain_Acquire");
1245 }
1246
1247 m_PEAK_IPL_Gain_SetMasterGainValue = (dyn_PEAK_IPL_Gain_SetMasterGainValue) (load ? import_function(m_handle, "PEAK_IPL_Gain_SetMasterGainValue") : nullptr);
1248 if(m_PEAK_IPL_Gain_SetMasterGainValue == nullptr && load)
1249 {
1250 throw std::runtime_error("Failed to load PEAK_IPL_Gain_SetMasterGainValue");
1251 }
1252
1253 m_PEAK_IPL_Gain_GetMasterGainValue = (dyn_PEAK_IPL_Gain_GetMasterGainValue) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetMasterGainValue") : nullptr);
1254 if(m_PEAK_IPL_Gain_GetMasterGainValue == nullptr && load)
1255 {
1256 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetMasterGainValue");
1257 }
1258
1259 m_PEAK_IPL_Gain_GetMasterGainMax = (dyn_PEAK_IPL_Gain_GetMasterGainMax) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetMasterGainMax") : nullptr);
1260 if(m_PEAK_IPL_Gain_GetMasterGainMax == nullptr && load)
1261 {
1262 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetMasterGainMax");
1263 }
1264
1265 m_PEAK_IPL_Gain_GetMasterGainMin = (dyn_PEAK_IPL_Gain_GetMasterGainMin) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetMasterGainMin") : nullptr);
1266 if(m_PEAK_IPL_Gain_GetMasterGainMin == nullptr && load)
1267 {
1268 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetMasterGainMin");
1269 }
1270
1271 m_PEAK_IPL_Gain_SetRedGainValue = (dyn_PEAK_IPL_Gain_SetRedGainValue) (load ? import_function(m_handle, "PEAK_IPL_Gain_SetRedGainValue") : nullptr);
1272 if(m_PEAK_IPL_Gain_SetRedGainValue == nullptr && load)
1273 {
1274 throw std::runtime_error("Failed to load PEAK_IPL_Gain_SetRedGainValue");
1275 }
1276
1277 m_PEAK_IPL_Gain_GetRedGainValue = (dyn_PEAK_IPL_Gain_GetRedGainValue) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetRedGainValue") : nullptr);
1278 if(m_PEAK_IPL_Gain_GetRedGainValue == nullptr && load)
1279 {
1280 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetRedGainValue");
1281 }
1282
1283 m_PEAK_IPL_Gain_GetRedGainMax = (dyn_PEAK_IPL_Gain_GetRedGainMax) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetRedGainMax") : nullptr);
1284 if(m_PEAK_IPL_Gain_GetRedGainMax == nullptr && load)
1285 {
1286 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetRedGainMax");
1287 }
1288
1289 m_PEAK_IPL_Gain_GetRedGainMin = (dyn_PEAK_IPL_Gain_GetRedGainMin) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetRedGainMin") : nullptr);
1290 if(m_PEAK_IPL_Gain_GetRedGainMin == nullptr && load)
1291 {
1292 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetRedGainMin");
1293 }
1294
1295 m_PEAK_IPL_Gain_SetGreenGainValue = (dyn_PEAK_IPL_Gain_SetGreenGainValue) (load ? import_function(m_handle, "PEAK_IPL_Gain_SetGreenGainValue") : nullptr);
1296 if(m_PEAK_IPL_Gain_SetGreenGainValue == nullptr && load)
1297 {
1298 throw std::runtime_error("Failed to load PEAK_IPL_Gain_SetGreenGainValue");
1299 }
1300
1301 m_PEAK_IPL_Gain_GetGreenGainValue = (dyn_PEAK_IPL_Gain_GetGreenGainValue) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetGreenGainValue") : nullptr);
1302 if(m_PEAK_IPL_Gain_GetGreenGainValue == nullptr && load)
1303 {
1304 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetGreenGainValue");
1305 }
1306
1307 m_PEAK_IPL_Gain_GetGreenGainMax = (dyn_PEAK_IPL_Gain_GetGreenGainMax) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetGreenGainMax") : nullptr);
1308 if(m_PEAK_IPL_Gain_GetGreenGainMax == nullptr && load)
1309 {
1310 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetGreenGainMax");
1311 }
1312
1313 m_PEAK_IPL_Gain_GetGreenGainMin = (dyn_PEAK_IPL_Gain_GetGreenGainMin) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetGreenGainMin") : nullptr);
1314 if(m_PEAK_IPL_Gain_GetGreenGainMin == nullptr && load)
1315 {
1316 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetGreenGainMin");
1317 }
1318
1319 m_PEAK_IPL_Gain_SetBlueGainValue = (dyn_PEAK_IPL_Gain_SetBlueGainValue) (load ? import_function(m_handle, "PEAK_IPL_Gain_SetBlueGainValue") : nullptr);
1320 if(m_PEAK_IPL_Gain_SetBlueGainValue == nullptr && load)
1321 {
1322 throw std::runtime_error("Failed to load PEAK_IPL_Gain_SetBlueGainValue");
1323 }
1324
1325 m_PEAK_IPL_Gain_GetBlueGainValue = (dyn_PEAK_IPL_Gain_GetBlueGainValue) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetBlueGainValue") : nullptr);
1326 if(m_PEAK_IPL_Gain_GetBlueGainValue == nullptr && load)
1327 {
1328 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetBlueGainValue");
1329 }
1330
1331 m_PEAK_IPL_Gain_GetBlueGainMax = (dyn_PEAK_IPL_Gain_GetBlueGainMax) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetBlueGainMax") : nullptr);
1332 if(m_PEAK_IPL_Gain_GetBlueGainMax == nullptr && load)
1333 {
1334 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetBlueGainMax");
1335 }
1336
1337 m_PEAK_IPL_Gain_GetBlueGainMin = (dyn_PEAK_IPL_Gain_GetBlueGainMin) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetBlueGainMin") : nullptr);
1338 if(m_PEAK_IPL_Gain_GetBlueGainMin == nullptr && load)
1339 {
1340 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetBlueGainMin");
1341 }
1342
1343 m_PEAK_IPL_Gain_GetIsPixelFormatSupported = (dyn_PEAK_IPL_Gain_GetIsPixelFormatSupported) (load ? import_function(m_handle, "PEAK_IPL_Gain_GetIsPixelFormatSupported") : nullptr);
1344 if(m_PEAK_IPL_Gain_GetIsPixelFormatSupported == nullptr && load)
1345 {
1346 throw std::runtime_error("Failed to load PEAK_IPL_Gain_GetIsPixelFormatSupported");
1347 }
1348
1349 m_PEAK_IPL_Gain_Process = (dyn_PEAK_IPL_Gain_Process) (load ? import_function(m_handle, "PEAK_IPL_Gain_Process") : nullptr);
1350 if(m_PEAK_IPL_Gain_Process == nullptr && load)
1351 {
1352 throw std::runtime_error("Failed to load PEAK_IPL_Gain_Process");
1353 }
1354
1355 m_PEAK_IPL_Gain_ProcessInPlace = (dyn_PEAK_IPL_Gain_ProcessInPlace) (load ? import_function(m_handle, "PEAK_IPL_Gain_ProcessInPlace") : nullptr);
1356 if(m_PEAK_IPL_Gain_ProcessInPlace == nullptr && load)
1357 {
1358 throw std::runtime_error("Failed to load PEAK_IPL_Gain_ProcessInPlace");
1359 }
1360
1361 m_PEAK_IPL_Gain_Destruct = (dyn_PEAK_IPL_Gain_Destruct) (load ? import_function(m_handle, "PEAK_IPL_Gain_Destruct") : nullptr);
1362 if(m_PEAK_IPL_Gain_Destruct == nullptr && load)
1363 {
1364 throw std::runtime_error("Failed to load PEAK_IPL_Gain_Destruct");
1365 }
1366
1367 m_PEAK_IPL_GammaCorrector_Construct = (dyn_PEAK_IPL_GammaCorrector_Construct) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_Construct") : nullptr);
1368 if(m_PEAK_IPL_GammaCorrector_Construct == nullptr && load)
1369 {
1370 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_Construct");
1371 }
1372
1373 m_PEAK_IPL_GammaCorrector_Acquire = (dyn_PEAK_IPL_GammaCorrector_Acquire) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_Acquire") : nullptr);
1374 if(m_PEAK_IPL_GammaCorrector_Acquire == nullptr && load)
1375 {
1376 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_Acquire");
1377 }
1378
1379 m_PEAK_IPL_GammaCorrector_SetGammaCorrectionValue = (dyn_PEAK_IPL_GammaCorrector_SetGammaCorrectionValue) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_SetGammaCorrectionValue") : nullptr);
1380 if(m_PEAK_IPL_GammaCorrector_SetGammaCorrectionValue == nullptr && load)
1381 {
1382 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_SetGammaCorrectionValue");
1383 }
1384
1385 m_PEAK_IPL_GammaCorrector_GetGammaCorrectionValue = (dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionValue) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_GetGammaCorrectionValue") : nullptr);
1386 if(m_PEAK_IPL_GammaCorrector_GetGammaCorrectionValue == nullptr && load)
1387 {
1388 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_GetGammaCorrectionValue");
1389 }
1390
1391 m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMax = (dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionMax) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_GetGammaCorrectionMax") : nullptr);
1392 if(m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMax == nullptr && load)
1393 {
1394 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_GetGammaCorrectionMax");
1395 }
1396
1397 m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMin = (dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionMin) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_GetGammaCorrectionMin") : nullptr);
1398 if(m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMin == nullptr && load)
1399 {
1400 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_GetGammaCorrectionMin");
1401 }
1402
1403 m_PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported = (dyn_PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported") : nullptr);
1404 if(m_PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported == nullptr && load)
1405 {
1406 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported");
1407 }
1408
1409 m_PEAK_IPL_GammaCorrector_Process = (dyn_PEAK_IPL_GammaCorrector_Process) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_Process") : nullptr);
1410 if(m_PEAK_IPL_GammaCorrector_Process == nullptr && load)
1411 {
1412 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_Process");
1413 }
1414
1415 m_PEAK_IPL_GammaCorrector_ProcessInPlace = (dyn_PEAK_IPL_GammaCorrector_ProcessInPlace) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_ProcessInPlace") : nullptr);
1416 if(m_PEAK_IPL_GammaCorrector_ProcessInPlace == nullptr && load)
1417 {
1418 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_ProcessInPlace");
1419 }
1420
1421 m_PEAK_IPL_GammaCorrector_Destruct = (dyn_PEAK_IPL_GammaCorrector_Destruct) (load ? import_function(m_handle, "PEAK_IPL_GammaCorrector_Destruct") : nullptr);
1422 if(m_PEAK_IPL_GammaCorrector_Destruct == nullptr && load)
1423 {
1424 throw std::runtime_error("Failed to load PEAK_IPL_GammaCorrector_Destruct");
1425 }
1426
1427 m_PEAK_IPL_Image_Construct = (dyn_PEAK_IPL_Image_Construct) (load ? import_function(m_handle, "PEAK_IPL_Image_Construct") : nullptr);
1428 if(m_PEAK_IPL_Image_Construct == nullptr && load)
1429 {
1430 throw std::runtime_error("Failed to load PEAK_IPL_Image_Construct");
1431 }
1432
1433 m_PEAK_IPL_Image_Acquire = (dyn_PEAK_IPL_Image_Acquire) (load ? import_function(m_handle, "PEAK_IPL_Image_Acquire") : nullptr);
1434 if(m_PEAK_IPL_Image_Acquire == nullptr && load)
1435 {
1436 throw std::runtime_error("Failed to load PEAK_IPL_Image_Acquire");
1437 }
1438
1439 m_PEAK_IPL_Image_ConstructFromBuffer = (dyn_PEAK_IPL_Image_ConstructFromBuffer) (load ? import_function(m_handle, "PEAK_IPL_Image_ConstructFromBuffer") : nullptr);
1440 if(m_PEAK_IPL_Image_ConstructFromBuffer == nullptr && load)
1441 {
1442 throw std::runtime_error("Failed to load PEAK_IPL_Image_ConstructFromBuffer");
1443 }
1444
1445 m_PEAK_IPL_Image_GetWidth = (dyn_PEAK_IPL_Image_GetWidth) (load ? import_function(m_handle, "PEAK_IPL_Image_GetWidth") : nullptr);
1446 if(m_PEAK_IPL_Image_GetWidth == nullptr && load)
1447 {
1448 throw std::runtime_error("Failed to load PEAK_IPL_Image_GetWidth");
1449 }
1450
1451 m_PEAK_IPL_Image_GetHeight = (dyn_PEAK_IPL_Image_GetHeight) (load ? import_function(m_handle, "PEAK_IPL_Image_GetHeight") : nullptr);
1452 if(m_PEAK_IPL_Image_GetHeight == nullptr && load)
1453 {
1454 throw std::runtime_error("Failed to load PEAK_IPL_Image_GetHeight");
1455 }
1456
1457 m_PEAK_IPL_Image_GetPixelPointer = (dyn_PEAK_IPL_Image_GetPixelPointer) (load ? import_function(m_handle, "PEAK_IPL_Image_GetPixelPointer") : nullptr);
1458 if(m_PEAK_IPL_Image_GetPixelPointer == nullptr && load)
1459 {
1460 throw std::runtime_error("Failed to load PEAK_IPL_Image_GetPixelPointer");
1461 }
1462
1463 m_PEAK_IPL_Image_GetByteCount = (dyn_PEAK_IPL_Image_GetByteCount) (load ? import_function(m_handle, "PEAK_IPL_Image_GetByteCount") : nullptr);
1464 if(m_PEAK_IPL_Image_GetByteCount == nullptr && load)
1465 {
1466 throw std::runtime_error("Failed to load PEAK_IPL_Image_GetByteCount");
1467 }
1468
1469 m_PEAK_IPL_Image_GetPixelFormat = (dyn_PEAK_IPL_Image_GetPixelFormat) (load ? import_function(m_handle, "PEAK_IPL_Image_GetPixelFormat") : nullptr);
1470 if(m_PEAK_IPL_Image_GetPixelFormat == nullptr && load)
1471 {
1472 throw std::runtime_error("Failed to load PEAK_IPL_Image_GetPixelFormat");
1473 }
1474
1475 m_PEAK_IPL_Image_GetData = (dyn_PEAK_IPL_Image_GetData) (load ? import_function(m_handle, "PEAK_IPL_Image_GetData") : nullptr);
1476 if(m_PEAK_IPL_Image_GetData == nullptr && load)
1477 {
1478 throw std::runtime_error("Failed to load PEAK_IPL_Image_GetData");
1479 }
1480
1481 m_PEAK_IPL_Image_Clone = (dyn_PEAK_IPL_Image_Clone) (load ? import_function(m_handle, "PEAK_IPL_Image_Clone") : nullptr);
1482 if(m_PEAK_IPL_Image_Clone == nullptr && load)
1483 {
1484 throw std::runtime_error("Failed to load PEAK_IPL_Image_Clone");
1485 }
1486
1487 m_PEAK_IPL_Image_ConvertTo = (dyn_PEAK_IPL_Image_ConvertTo) (load ? import_function(m_handle, "PEAK_IPL_Image_ConvertTo") : nullptr);
1488 if(m_PEAK_IPL_Image_ConvertTo == nullptr && load)
1489 {
1490 throw std::runtime_error("Failed to load PEAK_IPL_Image_ConvertTo");
1491 }
1492
1493 m_PEAK_IPL_Image_ConvertToWithFactor = (dyn_PEAK_IPL_Image_ConvertToWithFactor) (load ? import_function(m_handle, "PEAK_IPL_Image_ConvertToWithFactor") : nullptr);
1494 if(m_PEAK_IPL_Image_ConvertToWithFactor == nullptr && load)
1495 {
1496 throw std::runtime_error("Failed to load PEAK_IPL_Image_ConvertToWithFactor");
1497 }
1498
1499 m_PEAK_IPL_Image_Scale = (dyn_PEAK_IPL_Image_Scale) (load ? import_function(m_handle, "PEAK_IPL_Image_Scale") : nullptr);
1500 if(m_PEAK_IPL_Image_Scale == nullptr && load)
1501 {
1502 throw std::runtime_error("Failed to load PEAK_IPL_Image_Scale");
1503 }
1504
1505 m_PEAK_IPL_Image_ScaleInto = (dyn_PEAK_IPL_Image_ScaleInto) (load ? import_function(m_handle, "PEAK_IPL_Image_ScaleInto") : nullptr);
1506 if(m_PEAK_IPL_Image_ScaleInto == nullptr && load)
1507 {
1508 throw std::runtime_error("Failed to load PEAK_IPL_Image_ScaleInto");
1509 }
1510
1511 m_PEAK_IPL_Image_Crop = (dyn_PEAK_IPL_Image_Crop) (load ? import_function(m_handle, "PEAK_IPL_Image_Crop") : nullptr);
1512 if(m_PEAK_IPL_Image_Crop == nullptr && load)
1513 {
1514 throw std::runtime_error("Failed to load PEAK_IPL_Image_Crop");
1515 }
1516
1517 m_PEAK_IPL_Image_ConvertToBuffer = (dyn_PEAK_IPL_Image_ConvertToBuffer) (load ? import_function(m_handle, "PEAK_IPL_Image_ConvertToBuffer") : nullptr);
1518 if(m_PEAK_IPL_Image_ConvertToBuffer == nullptr && load)
1519 {
1520 throw std::runtime_error("Failed to load PEAK_IPL_Image_ConvertToBuffer");
1521 }
1522
1523 m_PEAK_IPL_Image_Destruct = (dyn_PEAK_IPL_Image_Destruct) (load ? import_function(m_handle, "PEAK_IPL_Image_Destruct") : nullptr);
1524 if(m_PEAK_IPL_Image_Destruct == nullptr && load)
1525 {
1526 throw std::runtime_error("Failed to load PEAK_IPL_Image_Destruct");
1527 }
1528
1529 m_PEAK_IPL_ImageTransformer_Construct = (dyn_PEAK_IPL_ImageTransformer_Construct) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_Construct") : nullptr);
1530 if(m_PEAK_IPL_ImageTransformer_Construct == nullptr && load)
1531 {
1532 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_Construct");
1533 }
1534
1535 m_PEAK_IPL_ImageTransformer_Acquire = (dyn_PEAK_IPL_ImageTransformer_Acquire) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_Acquire") : nullptr);
1536 if(m_PEAK_IPL_ImageTransformer_Acquire == nullptr && load)
1537 {
1538 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_Acquire");
1539 }
1540
1541 m_PEAK_IPL_Image_SetTimestamp = (dyn_PEAK_IPL_Image_SetTimestamp) (load ? import_function(m_handle, "PEAK_IPL_Image_SetTimestamp") : nullptr);
1542 if(m_PEAK_IPL_Image_SetTimestamp == nullptr && load)
1543 {
1544 throw std::runtime_error("Failed to load PEAK_IPL_Image_SetTimestamp");
1545 }
1546
1547 m_PEAK_IPL_Image_GetTimestamp = (dyn_PEAK_IPL_Image_GetTimestamp) (load ? import_function(m_handle, "PEAK_IPL_Image_GetTimestamp") : nullptr);
1548 if(m_PEAK_IPL_Image_GetTimestamp == nullptr && load)
1549 {
1550 throw std::runtime_error("Failed to load PEAK_IPL_Image_GetTimestamp");
1551 }
1552
1553 m_PEAK_IPL_ImageTransformer_MirrorUpDown = (dyn_PEAK_IPL_ImageTransformer_MirrorUpDown) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_MirrorUpDown") : nullptr);
1554 if(m_PEAK_IPL_ImageTransformer_MirrorUpDown == nullptr && load)
1555 {
1556 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_MirrorUpDown");
1557 }
1558
1559 m_PEAK_IPL_ImageTransformer_MirrorLeftRight = (dyn_PEAK_IPL_ImageTransformer_MirrorLeftRight) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_MirrorLeftRight") : nullptr);
1560 if(m_PEAK_IPL_ImageTransformer_MirrorLeftRight == nullptr && load)
1561 {
1562 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_MirrorLeftRight");
1563 }
1564
1565 m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight = (dyn_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight") : nullptr);
1566 if(m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight == nullptr && load)
1567 {
1568 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight");
1569 }
1570
1571 m_PEAK_IPL_ImageTransformer_MirrorUpDownInPlace = (dyn_PEAK_IPL_ImageTransformer_MirrorUpDownInPlace) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_MirrorUpDownInPlace") : nullptr);
1572 if(m_PEAK_IPL_ImageTransformer_MirrorUpDownInPlace == nullptr && load)
1573 {
1574 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_MirrorUpDownInPlace");
1575 }
1576
1577 m_PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace = (dyn_PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace") : nullptr);
1578 if(m_PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace == nullptr && load)
1579 {
1580 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace");
1581 }
1582
1583 m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace = (dyn_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace") : nullptr);
1584 if(m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace == nullptr && load)
1585 {
1586 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace");
1587 }
1588
1589 m_PEAK_IPL_ImageTransformer_Rotate = (dyn_PEAK_IPL_ImageTransformer_Rotate) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_Rotate") : nullptr);
1590 if(m_PEAK_IPL_ImageTransformer_Rotate == nullptr && load)
1591 {
1592 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_Rotate");
1593 }
1594
1595 m_PEAK_IPL_ImageTransformer_RotateInPlace = (dyn_PEAK_IPL_ImageTransformer_RotateInPlace) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_RotateInPlace") : nullptr);
1596 if(m_PEAK_IPL_ImageTransformer_RotateInPlace == nullptr && load)
1597 {
1598 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_RotateInPlace");
1599 }
1600
1601 m_PEAK_IPL_ImageTransformer_Destruct = (dyn_PEAK_IPL_ImageTransformer_Destruct) (load ? import_function(m_handle, "PEAK_IPL_ImageTransformer_Destruct") : nullptr);
1602 if(m_PEAK_IPL_ImageTransformer_Destruct == nullptr && load)
1603 {
1604 throw std::runtime_error("Failed to load PEAK_IPL_ImageTransformer_Destruct");
1605 }
1606
1607 m_PEAK_IPL_Histogram_Construct = (dyn_PEAK_IPL_Histogram_Construct) (load ? import_function(m_handle, "PEAK_IPL_Histogram_Construct") : nullptr);
1608 if(m_PEAK_IPL_Histogram_Construct == nullptr && load)
1609 {
1610 throw std::runtime_error("Failed to load PEAK_IPL_Histogram_Construct");
1611 }
1612
1613 m_PEAK_IPL_Histogram_Acquire = (dyn_PEAK_IPL_Histogram_Acquire) (load ? import_function(m_handle, "PEAK_IPL_Histogram_Acquire") : nullptr);
1614 if(m_PEAK_IPL_Histogram_Acquire == nullptr && load)
1615 {
1616 throw std::runtime_error("Failed to load PEAK_IPL_Histogram_Acquire");
1617 }
1618
1619 m_PEAK_IPL_Histogram_GetPixelFormat = (dyn_PEAK_IPL_Histogram_GetPixelFormat) (load ? import_function(m_handle, "PEAK_IPL_Histogram_GetPixelFormat") : nullptr);
1620 if(m_PEAK_IPL_Histogram_GetPixelFormat == nullptr && load)
1621 {
1622 throw std::runtime_error("Failed to load PEAK_IPL_Histogram_GetPixelFormat");
1623 }
1624
1625 m_PEAK_IPL_Histogram_GetNumChannels = (dyn_PEAK_IPL_Histogram_GetNumChannels) (load ? import_function(m_handle, "PEAK_IPL_Histogram_GetNumChannels") : nullptr);
1626 if(m_PEAK_IPL_Histogram_GetNumChannels == nullptr && load)
1627 {
1628 throw std::runtime_error("Failed to load PEAK_IPL_Histogram_GetNumChannels");
1629 }
1630
1631 m_PEAK_IPL_Histogram_GetPixelSumForChannel = (dyn_PEAK_IPL_Histogram_GetPixelSumForChannel) (load ? import_function(m_handle, "PEAK_IPL_Histogram_GetPixelSumForChannel") : nullptr);
1632 if(m_PEAK_IPL_Histogram_GetPixelSumForChannel == nullptr && load)
1633 {
1634 throw std::runtime_error("Failed to load PEAK_IPL_Histogram_GetPixelSumForChannel");
1635 }
1636
1637 m_PEAK_IPL_Histogram_GetPixelCountForChannel = (dyn_PEAK_IPL_Histogram_GetPixelCountForChannel) (load ? import_function(m_handle, "PEAK_IPL_Histogram_GetPixelCountForChannel") : nullptr);
1638 if(m_PEAK_IPL_Histogram_GetPixelCountForChannel == nullptr && load)
1639 {
1640 throw std::runtime_error("Failed to load PEAK_IPL_Histogram_GetPixelCountForChannel");
1641 }
1642
1643 m_PEAK_IPL_Histogram_GetBinsForChannel = (dyn_PEAK_IPL_Histogram_GetBinsForChannel) (load ? import_function(m_handle, "PEAK_IPL_Histogram_GetBinsForChannel") : nullptr);
1644 if(m_PEAK_IPL_Histogram_GetBinsForChannel == nullptr && load)
1645 {
1646 throw std::runtime_error("Failed to load PEAK_IPL_Histogram_GetBinsForChannel");
1647 }
1648
1649 m_PEAK_IPL_Histogram_Destruct = (dyn_PEAK_IPL_Histogram_Destruct) (load ? import_function(m_handle, "PEAK_IPL_Histogram_Destruct") : nullptr);
1650 if(m_PEAK_IPL_Histogram_Destruct == nullptr && load)
1651 {
1652 throw std::runtime_error("Failed to load PEAK_IPL_Histogram_Destruct");
1653 }
1654
1655 m_PEAK_IPL_PixelLine_Construct = (dyn_PEAK_IPL_PixelLine_Construct) (load ? import_function(m_handle, "PEAK_IPL_PixelLine_Construct") : nullptr);
1656 if(m_PEAK_IPL_PixelLine_Construct == nullptr && load)
1657 {
1658 throw std::runtime_error("Failed to load PEAK_IPL_PixelLine_Construct");
1659 }
1660
1661 m_PEAK_IPL_PixelLine_Acquire = (dyn_PEAK_IPL_PixelLine_Acquire) (load ? import_function(m_handle, "PEAK_IPL_PixelLine_Acquire") : nullptr);
1662 if(m_PEAK_IPL_PixelLine_Acquire == nullptr && load)
1663 {
1664 throw std::runtime_error("Failed to load PEAK_IPL_PixelLine_Acquire");
1665 }
1666
1667 m_PEAK_IPL_PixelLine_GetPixelFormat = (dyn_PEAK_IPL_PixelLine_GetPixelFormat) (load ? import_function(m_handle, "PEAK_IPL_PixelLine_GetPixelFormat") : nullptr);
1668 if(m_PEAK_IPL_PixelLine_GetPixelFormat == nullptr && load)
1669 {
1670 throw std::runtime_error("Failed to load PEAK_IPL_PixelLine_GetPixelFormat");
1671 }
1672
1673 m_PEAK_IPL_PixelLine_GetOrientation = (dyn_PEAK_IPL_PixelLine_GetOrientation) (load ? import_function(m_handle, "PEAK_IPL_PixelLine_GetOrientation") : nullptr);
1674 if(m_PEAK_IPL_PixelLine_GetOrientation == nullptr && load)
1675 {
1676 throw std::runtime_error("Failed to load PEAK_IPL_PixelLine_GetOrientation");
1677 }
1678
1679 m_PEAK_IPL_PixelLine_GetOffset = (dyn_PEAK_IPL_PixelLine_GetOffset) (load ? import_function(m_handle, "PEAK_IPL_PixelLine_GetOffset") : nullptr);
1680 if(m_PEAK_IPL_PixelLine_GetOffset == nullptr && load)
1681 {
1682 throw std::runtime_error("Failed to load PEAK_IPL_PixelLine_GetOffset");
1683 }
1684
1685 m_PEAK_IPL_PixelLine_GetNumChannels = (dyn_PEAK_IPL_PixelLine_GetNumChannels) (load ? import_function(m_handle, "PEAK_IPL_PixelLine_GetNumChannels") : nullptr);
1686 if(m_PEAK_IPL_PixelLine_GetNumChannels == nullptr && load)
1687 {
1688 throw std::runtime_error("Failed to load PEAK_IPL_PixelLine_GetNumChannels");
1689 }
1690
1691 m_PEAK_IPL_PixelLine_GetValuesForChannel = (dyn_PEAK_IPL_PixelLine_GetValuesForChannel) (load ? import_function(m_handle, "PEAK_IPL_PixelLine_GetValuesForChannel") : nullptr);
1692 if(m_PEAK_IPL_PixelLine_GetValuesForChannel == nullptr && load)
1693 {
1694 throw std::runtime_error("Failed to load PEAK_IPL_PixelLine_GetValuesForChannel");
1695 }
1696
1697 m_PEAK_IPL_PixelLine_Destruct = (dyn_PEAK_IPL_PixelLine_Destruct) (load ? import_function(m_handle, "PEAK_IPL_PixelLine_Destruct") : nullptr);
1698 if(m_PEAK_IPL_PixelLine_Destruct == nullptr && load)
1699 {
1700 throw std::runtime_error("Failed to load PEAK_IPL_PixelLine_Destruct");
1701 }
1702
1703 m_PEAK_IPL_PixelFormat_GetNumChannels = (dyn_PEAK_IPL_PixelFormat_GetNumChannels) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_GetNumChannels") : nullptr);
1704 if(m_PEAK_IPL_PixelFormat_GetNumChannels == nullptr && load)
1705 {
1706 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_GetNumChannels");
1707 }
1708
1709 m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel = (dyn_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel") : nullptr);
1710 if(m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel == nullptr && load)
1711 {
1712 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel");
1713 }
1714
1715 m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel = (dyn_PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel") : nullptr);
1716 if(m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel == nullptr && load)
1717 {
1718 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel");
1719 }
1720
1721 m_PEAK_IPL_PixelFormat_GetMaximumValuePerChannel = (dyn_PEAK_IPL_PixelFormat_GetMaximumValuePerChannel) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_GetMaximumValuePerChannel") : nullptr);
1722 if(m_PEAK_IPL_PixelFormat_GetMaximumValuePerChannel == nullptr && load)
1723 {
1724 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_GetMaximumValuePerChannel");
1725 }
1726
1727 m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel = (dyn_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel") : nullptr);
1728 if(m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel == nullptr && load)
1729 {
1730 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel");
1731 }
1732
1733 m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel = (dyn_PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel") : nullptr);
1734 if(m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel == nullptr && load)
1735 {
1736 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel");
1737 }
1738
1739 m_PEAK_IPL_PixelFormat_GetEndianness = (dyn_PEAK_IPL_PixelFormat_GetEndianness) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_GetEndianness") : nullptr);
1740 if(m_PEAK_IPL_PixelFormat_GetEndianness == nullptr && load)
1741 {
1742 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_GetEndianness");
1743 }
1744
1745 m_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels = (dyn_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels") : nullptr);
1746 if(m_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels == nullptr && load)
1747 {
1748 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels");
1749 }
1750
1751 m_PEAK_IPL_PixelFormat_IsPacked = (dyn_PEAK_IPL_PixelFormat_IsPacked) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_IsPacked") : nullptr);
1752 if(m_PEAK_IPL_PixelFormat_IsPacked == nullptr && load)
1753 {
1754 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_IsPacked");
1755 }
1756
1757 m_PEAK_IPL_PixelFormat_IsBayered = (dyn_PEAK_IPL_PixelFormat_IsBayered) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_IsBayered") : nullptr);
1758 if(m_PEAK_IPL_PixelFormat_IsBayered == nullptr && load)
1759 {
1760 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_IsBayered");
1761 }
1762
1763 m_PEAK_IPL_PixelFormat_IsYUV = (dyn_PEAK_IPL_PixelFormat_IsYUV) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_IsYUV") : nullptr);
1764 if(m_PEAK_IPL_PixelFormat_IsYUV == nullptr && load)
1765 {
1766 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_IsYUV");
1767 }
1768
1769 m_PEAK_IPL_PixelFormat_IsCoord3D = (dyn_PEAK_IPL_PixelFormat_IsCoord3D) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_IsCoord3D") : nullptr);
1770 if(m_PEAK_IPL_PixelFormat_IsCoord3D == nullptr && load)
1771 {
1772 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_IsCoord3D");
1773 }
1774
1775 m_PEAK_IPL_PixelFormat_IsFloat = (dyn_PEAK_IPL_PixelFormat_IsFloat) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_IsFloat") : nullptr);
1776 if(m_PEAK_IPL_PixelFormat_IsFloat == nullptr && load)
1777 {
1778 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_IsFloat");
1779 }
1780
1781 m_PEAK_IPL_PixelFormat_GetBayerPattern = (dyn_PEAK_IPL_PixelFormat_GetBayerPattern) (load ? import_function(m_handle, "PEAK_IPL_PixelFormat_GetBayerPattern") : nullptr);
1782 if(m_PEAK_IPL_PixelFormat_GetBayerPattern == nullptr && load)
1783 {
1784 throw std::runtime_error("Failed to load PEAK_IPL_PixelFormat_GetBayerPattern");
1785 }
1786
1787 m_PEAK_IPL_ImageWriter_WriteAsRAW = (dyn_PEAK_IPL_ImageWriter_WriteAsRAW) (load ? import_function(m_handle, "PEAK_IPL_ImageWriter_WriteAsRAW") : nullptr);
1788 if(m_PEAK_IPL_ImageWriter_WriteAsRAW == nullptr && load)
1789 {
1790 throw std::runtime_error("Failed to load PEAK_IPL_ImageWriter_WriteAsRAW");
1791 }
1792
1793 m_PEAK_IPL_ImageWriter_WriteAsBMP = (dyn_PEAK_IPL_ImageWriter_WriteAsBMP) (load ? import_function(m_handle, "PEAK_IPL_ImageWriter_WriteAsBMP") : nullptr);
1794 if(m_PEAK_IPL_ImageWriter_WriteAsBMP == nullptr && load)
1795 {
1796 throw std::runtime_error("Failed to load PEAK_IPL_ImageWriter_WriteAsBMP");
1797 }
1798
1799 m_PEAK_IPL_ImageWriter_WriteAsPNG = (dyn_PEAK_IPL_ImageWriter_WriteAsPNG) (load ? import_function(m_handle, "PEAK_IPL_ImageWriter_WriteAsPNG") : nullptr);
1800 if(m_PEAK_IPL_ImageWriter_WriteAsPNG == nullptr && load)
1801 {
1802 throw std::runtime_error("Failed to load PEAK_IPL_ImageWriter_WriteAsPNG");
1803 }
1804
1805 m_PEAK_IPL_ImageWriter_WriteAsJPG = (dyn_PEAK_IPL_ImageWriter_WriteAsJPG) (load ? import_function(m_handle, "PEAK_IPL_ImageWriter_WriteAsJPG") : nullptr);
1806 if(m_PEAK_IPL_ImageWriter_WriteAsJPG == nullptr && load)
1807 {
1808 throw std::runtime_error("Failed to load PEAK_IPL_ImageWriter_WriteAsJPG");
1809 }
1810
1811 m_PEAK_IPL_ImageWriter_Write = (dyn_PEAK_IPL_ImageWriter_Write) (load ? import_function(m_handle, "PEAK_IPL_ImageWriter_Write") : nullptr);
1812 if(m_PEAK_IPL_ImageWriter_Write == nullptr && load)
1813 {
1814 throw std::runtime_error("Failed to load PEAK_IPL_ImageWriter_Write");
1815 }
1816
1817 m_PEAK_IPL_ImageReader_Read = (dyn_PEAK_IPL_ImageReader_Read) (load ? import_function(m_handle, "PEAK_IPL_ImageReader_Read") : nullptr);
1818 if(m_PEAK_IPL_ImageReader_Read == nullptr && load)
1819 {
1820 throw std::runtime_error("Failed to load PEAK_IPL_ImageReader_Read");
1821 }
1822
1823 m_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat = (dyn_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat) (load ? import_function(m_handle, "PEAK_IPL_ImageReaderRead_ReadAsPixelFormat") : nullptr);
1824 if(m_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat == nullptr && load)
1825 {
1826 throw std::runtime_error("Failed to load PEAK_IPL_ImageReaderRead_ReadAsPixelFormat");
1827 }
1828
1829 m_PEAK_IPL_VideoWriter_Video_Open = (dyn_PEAK_IPL_VideoWriter_Video_Open) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_Open") : nullptr);
1830 if(m_PEAK_IPL_VideoWriter_Video_Open == nullptr && load)
1831 {
1832 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_Open");
1833 }
1834
1835 m_PEAK_IPL_VideoWriter_Video_IsOpen = (dyn_PEAK_IPL_VideoWriter_Video_IsOpen) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_IsOpen") : nullptr);
1836 if(m_PEAK_IPL_VideoWriter_Video_IsOpen == nullptr && load)
1837 {
1838 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_IsOpen");
1839 }
1840
1841 m_PEAK_IPL_VideoWriter_Video_Close = (dyn_PEAK_IPL_VideoWriter_Video_Close) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_Close") : nullptr);
1842 if(m_PEAK_IPL_VideoWriter_Video_Close == nullptr && load)
1843 {
1844 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_Close");
1845 }
1846
1847 m_PEAK_IPL_VideoWriter_Video_Append = (dyn_PEAK_IPL_VideoWriter_Video_Append) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_Append") : nullptr);
1848 if(m_PEAK_IPL_VideoWriter_Video_Append == nullptr && load)
1849 {
1850 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_Append");
1851 }
1852
1853 m_PEAK_IPL_VideoWriter_Encoder_SetOption = (dyn_PEAK_IPL_VideoWriter_Encoder_SetOption) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Encoder_SetOption") : nullptr);
1854 if(m_PEAK_IPL_VideoWriter_Encoder_SetOption == nullptr && load)
1855 {
1856 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Encoder_SetOption");
1857 }
1858
1859 m_PEAK_IPL_VideoWriter_Encoder_GetOption = (dyn_PEAK_IPL_VideoWriter_Encoder_GetOption) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Encoder_GetOption") : nullptr);
1860 if(m_PEAK_IPL_VideoWriter_Encoder_GetOption == nullptr && load)
1861 {
1862 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Encoder_GetOption");
1863 }
1864
1865 m_PEAK_IPL_VideoWriter_Encoder_OptionRange = (dyn_PEAK_IPL_VideoWriter_Encoder_OptionRange) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Encoder_OptionRange") : nullptr);
1866 if(m_PEAK_IPL_VideoWriter_Encoder_OptionRange == nullptr && load)
1867 {
1868 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Encoder_OptionRange");
1869 }
1870
1871 m_PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer = (dyn_PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer") : nullptr);
1872 if(m_PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer == nullptr && load)
1873 {
1874 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer");
1875 }
1876
1877 m_PEAK_IPL_VideoWriter_Container_SetOption = (dyn_PEAK_IPL_VideoWriter_Container_SetOption) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Container_SetOption") : nullptr);
1878 if(m_PEAK_IPL_VideoWriter_Container_SetOption == nullptr && load)
1879 {
1880 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Container_SetOption");
1881 }
1882
1883 m_PEAK_IPL_VideoWriter_Container_GetOption = (dyn_PEAK_IPL_VideoWriter_Container_GetOption) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Container_GetOption") : nullptr);
1884 if(m_PEAK_IPL_VideoWriter_Container_GetOption == nullptr && load)
1885 {
1886 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Container_GetOption");
1887 }
1888
1889 m_PEAK_IPL_VideoWriter_Container_OptionRange = (dyn_PEAK_IPL_VideoWriter_Container_OptionRange) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Container_OptionRange") : nullptr);
1890 if(m_PEAK_IPL_VideoWriter_Container_OptionRange == nullptr && load)
1891 {
1892 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Container_OptionRange");
1893 }
1894
1895 m_PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder = (dyn_PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder") : nullptr);
1896 if(m_PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder == nullptr && load)
1897 {
1898 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder");
1899 }
1900
1901 m_PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats = (dyn_PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats") : nullptr);
1902 if(m_PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats == nullptr && load)
1903 {
1904 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats");
1905 }
1906
1907 m_PEAK_IPL_VideoWriter_Video_GetEncodedFrames = (dyn_PEAK_IPL_VideoWriter_Video_GetEncodedFrames) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_GetEncodedFrames") : nullptr);
1908 if(m_PEAK_IPL_VideoWriter_Video_GetEncodedFrames == nullptr && load)
1909 {
1910 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_GetEncodedFrames");
1911 }
1912
1913 m_PEAK_IPL_VideoWriter_Video_GetDroppedFrames = (dyn_PEAK_IPL_VideoWriter_Video_GetDroppedFrames) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_GetDroppedFrames") : nullptr);
1914 if(m_PEAK_IPL_VideoWriter_Video_GetDroppedFrames == nullptr && load)
1915 {
1916 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_GetDroppedFrames");
1917 }
1918
1919 m_PEAK_IPL_VideoWriter_Video_GetFileSize = (dyn_PEAK_IPL_VideoWriter_Video_GetFileSize) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_GetFileSize") : nullptr);
1920 if(m_PEAK_IPL_VideoWriter_Video_GetFileSize == nullptr && load)
1921 {
1922 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_GetFileSize");
1923 }
1924
1925 m_PEAK_IPL_VideoWriter_Video_ResetFrameCounters = (dyn_PEAK_IPL_VideoWriter_Video_ResetFrameCounters) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_ResetFrameCounters") : nullptr);
1926 if(m_PEAK_IPL_VideoWriter_Video_ResetFrameCounters == nullptr && load)
1927 {
1928 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_ResetFrameCounters");
1929 }
1930
1931 m_PEAK_IPL_VideoWriter_Queue_SetSize = (dyn_PEAK_IPL_VideoWriter_Queue_SetSize) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Queue_SetSize") : nullptr);
1932 if(m_PEAK_IPL_VideoWriter_Queue_SetSize == nullptr && load)
1933 {
1934 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Queue_SetSize");
1935 }
1936
1937 m_PEAK_IPL_VideoWriter_Queue_GetSize = (dyn_PEAK_IPL_VideoWriter_Queue_GetSize) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Queue_GetSize") : nullptr);
1938 if(m_PEAK_IPL_VideoWriter_Queue_GetSize == nullptr && load)
1939 {
1940 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Queue_GetSize");
1941 }
1942
1943 m_PEAK_IPL_VideoWriter_Queue_GetRange = (dyn_PEAK_IPL_VideoWriter_Queue_GetRange) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Queue_GetRange") : nullptr);
1944 if(m_PEAK_IPL_VideoWriter_Queue_GetRange == nullptr && load)
1945 {
1946 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Queue_GetRange");
1947 }
1948
1949 m_PEAK_IPL_VideoWriter_Queue_GetQueued = (dyn_PEAK_IPL_VideoWriter_Queue_GetQueued) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Queue_GetQueued") : nullptr);
1950 if(m_PEAK_IPL_VideoWriter_Queue_GetQueued == nullptr && load)
1951 {
1952 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Queue_GetQueued");
1953 }
1954
1955 m_PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone = (dyn_PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone") : nullptr);
1956 if(m_PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone == nullptr && load)
1957 {
1958 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone");
1959 }
1960
1961 m_PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty = (dyn_PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty) (load ? import_function(m_handle, "PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty") : nullptr);
1962 if(m_PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty == nullptr && load)
1963 {
1964 throw std::runtime_error("Failed to load PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty");
1965 }
1966
1967 m_PEAK_IPL_ImageSharpness_Construct = (dyn_PEAK_IPL_ImageSharpness_Construct) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_Construct") : nullptr);
1968 if(m_PEAK_IPL_ImageSharpness_Construct == nullptr && load)
1969 {
1970 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_Construct");
1971 }
1972
1973 m_PEAK_IPL_ImageSharpness_Acquire = (dyn_PEAK_IPL_ImageSharpness_Acquire) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_Acquire") : nullptr);
1974 if(m_PEAK_IPL_ImageSharpness_Acquire == nullptr && load)
1975 {
1976 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_Acquire");
1977 }
1978
1979 m_PEAK_IPL_ImageSharpness_Destruct = (dyn_PEAK_IPL_ImageSharpness_Destruct) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_Destruct") : nullptr);
1980 if(m_PEAK_IPL_ImageSharpness_Destruct == nullptr && load)
1981 {
1982 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_Destruct");
1983 }
1984
1985 m_PEAK_IPL_ImageSharpness_Measure = (dyn_PEAK_IPL_ImageSharpness_Measure) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_Measure") : nullptr);
1986 if(m_PEAK_IPL_ImageSharpness_Measure == nullptr && load)
1987 {
1988 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_Measure");
1989 }
1990
1991 m_PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported = (dyn_PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported") : nullptr);
1992 if(m_PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported == nullptr && load)
1993 {
1994 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported");
1995 }
1996
1997 m_PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList = (dyn_PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList") : nullptr);
1998 if(m_PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList == nullptr && load)
1999 {
2000 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList");
2001 }
2002
2003 m_PEAK_IPL_ImageSharpness_SetAlgorithm = (dyn_PEAK_IPL_ImageSharpness_SetAlgorithm) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_SetAlgorithm") : nullptr);
2004 if(m_PEAK_IPL_ImageSharpness_SetAlgorithm == nullptr && load)
2005 {
2006 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_SetAlgorithm");
2007 }
2008
2009 m_PEAK_IPL_ImageSharpness_GetAlgorithm = (dyn_PEAK_IPL_ImageSharpness_GetAlgorithm) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_GetAlgorithm") : nullptr);
2010 if(m_PEAK_IPL_ImageSharpness_GetAlgorithm == nullptr && load)
2011 {
2012 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_GetAlgorithm");
2013 }
2014
2015 m_PEAK_IPL_ImageSharpness_GetROIMinimumSize = (dyn_PEAK_IPL_ImageSharpness_GetROIMinimumSize) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_GetROIMinimumSize") : nullptr);
2016 if(m_PEAK_IPL_ImageSharpness_GetROIMinimumSize == nullptr && load)
2017 {
2018 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_GetROIMinimumSize");
2019 }
2020
2021 m_PEAK_IPL_ImageSharpness_SetROIs = (dyn_PEAK_IPL_ImageSharpness_SetROIs) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_SetROIs") : nullptr);
2022 if(m_PEAK_IPL_ImageSharpness_SetROIs == nullptr && load)
2023 {
2024 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_SetROIs");
2025 }
2026
2027 m_PEAK_IPL_ImageSharpness_GetROIs = (dyn_PEAK_IPL_ImageSharpness_GetROIs) (load ? import_function(m_handle, "PEAK_IPL_ImageSharpness_GetROIs") : nullptr);
2028 if(m_PEAK_IPL_ImageSharpness_GetROIs == nullptr && load)
2029 {
2030 throw std::runtime_error("Failed to load PEAK_IPL_ImageSharpness_GetROIs");
2031 }
2032
2033 m_PEAK_IPL_EdgeEnhancement_Construct = (dyn_PEAK_IPL_EdgeEnhancement_Construct) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_Construct") : nullptr);
2034 if(m_PEAK_IPL_EdgeEnhancement_Construct == nullptr && load)
2035 {
2036 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_Construct");
2037 }
2038
2039 m_PEAK_IPL_EdgeEnhancement_Acquire = (dyn_PEAK_IPL_EdgeEnhancement_Acquire) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_Acquire") : nullptr);
2040 if(m_PEAK_IPL_EdgeEnhancement_Acquire == nullptr && load)
2041 {
2042 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_Acquire");
2043 }
2044
2045 m_PEAK_IPL_EdgeEnhancement_Destruct = (dyn_PEAK_IPL_EdgeEnhancement_Destruct) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_Destruct") : nullptr);
2046 if(m_PEAK_IPL_EdgeEnhancement_Destruct == nullptr && load)
2047 {
2048 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_Destruct");
2049 }
2050
2051 m_PEAK_IPL_EdgeEnhancement_ProcessInPlace = (dyn_PEAK_IPL_EdgeEnhancement_ProcessInPlace) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_ProcessInPlace") : nullptr);
2052 if(m_PEAK_IPL_EdgeEnhancement_ProcessInPlace == nullptr && load)
2053 {
2054 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_ProcessInPlace");
2055 }
2056
2057 m_PEAK_IPL_EdgeEnhancement_Process = (dyn_PEAK_IPL_EdgeEnhancement_Process) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_Process") : nullptr);
2058 if(m_PEAK_IPL_EdgeEnhancement_Process == nullptr && load)
2059 {
2060 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_Process");
2061 }
2062
2063 m_PEAK_IPL_EdgeEnhancement_GetFactorRange = (dyn_PEAK_IPL_EdgeEnhancement_GetFactorRange) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_GetFactorRange") : nullptr);
2064 if(m_PEAK_IPL_EdgeEnhancement_GetFactorRange == nullptr && load)
2065 {
2066 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_GetFactorRange");
2067 }
2068
2069 m_PEAK_IPL_EdgeEnhancement_SetFactor = (dyn_PEAK_IPL_EdgeEnhancement_SetFactor) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_SetFactor") : nullptr);
2070 if(m_PEAK_IPL_EdgeEnhancement_SetFactor == nullptr && load)
2071 {
2072 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_SetFactor");
2073 }
2074
2075 m_PEAK_IPL_EdgeEnhancement_GetFactor = (dyn_PEAK_IPL_EdgeEnhancement_GetFactor) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_GetFactor") : nullptr);
2076 if(m_PEAK_IPL_EdgeEnhancement_GetFactor == nullptr && load)
2077 {
2078 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_GetFactor");
2079 }
2080
2081 m_PEAK_IPL_EdgeEnhancement_GetDefaultFactor = (dyn_PEAK_IPL_EdgeEnhancement_GetDefaultFactor) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_GetDefaultFactor") : nullptr);
2082 if(m_PEAK_IPL_EdgeEnhancement_GetDefaultFactor == nullptr && load)
2083 {
2084 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_GetDefaultFactor");
2085 }
2086
2087 m_PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported = (dyn_PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported) (load ? import_function(m_handle, "PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported") : nullptr);
2088 if(m_PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported == nullptr && load)
2089 {
2090 throw std::runtime_error("Failed to load PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported");
2091 }
2092
2093
2094 return true;
2095}
2096
2098{
2099 auto& inst = instance();
2100 if(inst.m_PEAK_IPL_Library_GetVersionMajor)
2101 {
2102 return inst.m_PEAK_IPL_Library_GetVersionMajor(libraryVersionMajor);
2103 }
2104 else
2105 {
2106 throw std::runtime_error("Library not loaded!");
2107 }
2108}
2109
2111{
2112 auto& inst = instance();
2113 if(inst.m_PEAK_IPL_Library_GetVersionMinor)
2114 {
2115 return inst.m_PEAK_IPL_Library_GetVersionMinor(libraryVersionMinor);
2116 }
2117 else
2118 {
2119 throw std::runtime_error("Library not loaded!");
2120 }
2121}
2122
2124{
2125 auto& inst = instance();
2126 if(inst.m_PEAK_IPL_Library_GetVersionSubminor)
2127 {
2128 return inst.m_PEAK_IPL_Library_GetVersionSubminor(libraryVersionSubminor);
2129 }
2130 else
2131 {
2132 throw std::runtime_error("Library not loaded!");
2133 }
2134}
2135
2137{
2138 auto& inst = instance();
2139 if(inst.m_PEAK_IPL_Library_GetMaxConcurrentThreads)
2140 {
2141 return inst.m_PEAK_IPL_Library_GetMaxConcurrentThreads(concurrentThreads);
2142 }
2143 else
2144 {
2145 throw std::runtime_error("Library not loaded!");
2146 }
2147}
2148
2150{
2151 auto& inst = instance();
2152 if(inst.m_PEAK_IPL_Library_SetMaxConcurrentThreads)
2153 {
2154 return inst.m_PEAK_IPL_Library_SetMaxConcurrentThreads(concurrentThreads);
2155 }
2156 else
2157 {
2158 throw std::runtime_error("Library not loaded!");
2159 }
2160}
2161
2163{
2164 auto& inst = instance();
2165 if(inst.m_PEAK_IPL_Library_GetMultiThreadingEnabled)
2166 {
2167 return inst.m_PEAK_IPL_Library_GetMultiThreadingEnabled(enabled);
2168 }
2169 else
2170 {
2171 throw std::runtime_error("Library not loaded!");
2172 }
2173}
2174
2176{
2177 auto& inst = instance();
2178 if(inst.m_PEAK_IPL_Library_SetMultiThreadingEnabled)
2179 {
2180 return inst.m_PEAK_IPL_Library_SetMultiThreadingEnabled(enabled);
2181 }
2182 else
2183 {
2184 throw std::runtime_error("Library not loaded!");
2185 }
2186}
2187
2189{
2190 auto& inst = instance();
2191 if(inst.m_PEAK_IPL_Library_GetSIMDEnabled)
2192 {
2193 return inst.m_PEAK_IPL_Library_GetSIMDEnabled(enabled);
2194 }
2195 else
2196 {
2197 throw std::runtime_error("Library not loaded!");
2198 }
2199}
2200
2202{
2203 auto& inst = instance();
2204 if(inst.m_PEAK_IPL_Library_SetSIMDEnabled)
2205 {
2206 return inst.m_PEAK_IPL_Library_SetSIMDEnabled(enabled);
2207 }
2208 else
2209 {
2210 throw std::runtime_error("Library not loaded!");
2211 }
2212}
2213
2214inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Library_GetLastError(PEAK_IPL_RETURN_CODE * lastErrorCode, char * lastErrorDescription, size_t * lastErrorDescriptionSize)
2215{
2216 auto& inst = instance();
2217 if(inst.m_PEAK_IPL_Library_GetLastError)
2218 {
2219 return inst.m_PEAK_IPL_Library_GetLastError(lastErrorCode, lastErrorDescription, lastErrorDescriptionSize);
2220 }
2221 else
2222 {
2223 throw std::runtime_error("Library not loaded!");
2224 }
2225}
2226
2228{
2229 auto& inst = instance();
2230 if(inst.m_PEAK_IPL_ImageConverter_Construct)
2231 {
2232 return inst.m_PEAK_IPL_ImageConverter_Construct(imageConverterHandle);
2233 }
2234 else
2235 {
2236 throw std::runtime_error("Library not loaded!");
2237 }
2238}
2239
2241{
2242 auto& inst = instance();
2243 if(inst.m_PEAK_IPL_ImageConverter_Acquire)
2244 {
2245 return inst.m_PEAK_IPL_ImageConverter_Acquire(imageConverterHandle);
2246 }
2247 else
2248 {
2249 throw std::runtime_error("Library not loaded!");
2250 }
2251}
2252
2253inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageConverter_PreAllocateConversion(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, size_t width, size_t height, size_t imageCount)
2254{
2255 auto& inst = instance();
2256 if(inst.m_PEAK_IPL_ImageConverter_PreAllocateConversion)
2257 {
2258 return inst.m_PEAK_IPL_ImageConverter_PreAllocateConversion(imageConverterHandle, inputPixelFormat, outputPixelFormat, width, height, imageCount);
2259 }
2260 else
2261 {
2262 throw std::runtime_error("Library not loaded!");
2263 }
2264}
2265
2267{
2268 auto& inst = instance();
2269 if(inst.m_PEAK_IPL_ImageConverter_GetConversionMode)
2270 {
2271 return inst.m_PEAK_IPL_ImageConverter_GetConversionMode(imageConverterHandle, conversionMode);
2272 }
2273 else
2274 {
2275 throw std::runtime_error("Library not loaded!");
2276 }
2277}
2278
2280{
2281 auto& inst = instance();
2282 if(inst.m_PEAK_IPL_ImageConverter_SetConversionMode)
2283 {
2284 return inst.m_PEAK_IPL_ImageConverter_SetConversionMode(imageConverterHandle, conversionMode);
2285 }
2286 else
2287 {
2288 throw std::runtime_error("Library not loaded!");
2289 }
2290}
2291
2293{
2294 auto& inst = instance();
2295 if(inst.m_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats)
2296 {
2297 return inst.m_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats(imageConverterHandle, inputPixelFormat, outputPixelFormats, outputPixelFormatsSize);
2298 }
2299 else
2300 {
2301 throw std::runtime_error("Library not loaded!");
2302 }
2303}
2304
2306{
2307 auto& inst = instance();
2308 if(inst.m_PEAK_IPL_ImageConverter_Convert)
2309 {
2310 return inst.m_PEAK_IPL_ImageConverter_Convert(imageConverterHandle, inputImageHandle, outputPixelFormat, outputImageHandle);
2311 }
2312 else
2313 {
2314 throw std::runtime_error("Library not loaded!");
2315 }
2316}
2317
2318inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageConverter_ConvertToBuffer(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t * outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle)
2319{
2320 auto& inst = instance();
2321 if(inst.m_PEAK_IPL_ImageConverter_ConvertToBuffer)
2322 {
2323 return inst.m_PEAK_IPL_ImageConverter_ConvertToBuffer(imageConverterHandle, inputImageHandle, outputPixelFormat, outputImageBuffer, outputImageBufferSize, outputImageHandle);
2324 }
2325 else
2326 {
2327 throw std::runtime_error("Library not loaded!");
2328 }
2329}
2330
2332{
2333 auto& inst = instance();
2334 if(inst.m_PEAK_IPL_ImageConverter_Destruct)
2335 {
2336 return inst.m_PEAK_IPL_ImageConverter_Destruct(imageConverterHandle);
2337 }
2338 else
2339 {
2340 throw std::runtime_error("Library not loaded!");
2341 }
2342}
2343
2345{
2346 auto& inst = instance();
2347 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Construct)
2348 {
2349 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Construct(adaptiveHotpixelCorrectorHandle);
2350 }
2351 else
2352 {
2353 throw std::runtime_error("Library not loaded!");
2354 }
2355}
2356
2358{
2359 auto& inst = instance();
2360 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Acquire)
2361 {
2362 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Acquire(adaptiveHotpixelCorrectorHandle);
2363 }
2364 else
2365 {
2366 throw std::runtime_error("Library not loaded!");
2367 }
2368}
2369
2371{
2372 auto& inst = instance();
2373 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity)
2374 {
2375 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity(adaptiveHotpixelCorrectorHandle, sensitivityLevel);
2376 }
2377 else
2378 {
2379 throw std::runtime_error("Library not loaded!");
2380 }
2381}
2382
2384{
2385 auto& inst = instance();
2386 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity)
2387 {
2388 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity(adaptiveHotpixelCorrectorHandle, sensitivityLevel);
2389 }
2390 else
2391 {
2392 throw std::runtime_error("Library not loaded!");
2393 }
2394}
2395
2397{
2398 auto& inst = instance();
2399 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent)
2400 {
2401 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent(adaptiveHotpixelCorrectorHandle, gainFactorPercent);
2402 }
2403 else
2404 {
2405 throw std::runtime_error("Library not loaded!");
2406 }
2407}
2408
2410{
2411 auto& inst = instance();
2412 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent)
2413 {
2414 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent(adaptiveHotpixelCorrectorHandle, gainFactorPercent);
2415 }
2416 else
2417 {
2418 throw std::runtime_error("Library not loaded!");
2419 }
2420}
2421
2423{
2424 auto& inst = instance();
2425 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Detect)
2426 {
2427 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Detect(adaptiveHotpixelCorrectorHandle, inputImageHandle);
2428 }
2429 else
2430 {
2431 throw std::runtime_error("Library not loaded!");
2432 }
2433}
2434
2436{
2437 auto& inst = instance();
2438 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels)
2439 {
2440 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels(adaptiveHotpixelCorrectorHandle, hotpixels, hotpixelsSize);
2441 }
2442 else
2443 {
2444 throw std::runtime_error("Library not loaded!");
2445 }
2446}
2447
2448inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_AdaptiveHotpixelCorrector_Correct(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D * hotpixels, size_t hotpixelsSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle)
2449{
2450 auto& inst = instance();
2451 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Correct)
2452 {
2453 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Correct(adaptiveHotpixelCorrectorHandle, inputImageHandle, hotpixels, hotpixelsSize, outputImageHandle);
2454 }
2455 else
2456 {
2457 throw std::runtime_error("Library not loaded!");
2458 }
2459}
2460
2461inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D * hotpixels, size_t hotpixelsSize)
2462{
2463 auto& inst = instance();
2464 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace)
2465 {
2466 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace(adaptiveHotpixelCorrectorHandle, inputImageHandle, hotpixels, hotpixelsSize);
2467 }
2468 else
2469 {
2470 throw std::runtime_error("Library not loaded!");
2471 }
2472}
2473
2475{
2476 auto& inst = instance();
2477 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive)
2478 {
2479 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive(adaptiveHotpixelCorrectorHandle, inputImageHandle, outputImageHandle);
2480 }
2481 else
2482 {
2483 throw std::runtime_error("Library not loaded!");
2484 }
2485}
2486
2488{
2489 auto& inst = instance();
2490 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace)
2491 {
2492 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace(adaptiveHotpixelCorrectorHandle, inputImageHandle);
2493 }
2494 else
2495 {
2496 throw std::runtime_error("Library not loaded!");
2497 }
2498}
2499
2501{
2502 auto& inst = instance();
2503 if(inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Destruct)
2504 {
2505 return inst.m_PEAK_IPL_AdaptiveHotpixelCorrector_Destruct(adaptiveHotpixelCorrectorHandle);
2506 }
2507 else
2508 {
2509 throw std::runtime_error("Library not loaded!");
2510 }
2511}
2512
2514{
2515 auto& inst = instance();
2516 if(inst.m_PEAK_IPL_ColorCorrector_Construct)
2517 {
2518 return inst.m_PEAK_IPL_ColorCorrector_Construct(colorCorrectorHandle);
2519 }
2520 else
2521 {
2522 throw std::runtime_error("Library not loaded!");
2523 }
2524}
2525
2527{
2528 auto& inst = instance();
2529 if(inst.m_PEAK_IPL_ColorCorrector_Acquire)
2530 {
2531 return inst.m_PEAK_IPL_ColorCorrector_Acquire(colorCorrectorHandle);
2532 }
2533 else
2534 {
2535 throw std::runtime_error("Library not loaded!");
2536 }
2537}
2538
2540{
2541 auto& inst = instance();
2542 if(inst.m_PEAK_IPL_ColorCorrector_SetColorCorrectionFactors)
2543 {
2544 return inst.m_PEAK_IPL_ColorCorrector_SetColorCorrectionFactors(colorCorrectorHandle, colorCorrectorFactors);
2545 }
2546 else
2547 {
2548 throw std::runtime_error("Library not loaded!");
2549 }
2550}
2551
2552inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ColorCorrector_GetColorCorrectionFactors(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float * colorCorrectorFactors, size_t * colorCorrectorFactorsSize)
2553{
2554 auto& inst = instance();
2555 if(inst.m_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors)
2556 {
2557 return inst.m_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors(colorCorrectorHandle, colorCorrectorFactors, colorCorrectorFactorsSize);
2558 }
2559 else
2560 {
2561 throw std::runtime_error("Library not loaded!");
2562 }
2563}
2564
2566{
2567 auto& inst = instance();
2568 if(inst.m_PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported)
2569 {
2570 return inst.m_PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported(colorCorrectorHandle, pixelFormat, isPixelFormatSupported);
2571 }
2572 else
2573 {
2574 throw std::runtime_error("Library not loaded!");
2575 }
2576}
2577
2579{
2580 auto& inst = instance();
2581 if(inst.m_PEAK_IPL_ColorCorrector_Process)
2582 {
2583 return inst.m_PEAK_IPL_ColorCorrector_Process(colorCorrectorHandle, imageHandle, outputImageHandle);
2584 }
2585 else
2586 {
2587 throw std::runtime_error("Library not loaded!");
2588 }
2589}
2590
2592{
2593 auto& inst = instance();
2594 if(inst.m_PEAK_IPL_ColorCorrector_ProcessInPlace)
2595 {
2596 return inst.m_PEAK_IPL_ColorCorrector_ProcessInPlace(colorCorrectorHandle, imageHandle);
2597 }
2598 else
2599 {
2600 throw std::runtime_error("Library not loaded!");
2601 }
2602}
2603
2605{
2606 auto& inst = instance();
2607 if(inst.m_PEAK_IPL_ColorCorrector_Destruct)
2608 {
2609 return inst.m_PEAK_IPL_ColorCorrector_Destruct(colorCorrectorHandle);
2610 }
2611 else
2612 {
2613 throw std::runtime_error("Library not loaded!");
2614 }
2615}
2616
2618{
2619 auto& inst = instance();
2620 if(inst.m_PEAK_IPL_ColorCorrector_GetSaturation)
2621 {
2622 return inst.m_PEAK_IPL_ColorCorrector_GetSaturation(colorCorrectorHandle, saturation);
2623 }
2624 else
2625 {
2626 throw std::runtime_error("Library not loaded!");
2627 }
2628}
2629
2631{
2632 auto& inst = instance();
2633 if(inst.m_PEAK_IPL_ColorCorrector_GetSaturationMin)
2634 {
2635 return inst.m_PEAK_IPL_ColorCorrector_GetSaturationMin(colorCorrectorHandle, saturationMin);
2636 }
2637 else
2638 {
2639 throw std::runtime_error("Library not loaded!");
2640 }
2641}
2642
2644{
2645 auto& inst = instance();
2646 if(inst.m_PEAK_IPL_ColorCorrector_GetSaturationMax)
2647 {
2648 return inst.m_PEAK_IPL_ColorCorrector_GetSaturationMax(colorCorrectorHandle, saturationMax);
2649 }
2650 else
2651 {
2652 throw std::runtime_error("Library not loaded!");
2653 }
2654}
2655
2657{
2658 auto& inst = instance();
2659 if(inst.m_PEAK_IPL_ColorCorrector_SetSaturation)
2660 {
2661 return inst.m_PEAK_IPL_ColorCorrector_SetSaturation(colorCorrectorHandle, saturation);
2662 }
2663 else
2664 {
2665 throw std::runtime_error("Library not loaded!");
2666 }
2667}
2668
2670{
2671 auto& inst = instance();
2672 if(inst.m_PEAK_IPL_Binning_Construct)
2673 {
2674 return inst.m_PEAK_IPL_Binning_Construct(binningHandle);
2675 }
2676 else
2677 {
2678 throw std::runtime_error("Library not loaded!");
2679 }
2680}
2681
2683{
2684 auto& inst = instance();
2685 if(inst.m_PEAK_IPL_Binning_Acquire)
2686 {
2687 return inst.m_PEAK_IPL_Binning_Acquire(binningHandle);
2688 }
2689 else
2690 {
2691 throw std::runtime_error("Library not loaded!");
2692 }
2693}
2694
2696{
2697 auto& inst = instance();
2698 if(inst.m_PEAK_IPL_Binning_SetBinningX)
2699 {
2700 return inst.m_PEAK_IPL_Binning_SetBinningX(binningHandle, binningXValue);
2701 }
2702 else
2703 {
2704 throw std::runtime_error("Library not loaded!");
2705 }
2706}
2707
2709{
2710 auto& inst = instance();
2711 if(inst.m_PEAK_IPL_Binning_GetBinningX)
2712 {
2713 return inst.m_PEAK_IPL_Binning_GetBinningX(binningHandle, binningXValue);
2714 }
2715 else
2716 {
2717 throw std::runtime_error("Library not loaded!");
2718 }
2719}
2720
2722{
2723 auto& inst = instance();
2724 if(inst.m_PEAK_IPL_Binning_SetBinningY)
2725 {
2726 return inst.m_PEAK_IPL_Binning_SetBinningY(binningHandle, binningYValue);
2727 }
2728 else
2729 {
2730 throw std::runtime_error("Library not loaded!");
2731 }
2732}
2733
2735{
2736 auto& inst = instance();
2737 if(inst.m_PEAK_IPL_Binning_GetBinningY)
2738 {
2739 return inst.m_PEAK_IPL_Binning_GetBinningY(binningHandle, binningYValue);
2740 }
2741 else
2742 {
2743 throw std::runtime_error("Library not loaded!");
2744 }
2745}
2746
2748{
2749 auto& inst = instance();
2750 if(inst.m_PEAK_IPL_Binning_GetBinningMin)
2751 {
2752 return inst.m_PEAK_IPL_Binning_GetBinningMin(binningHandle, binningMin);
2753 }
2754 else
2755 {
2756 throw std::runtime_error("Library not loaded!");
2757 }
2758}
2759
2761{
2762 auto& inst = instance();
2763 if(inst.m_PEAK_IPL_Binning_GetBinningMax)
2764 {
2765 return inst.m_PEAK_IPL_Binning_GetBinningMax(binningHandle, binningMax);
2766 }
2767 else
2768 {
2769 throw std::runtime_error("Library not loaded!");
2770 }
2771}
2772
2773inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Binning_ExpectedOutputSize(PEAK_IPL_BINNING_HANDLE binningHandle, size_t * outputWidth, size_t * outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat)
2774{
2775 auto& inst = instance();
2776 if(inst.m_PEAK_IPL_Binning_ExpectedOutputSize)
2777 {
2778 return inst.m_PEAK_IPL_Binning_ExpectedOutputSize(binningHandle, outputWidth, outputHeight, inputWidth, inputHeight, pixelFormat);
2779 }
2780 else
2781 {
2782 throw std::runtime_error("Library not loaded!");
2783 }
2784}
2785
2787{
2788 auto& inst = instance();
2789 if(inst.m_PEAK_IPL_Binning_IsPixelformatSupported)
2790 {
2791 return inst.m_PEAK_IPL_Binning_IsPixelformatSupported(binningHandle, pixelFormat, isPixelFormatSupported);
2792 }
2793 else
2794 {
2795 throw std::runtime_error("Library not loaded!");
2796 }
2797}
2798
2800{
2801 auto& inst = instance();
2802 if(inst.m_PEAK_IPL_Binning_SetBinningMode)
2803 {
2804 return inst.m_PEAK_IPL_Binning_SetBinningMode(binningHandle, mode);
2805 }
2806 else
2807 {
2808 throw std::runtime_error("Library not loaded!");
2809 }
2810}
2811
2813{
2814 auto& inst = instance();
2815 if(inst.m_PEAK_IPL_Binning_GetBinningMode)
2816 {
2817 return inst.m_PEAK_IPL_Binning_GetBinningMode(binningHandle, mode);
2818 }
2819 else
2820 {
2821 throw std::runtime_error("Library not loaded!");
2822 }
2823}
2824
2826{
2827 auto& inst = instance();
2828 if(inst.m_PEAK_IPL_Binning_Process)
2829 {
2830 return inst.m_PEAK_IPL_Binning_Process(binningHandle, imageHandle, outputImageHandle);
2831 }
2832 else
2833 {
2834 throw std::runtime_error("Library not loaded!");
2835 }
2836}
2837
2839{
2840 auto& inst = instance();
2841 if(inst.m_PEAK_IPL_Binning_Destruct)
2842 {
2843 return inst.m_PEAK_IPL_Binning_Destruct(binningHandle);
2844 }
2845 else
2846 {
2847 throw std::runtime_error("Library not loaded!");
2848 }
2849}
2850
2852{
2853 auto& inst = instance();
2854 if(inst.m_PEAK_IPL_Decimation_Construct)
2855 {
2856 return inst.m_PEAK_IPL_Decimation_Construct(decimationHandle);
2857 }
2858 else
2859 {
2860 throw std::runtime_error("Library not loaded!");
2861 }
2862}
2863
2865{
2866 auto& inst = instance();
2867 if(inst.m_PEAK_IPL_Decimation_Acquire)
2868 {
2869 return inst.m_PEAK_IPL_Decimation_Acquire(decimationHandle);
2870 }
2871 else
2872 {
2873 throw std::runtime_error("Library not loaded!");
2874 }
2875}
2876
2878{
2879 auto& inst = instance();
2880 if(inst.m_PEAK_IPL_Decimation_SetDecimationX)
2881 {
2882 return inst.m_PEAK_IPL_Decimation_SetDecimationX(decimationHandle, decimationXValue);
2883 }
2884 else
2885 {
2886 throw std::runtime_error("Library not loaded!");
2887 }
2888}
2889
2891{
2892 auto& inst = instance();
2893 if(inst.m_PEAK_IPL_Decimation_GetDecimationX)
2894 {
2895 return inst.m_PEAK_IPL_Decimation_GetDecimationX(decimationHandle, decimationXValue);
2896 }
2897 else
2898 {
2899 throw std::runtime_error("Library not loaded!");
2900 }
2901}
2902
2904{
2905 auto& inst = instance();
2906 if(inst.m_PEAK_IPL_Decimation_SetDecimationY)
2907 {
2908 return inst.m_PEAK_IPL_Decimation_SetDecimationY(decimationHandle, decimationYValue);
2909 }
2910 else
2911 {
2912 throw std::runtime_error("Library not loaded!");
2913 }
2914}
2915
2917{
2918 auto& inst = instance();
2919 if(inst.m_PEAK_IPL_Decimation_GetDecimationY)
2920 {
2921 return inst.m_PEAK_IPL_Decimation_GetDecimationY(decimationHandle, decimationYValue);
2922 }
2923 else
2924 {
2925 throw std::runtime_error("Library not loaded!");
2926 }
2927}
2928
2930{
2931 auto& inst = instance();
2932 if(inst.m_PEAK_IPL_Decimation_GetDecimationMin)
2933 {
2934 return inst.m_PEAK_IPL_Decimation_GetDecimationMin(decimationHandle, decimationMin);
2935 }
2936 else
2937 {
2938 throw std::runtime_error("Library not loaded!");
2939 }
2940}
2941
2943{
2944 auto& inst = instance();
2945 if(inst.m_PEAK_IPL_Decimation_GetDecimationMax)
2946 {
2947 return inst.m_PEAK_IPL_Decimation_GetDecimationMax(decimationHandle, decimationMax);
2948 }
2949 else
2950 {
2951 throw std::runtime_error("Library not loaded!");
2952 }
2953}
2954
2955inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Decimation_ExpectedOutputSize(PEAK_IPL_DECIMATION_HANDLE decimationHandle, size_t * outputWidth, size_t * outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat)
2956{
2957 auto& inst = instance();
2958 if(inst.m_PEAK_IPL_Decimation_ExpectedOutputSize)
2959 {
2960 return inst.m_PEAK_IPL_Decimation_ExpectedOutputSize(decimationHandle, outputWidth, outputHeight, inputWidth, inputHeight, pixelFormat);
2961 }
2962 else
2963 {
2964 throw std::runtime_error("Library not loaded!");
2965 }
2966}
2967
2969{
2970 auto& inst = instance();
2971 if(inst.m_PEAK_IPL_Decimation_IsPixelformatSupported)
2972 {
2973 return inst.m_PEAK_IPL_Decimation_IsPixelformatSupported(decimationHandle, pixelFormat, isPixelFormatSupported);
2974 }
2975 else
2976 {
2977 throw std::runtime_error("Library not loaded!");
2978 }
2979}
2980
2982{
2983 auto& inst = instance();
2984 if(inst.m_PEAK_IPL_Decimation_Process)
2985 {
2986 return inst.m_PEAK_IPL_Decimation_Process(decimationHandle, imageHandle, outputImageHandle);
2987 }
2988 else
2989 {
2990 throw std::runtime_error("Library not loaded!");
2991 }
2992}
2993
2995{
2996 auto& inst = instance();
2997 if(inst.m_PEAK_IPL_Decimation_Destruct)
2998 {
2999 return inst.m_PEAK_IPL_Decimation_Destruct(decimationHandle);
3000 }
3001 else
3002 {
3003 throw std::runtime_error("Library not loaded!");
3004 }
3005}
3006
3008{
3009 auto& inst = instance();
3010 if(inst.m_PEAK_IPL_Gain_Construct)
3011 {
3012 return inst.m_PEAK_IPL_Gain_Construct(gainHandle);
3013 }
3014 else
3015 {
3016 throw std::runtime_error("Library not loaded!");
3017 }
3018}
3019
3021{
3022 auto& inst = instance();
3023 if(inst.m_PEAK_IPL_Gain_Acquire)
3024 {
3025 return inst.m_PEAK_IPL_Gain_Acquire(gainHandle);
3026 }
3027 else
3028 {
3029 throw std::runtime_error("Library not loaded!");
3030 }
3031}
3032
3034{
3035 auto& inst = instance();
3036 if(inst.m_PEAK_IPL_Gain_SetMasterGainValue)
3037 {
3038 return inst.m_PEAK_IPL_Gain_SetMasterGainValue(gainHandle, masterGainValue);
3039 }
3040 else
3041 {
3042 throw std::runtime_error("Library not loaded!");
3043 }
3044}
3045
3047{
3048 auto& inst = instance();
3049 if(inst.m_PEAK_IPL_Gain_GetMasterGainValue)
3050 {
3051 return inst.m_PEAK_IPL_Gain_GetMasterGainValue(gainHandle, masterGainValue);
3052 }
3053 else
3054 {
3055 throw std::runtime_error("Library not loaded!");
3056 }
3057}
3058
3060{
3061 auto& inst = instance();
3062 if(inst.m_PEAK_IPL_Gain_GetMasterGainMax)
3063 {
3064 return inst.m_PEAK_IPL_Gain_GetMasterGainMax(gainHandle, masterGainMax);
3065 }
3066 else
3067 {
3068 throw std::runtime_error("Library not loaded!");
3069 }
3070}
3071
3073{
3074 auto& inst = instance();
3075 if(inst.m_PEAK_IPL_Gain_GetMasterGainMin)
3076 {
3077 return inst.m_PEAK_IPL_Gain_GetMasterGainMin(gainHandle, masterGainMin);
3078 }
3079 else
3080 {
3081 throw std::runtime_error("Library not loaded!");
3082 }
3083}
3084
3086{
3087 auto& inst = instance();
3088 if(inst.m_PEAK_IPL_Gain_SetRedGainValue)
3089 {
3090 return inst.m_PEAK_IPL_Gain_SetRedGainValue(gainHandle, redGainValue);
3091 }
3092 else
3093 {
3094 throw std::runtime_error("Library not loaded!");
3095 }
3096}
3097
3099{
3100 auto& inst = instance();
3101 if(inst.m_PEAK_IPL_Gain_GetRedGainValue)
3102 {
3103 return inst.m_PEAK_IPL_Gain_GetRedGainValue(gainHandle, redGainValue);
3104 }
3105 else
3106 {
3107 throw std::runtime_error("Library not loaded!");
3108 }
3109}
3110
3112{
3113 auto& inst = instance();
3114 if(inst.m_PEAK_IPL_Gain_GetRedGainMax)
3115 {
3116 return inst.m_PEAK_IPL_Gain_GetRedGainMax(gainHandle, redGainMax);
3117 }
3118 else
3119 {
3120 throw std::runtime_error("Library not loaded!");
3121 }
3122}
3123
3125{
3126 auto& inst = instance();
3127 if(inst.m_PEAK_IPL_Gain_GetRedGainMin)
3128 {
3129 return inst.m_PEAK_IPL_Gain_GetRedGainMin(gainHandle, redGainMin);
3130 }
3131 else
3132 {
3133 throw std::runtime_error("Library not loaded!");
3134 }
3135}
3136
3138{
3139 auto& inst = instance();
3140 if(inst.m_PEAK_IPL_Gain_SetGreenGainValue)
3141 {
3142 return inst.m_PEAK_IPL_Gain_SetGreenGainValue(gainHandle, greenGainValue);
3143 }
3144 else
3145 {
3146 throw std::runtime_error("Library not loaded!");
3147 }
3148}
3149
3151{
3152 auto& inst = instance();
3153 if(inst.m_PEAK_IPL_Gain_GetGreenGainValue)
3154 {
3155 return inst.m_PEAK_IPL_Gain_GetGreenGainValue(gainHandle, greenGainValue);
3156 }
3157 else
3158 {
3159 throw std::runtime_error("Library not loaded!");
3160 }
3161}
3162
3164{
3165 auto& inst = instance();
3166 if(inst.m_PEAK_IPL_Gain_GetGreenGainMax)
3167 {
3168 return inst.m_PEAK_IPL_Gain_GetGreenGainMax(gainHandle, greenGainMax);
3169 }
3170 else
3171 {
3172 throw std::runtime_error("Library not loaded!");
3173 }
3174}
3175
3177{
3178 auto& inst = instance();
3179 if(inst.m_PEAK_IPL_Gain_GetGreenGainMin)
3180 {
3181 return inst.m_PEAK_IPL_Gain_GetGreenGainMin(gainHandle, greenGainMin);
3182 }
3183 else
3184 {
3185 throw std::runtime_error("Library not loaded!");
3186 }
3187}
3188
3190{
3191 auto& inst = instance();
3192 if(inst.m_PEAK_IPL_Gain_SetBlueGainValue)
3193 {
3194 return inst.m_PEAK_IPL_Gain_SetBlueGainValue(gainHandle, blueGainValue);
3195 }
3196 else
3197 {
3198 throw std::runtime_error("Library not loaded!");
3199 }
3200}
3201
3203{
3204 auto& inst = instance();
3205 if(inst.m_PEAK_IPL_Gain_GetBlueGainValue)
3206 {
3207 return inst.m_PEAK_IPL_Gain_GetBlueGainValue(gainHandle, blueGainValue);
3208 }
3209 else
3210 {
3211 throw std::runtime_error("Library not loaded!");
3212 }
3213}
3214
3216{
3217 auto& inst = instance();
3218 if(inst.m_PEAK_IPL_Gain_GetBlueGainMax)
3219 {
3220 return inst.m_PEAK_IPL_Gain_GetBlueGainMax(gainHandle, blueGainMax);
3221 }
3222 else
3223 {
3224 throw std::runtime_error("Library not loaded!");
3225 }
3226}
3227
3229{
3230 auto& inst = instance();
3231 if(inst.m_PEAK_IPL_Gain_GetBlueGainMin)
3232 {
3233 return inst.m_PEAK_IPL_Gain_GetBlueGainMin(gainHandle, blueGainMin);
3234 }
3235 else
3236 {
3237 throw std::runtime_error("Library not loaded!");
3238 }
3239}
3240
3242{
3243 auto& inst = instance();
3244 if(inst.m_PEAK_IPL_Gain_GetIsPixelFormatSupported)
3245 {
3246 return inst.m_PEAK_IPL_Gain_GetIsPixelFormatSupported(gainHandle, pixelFormat, isPixelFormatSupported);
3247 }
3248 else
3249 {
3250 throw std::runtime_error("Library not loaded!");
3251 }
3252}
3253
3255{
3256 auto& inst = instance();
3257 if(inst.m_PEAK_IPL_Gain_Process)
3258 {
3259 return inst.m_PEAK_IPL_Gain_Process(gainHandle, imageHandle, outputImageHandle);
3260 }
3261 else
3262 {
3263 throw std::runtime_error("Library not loaded!");
3264 }
3265}
3266
3268{
3269 auto& inst = instance();
3270 if(inst.m_PEAK_IPL_Gain_ProcessInPlace)
3271 {
3272 return inst.m_PEAK_IPL_Gain_ProcessInPlace(gainHandle, imageHandle);
3273 }
3274 else
3275 {
3276 throw std::runtime_error("Library not loaded!");
3277 }
3278}
3279
3281{
3282 auto& inst = instance();
3283 if(inst.m_PEAK_IPL_Gain_Destruct)
3284 {
3285 return inst.m_PEAK_IPL_Gain_Destruct(gainHandle);
3286 }
3287 else
3288 {
3289 throw std::runtime_error("Library not loaded!");
3290 }
3291}
3292
3294{
3295 auto& inst = instance();
3296 if(inst.m_PEAK_IPL_GammaCorrector_Construct)
3297 {
3298 return inst.m_PEAK_IPL_GammaCorrector_Construct(gammaCorrectorHandle);
3299 }
3300 else
3301 {
3302 throw std::runtime_error("Library not loaded!");
3303 }
3304}
3305
3307{
3308 auto& inst = instance();
3309 if(inst.m_PEAK_IPL_GammaCorrector_Acquire)
3310 {
3311 return inst.m_PEAK_IPL_GammaCorrector_Acquire(gammaCorrectorHandle);
3312 }
3313 else
3314 {
3315 throw std::runtime_error("Library not loaded!");
3316 }
3317}
3318
3320{
3321 auto& inst = instance();
3322 if(inst.m_PEAK_IPL_GammaCorrector_SetGammaCorrectionValue)
3323 {
3324 return inst.m_PEAK_IPL_GammaCorrector_SetGammaCorrectionValue(gammaCorrectorHandle, gammaValue);
3325 }
3326 else
3327 {
3328 throw std::runtime_error("Library not loaded!");
3329 }
3330}
3331
3333{
3334 auto& inst = instance();
3335 if(inst.m_PEAK_IPL_GammaCorrector_GetGammaCorrectionValue)
3336 {
3337 return inst.m_PEAK_IPL_GammaCorrector_GetGammaCorrectionValue(gammaCorrectorHandle, gammaValue);
3338 }
3339 else
3340 {
3341 throw std::runtime_error("Library not loaded!");
3342 }
3343}
3344
3346{
3347 auto& inst = instance();
3348 if(inst.m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMax)
3349 {
3350 return inst.m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMax(gammaCorrectorHandle, gammaMax);
3351 }
3352 else
3353 {
3354 throw std::runtime_error("Library not loaded!");
3355 }
3356}
3357
3359{
3360 auto& inst = instance();
3361 if(inst.m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMin)
3362 {
3363 return inst.m_PEAK_IPL_GammaCorrector_GetGammaCorrectionMin(gammaCorrectorHandle, gammaMin);
3364 }
3365 else
3366 {
3367 throw std::runtime_error("Library not loaded!");
3368 }
3369}
3370
3372{
3373 auto& inst = instance();
3374 if(inst.m_PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported)
3375 {
3376 return inst.m_PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported(gammaCorrectorHandle, pixelFormat, isPixelFormatSupported);
3377 }
3378 else
3379 {
3380 throw std::runtime_error("Library not loaded!");
3381 }
3382}
3383
3385{
3386 auto& inst = instance();
3387 if(inst.m_PEAK_IPL_GammaCorrector_Process)
3388 {
3389 return inst.m_PEAK_IPL_GammaCorrector_Process(gammaCorrectorHandle, imageHandle, outputImageHandle);
3390 }
3391 else
3392 {
3393 throw std::runtime_error("Library not loaded!");
3394 }
3395}
3396
3398{
3399 auto& inst = instance();
3400 if(inst.m_PEAK_IPL_GammaCorrector_ProcessInPlace)
3401 {
3402 return inst.m_PEAK_IPL_GammaCorrector_ProcessInPlace(gammaCorrectorHandle, imageHandle);
3403 }
3404 else
3405 {
3406 throw std::runtime_error("Library not loaded!");
3407 }
3408}
3409
3411{
3412 auto& inst = instance();
3413 if(inst.m_PEAK_IPL_GammaCorrector_Destruct)
3414 {
3415 return inst.m_PEAK_IPL_GammaCorrector_Destruct(gammaCorrectorHandle);
3416 }
3417 else
3418 {
3419 throw std::runtime_error("Library not loaded!");
3420 }
3421}
3422
3423inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Image_Construct(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE * imageHandle)
3424{
3425 auto& inst = instance();
3426 if(inst.m_PEAK_IPL_Image_Construct)
3427 {
3428 return inst.m_PEAK_IPL_Image_Construct(pixelFormat, width, height, imageHandle);
3429 }
3430 else
3431 {
3432 throw std::runtime_error("Library not loaded!");
3433 }
3434}
3435
3437{
3438 auto& inst = instance();
3439 if(inst.m_PEAK_IPL_Image_Acquire)
3440 {
3441 return inst.m_PEAK_IPL_Image_Acquire(imageHandle);
3442 }
3443 else
3444 {
3445 throw std::runtime_error("Library not loaded!");
3446 }
3447}
3448
3449inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Image_ConstructFromBuffer(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint8_t * buffer, uint64_t bufferSize, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE * imageHandle)
3450{
3451 auto& inst = instance();
3452 if(inst.m_PEAK_IPL_Image_ConstructFromBuffer)
3453 {
3454 return inst.m_PEAK_IPL_Image_ConstructFromBuffer(pixelFormat, buffer, bufferSize, width, height, imageHandle);
3455 }
3456 else
3457 {
3458 throw std::runtime_error("Library not loaded!");
3459 }
3460}
3461
3463{
3464 auto& inst = instance();
3465 if(inst.m_PEAK_IPL_Image_GetWidth)
3466 {
3467 return inst.m_PEAK_IPL_Image_GetWidth(imageHandle, width);
3468 }
3469 else
3470 {
3471 throw std::runtime_error("Library not loaded!");
3472 }
3473}
3474
3476{
3477 auto& inst = instance();
3478 if(inst.m_PEAK_IPL_Image_GetHeight)
3479 {
3480 return inst.m_PEAK_IPL_Image_GetHeight(imageHandle, height);
3481 }
3482 else
3483 {
3484 throw std::runtime_error("Library not loaded!");
3485 }
3486}
3487
3488inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Image_GetPixelPointer(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t xPos, size_t yPos, uint8_t * * pixelPointer)
3489{
3490 auto& inst = instance();
3491 if(inst.m_PEAK_IPL_Image_GetPixelPointer)
3492 {
3493 return inst.m_PEAK_IPL_Image_GetPixelPointer(imageHandle, xPos, yPos, pixelPointer);
3494 }
3495 else
3496 {
3497 throw std::runtime_error("Library not loaded!");
3498 }
3499}
3500
3502{
3503 auto& inst = instance();
3504 if(inst.m_PEAK_IPL_Image_GetByteCount)
3505 {
3506 return inst.m_PEAK_IPL_Image_GetByteCount(imageHandle, byteCount);
3507 }
3508 else
3509 {
3510 throw std::runtime_error("Library not loaded!");
3511 }
3512}
3513
3515{
3516 auto& inst = instance();
3517 if(inst.m_PEAK_IPL_Image_GetPixelFormat)
3518 {
3519 return inst.m_PEAK_IPL_Image_GetPixelFormat(imageHandle, pixelFormat);
3520 }
3521 else
3522 {
3523 throw std::runtime_error("Library not loaded!");
3524 }
3525}
3526
3528{
3529 auto& inst = instance();
3530 if(inst.m_PEAK_IPL_Image_GetData)
3531 {
3532 return inst.m_PEAK_IPL_Image_GetData(imageHandle, data);
3533 }
3534 else
3535 {
3536 throw std::runtime_error("Library not loaded!");
3537 }
3538}
3539
3541{
3542 auto& inst = instance();
3543 if(inst.m_PEAK_IPL_Image_Clone)
3544 {
3545 return inst.m_PEAK_IPL_Image_Clone(imageHandle, outputImageHandle);
3546 }
3547 else
3548 {
3549 throw std::runtime_error("Library not loaded!");
3550 }
3551}
3552
3554{
3555 auto& inst = instance();
3556 if(inst.m_PEAK_IPL_Image_ConvertTo)
3557 {
3558 return inst.m_PEAK_IPL_Image_ConvertTo(imageHandle, outputPixelFormat, conversionMode, outputImageHandle);
3559 }
3560 else
3561 {
3562 throw std::runtime_error("Library not loaded!");
3563 }
3564}
3565
3567{
3568 auto& inst = instance();
3569 if(inst.m_PEAK_IPL_Image_ConvertToWithFactor)
3570 {
3571 return inst.m_PEAK_IPL_Image_ConvertToWithFactor(imageHandle, outputPixelFormat, factor, conversionMode, outputImageHandle);
3572 }
3573 else
3574 {
3575 throw std::runtime_error("Library not loaded!");
3576 }
3577}
3578
3580{
3581 auto& inst = instance();
3582 if(inst.m_PEAK_IPL_Image_Scale)
3583 {
3584 return inst.m_PEAK_IPL_Image_Scale(imageHandle, size, algorithm, outputImageHandle);
3585 }
3586 else
3587 {
3588 throw std::runtime_error("Library not loaded!");
3589 }
3590}
3591
3592inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Image_ScaleInto(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_SIZE_2D * size, uint8_t * buffer, size_t bufferSize, PEAK_IPL_INTERPOLATION_ALGORITHM algorithm)
3593{
3594 auto& inst = instance();
3595 if(inst.m_PEAK_IPL_Image_ScaleInto)
3596 {
3597 return inst.m_PEAK_IPL_Image_ScaleInto(imageHandle, size, buffer, bufferSize, algorithm);
3598 }
3599 else
3600 {
3601 throw std::runtime_error("Library not loaded!");
3602 }
3603}
3604
3605inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Image_Crop(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_POINT_2D * pos, const struct PEAK_IPL_SIZE_2D * size, PEAK_IPL_IMAGE_HANDLE * outputImageHandle)
3606{
3607 auto& inst = instance();
3608 if(inst.m_PEAK_IPL_Image_Crop)
3609 {
3610 return inst.m_PEAK_IPL_Image_Crop(imageHandle, pos, size, outputImageHandle);
3611 }
3612 else
3613 {
3614 throw std::runtime_error("Library not loaded!");
3615 }
3616}
3617
3618inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Image_ConvertToBuffer(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t * outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE * outputImageHandle)
3619{
3620 auto& inst = instance();
3621 if(inst.m_PEAK_IPL_Image_ConvertToBuffer)
3622 {
3623 return inst.m_PEAK_IPL_Image_ConvertToBuffer(imageHandle, outputPixelFormat, outputImageBuffer, outputImageBufferSize, conversionMode, outputImageHandle);
3624 }
3625 else
3626 {
3627 throw std::runtime_error("Library not loaded!");
3628 }
3629}
3630
3632{
3633 auto& inst = instance();
3634 if(inst.m_PEAK_IPL_Image_Destruct)
3635 {
3636 return inst.m_PEAK_IPL_Image_Destruct(imageHandle);
3637 }
3638 else
3639 {
3640 throw std::runtime_error("Library not loaded!");
3641 }
3642}
3643
3645{
3646 auto& inst = instance();
3647 if(inst.m_PEAK_IPL_ImageTransformer_Construct)
3648 {
3649 return inst.m_PEAK_IPL_ImageTransformer_Construct(imageTransformerHandle);
3650 }
3651 else
3652 {
3653 throw std::runtime_error("Library not loaded!");
3654 }
3655}
3656
3658{
3659 auto& inst = instance();
3660 if(inst.m_PEAK_IPL_ImageTransformer_Acquire)
3661 {
3662 return inst.m_PEAK_IPL_ImageTransformer_Acquire(imageTransformerHandle);
3663 }
3664 else
3665 {
3666 throw std::runtime_error("Library not loaded!");
3667 }
3668}
3669
3671{
3672 auto& inst = instance();
3673 if(inst.m_PEAK_IPL_Image_SetTimestamp)
3674 {
3675 return inst.m_PEAK_IPL_Image_SetTimestamp(imageHandle, timestamp_ns);
3676 }
3677 else
3678 {
3679 throw std::runtime_error("Library not loaded!");
3680 }
3681}
3682
3684{
3685 auto& inst = instance();
3686 if(inst.m_PEAK_IPL_Image_GetTimestamp)
3687 {
3688 return inst.m_PEAK_IPL_Image_GetTimestamp(imageHandle, timestamp_ns);
3689 }
3690 else
3691 {
3692 throw std::runtime_error("Library not loaded!");
3693 }
3694}
3695
3697{
3698 auto& inst = instance();
3699 if(inst.m_PEAK_IPL_ImageTransformer_MirrorUpDown)
3700 {
3701 return inst.m_PEAK_IPL_ImageTransformer_MirrorUpDown(imageTransformerHandle, imageHandle, outputImageHandle);
3702 }
3703 else
3704 {
3705 throw std::runtime_error("Library not loaded!");
3706 }
3707}
3708
3710{
3711 auto& inst = instance();
3712 if(inst.m_PEAK_IPL_ImageTransformer_MirrorLeftRight)
3713 {
3714 return inst.m_PEAK_IPL_ImageTransformer_MirrorLeftRight(imageTransformerHandle, imageHandle, outputImageHandle);
3715 }
3716 else
3717 {
3718 throw std::runtime_error("Library not loaded!");
3719 }
3720}
3721
3723{
3724 auto& inst = instance();
3725 if(inst.m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight)
3726 {
3727 return inst.m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight(imageTransformerHandle, imageHandle, outputImageHandle);
3728 }
3729 else
3730 {
3731 throw std::runtime_error("Library not loaded!");
3732 }
3733}
3734
3736{
3737 auto& inst = instance();
3738 if(inst.m_PEAK_IPL_ImageTransformer_MirrorUpDownInPlace)
3739 {
3740 return inst.m_PEAK_IPL_ImageTransformer_MirrorUpDownInPlace(imageTransformerHandle, imageHandle);
3741 }
3742 else
3743 {
3744 throw std::runtime_error("Library not loaded!");
3745 }
3746}
3747
3749{
3750 auto& inst = instance();
3751 if(inst.m_PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace)
3752 {
3753 return inst.m_PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace(imageTransformerHandle, imageHandle);
3754 }
3755 else
3756 {
3757 throw std::runtime_error("Library not loaded!");
3758 }
3759}
3760
3762{
3763 auto& inst = instance();
3764 if(inst.m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace)
3765 {
3766 return inst.m_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace(imageTransformerHandle, imageHandle);
3767 }
3768 else
3769 {
3770 throw std::runtime_error("Library not loaded!");
3771 }
3772}
3773
3775{
3776 auto& inst = instance();
3777 if(inst.m_PEAK_IPL_ImageTransformer_Rotate)
3778 {
3779 return inst.m_PEAK_IPL_ImageTransformer_Rotate(imageTransformerHandle, imageHandle, outputImageHandle, rotationAngle);
3780 }
3781 else
3782 {
3783 throw std::runtime_error("Library not loaded!");
3784 }
3785}
3786
3788{
3789 auto& inst = instance();
3790 if(inst.m_PEAK_IPL_ImageTransformer_RotateInPlace)
3791 {
3792 return inst.m_PEAK_IPL_ImageTransformer_RotateInPlace(imageTransformerHandle, imageHandle, rotationAngle);
3793 }
3794 else
3795 {
3796 throw std::runtime_error("Library not loaded!");
3797 }
3798}
3799
3801{
3802 auto& inst = instance();
3803 if(inst.m_PEAK_IPL_ImageTransformer_Destruct)
3804 {
3805 return inst.m_PEAK_IPL_ImageTransformer_Destruct(imageTransformerHandle);
3806 }
3807 else
3808 {
3809 throw std::runtime_error("Library not loaded!");
3810 }
3811}
3812
3814{
3815 auto& inst = instance();
3816 if(inst.m_PEAK_IPL_Histogram_Construct)
3817 {
3818 return inst.m_PEAK_IPL_Histogram_Construct(imageHandle, histogramHandle);
3819 }
3820 else
3821 {
3822 throw std::runtime_error("Library not loaded!");
3823 }
3824}
3825
3827{
3828 auto& inst = instance();
3829 if(inst.m_PEAK_IPL_Histogram_Acquire)
3830 {
3831 return inst.m_PEAK_IPL_Histogram_Acquire(histogramHandle);
3832 }
3833 else
3834 {
3835 throw std::runtime_error("Library not loaded!");
3836 }
3837}
3838
3840{
3841 auto& inst = instance();
3842 if(inst.m_PEAK_IPL_Histogram_GetPixelFormat)
3843 {
3844 return inst.m_PEAK_IPL_Histogram_GetPixelFormat(histogramHandle, pixelFormat);
3845 }
3846 else
3847 {
3848 throw std::runtime_error("Library not loaded!");
3849 }
3850}
3851
3853{
3854 auto& inst = instance();
3855 if(inst.m_PEAK_IPL_Histogram_GetNumChannels)
3856 {
3857 return inst.m_PEAK_IPL_Histogram_GetNumChannels(histogramHandle, numChannels);
3858 }
3859 else
3860 {
3861 throw std::runtime_error("Library not loaded!");
3862 }
3863}
3864
3865inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Histogram_GetPixelSumForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * pixelSum)
3866{
3867 auto& inst = instance();
3868 if(inst.m_PEAK_IPL_Histogram_GetPixelSumForChannel)
3869 {
3870 return inst.m_PEAK_IPL_Histogram_GetPixelSumForChannel(histogramHandle, channelIndex, pixelSum);
3871 }
3872 else
3873 {
3874 throw std::runtime_error("Library not loaded!");
3875 }
3876}
3877
3878inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Histogram_GetPixelCountForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * pixelCount)
3879{
3880 auto& inst = instance();
3881 if(inst.m_PEAK_IPL_Histogram_GetPixelCountForChannel)
3882 {
3883 return inst.m_PEAK_IPL_Histogram_GetPixelCountForChannel(histogramHandle, channelIndex, pixelCount);
3884 }
3885 else
3886 {
3887 throw std::runtime_error("Library not loaded!");
3888 }
3889}
3890
3891inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_Histogram_GetBinsForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t * bins, size_t * binsSize)
3892{
3893 auto& inst = instance();
3894 if(inst.m_PEAK_IPL_Histogram_GetBinsForChannel)
3895 {
3896 return inst.m_PEAK_IPL_Histogram_GetBinsForChannel(histogramHandle, channelIndex, bins, binsSize);
3897 }
3898 else
3899 {
3900 throw std::runtime_error("Library not loaded!");
3901 }
3902}
3903
3905{
3906 auto& inst = instance();
3907 if(inst.m_PEAK_IPL_Histogram_Destruct)
3908 {
3909 return inst.m_PEAK_IPL_Histogram_Destruct(histogramHandle);
3910 }
3911 else
3912 {
3913 throw std::runtime_error("Library not loaded!");
3914 }
3915}
3916
3918{
3919 auto& inst = instance();
3920 if(inst.m_PEAK_IPL_PixelLine_Construct)
3921 {
3922 return inst.m_PEAK_IPL_PixelLine_Construct(imageHandle, orientation, offset, pixelLineHandle);
3923 }
3924 else
3925 {
3926 throw std::runtime_error("Library not loaded!");
3927 }
3928}
3929
3931{
3932 auto& inst = instance();
3933 if(inst.m_PEAK_IPL_PixelLine_Acquire)
3934 {
3935 return inst.m_PEAK_IPL_PixelLine_Acquire(pixelLineHandle);
3936 }
3937 else
3938 {
3939 throw std::runtime_error("Library not loaded!");
3940 }
3941}
3942
3944{
3945 auto& inst = instance();
3946 if(inst.m_PEAK_IPL_PixelLine_GetPixelFormat)
3947 {
3948 return inst.m_PEAK_IPL_PixelLine_GetPixelFormat(pixelLineHandle, pixelFormat);
3949 }
3950 else
3951 {
3952 throw std::runtime_error("Library not loaded!");
3953 }
3954}
3955
3957{
3958 auto& inst = instance();
3959 if(inst.m_PEAK_IPL_PixelLine_GetOrientation)
3960 {
3961 return inst.m_PEAK_IPL_PixelLine_GetOrientation(pixelLineHandle, orientation);
3962 }
3963 else
3964 {
3965 throw std::runtime_error("Library not loaded!");
3966 }
3967}
3968
3970{
3971 auto& inst = instance();
3972 if(inst.m_PEAK_IPL_PixelLine_GetOffset)
3973 {
3974 return inst.m_PEAK_IPL_PixelLine_GetOffset(pixelLineHandle, offset);
3975 }
3976 else
3977 {
3978 throw std::runtime_error("Library not loaded!");
3979 }
3980}
3981
3983{
3984 auto& inst = instance();
3985 if(inst.m_PEAK_IPL_PixelLine_GetNumChannels)
3986 {
3987 return inst.m_PEAK_IPL_PixelLine_GetNumChannels(pixelLineHandle, numChannels);
3988 }
3989 else
3990 {
3991 throw std::runtime_error("Library not loaded!");
3992 }
3993}
3994
3995inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_PixelLine_GetValuesForChannel(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t channelIndex, uint32_t * values, size_t * valuesSize)
3996{
3997 auto& inst = instance();
3998 if(inst.m_PEAK_IPL_PixelLine_GetValuesForChannel)
3999 {
4000 return inst.m_PEAK_IPL_PixelLine_GetValuesForChannel(pixelLineHandle, channelIndex, values, valuesSize);
4001 }
4002 else
4003 {
4004 throw std::runtime_error("Library not loaded!");
4005 }
4006}
4007
4009{
4010 auto& inst = instance();
4011 if(inst.m_PEAK_IPL_PixelLine_Destruct)
4012 {
4013 return inst.m_PEAK_IPL_PixelLine_Destruct(pixelLineHandle);
4014 }
4015 else
4016 {
4017 throw std::runtime_error("Library not loaded!");
4018 }
4019}
4020
4022{
4023 auto& inst = instance();
4024 if(inst.m_PEAK_IPL_PixelFormat_GetNumChannels)
4025 {
4026 return inst.m_PEAK_IPL_PixelFormat_GetNumChannels(pixelFormat, numChannels);
4027 }
4028 else
4029 {
4030 throw std::runtime_error("Library not loaded!");
4031 }
4032}
4033
4035{
4036 auto& inst = instance();
4037 if(inst.m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel)
4038 {
4039 return inst.m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel(pixelFormat, numSignificantBits);
4040 }
4041 else
4042 {
4043 throw std::runtime_error("Library not loaded!");
4044 }
4045}
4046
4048{
4049 auto& inst = instance();
4050 if(inst.m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel)
4051 {
4052 return inst.m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel(pixelFormat, numStorageBits);
4053 }
4054 else
4055 {
4056 throw std::runtime_error("Library not loaded!");
4057 }
4058}
4059
4061{
4062 auto& inst = instance();
4063 if(inst.m_PEAK_IPL_PixelFormat_GetMaximumValuePerChannel)
4064 {
4065 return inst.m_PEAK_IPL_PixelFormat_GetMaximumValuePerChannel(pixelFormat, channelMaximumValue);
4066 }
4067 else
4068 {
4069 throw std::runtime_error("Library not loaded!");
4070 }
4071}
4072
4074{
4075 auto& inst = instance();
4076 if(inst.m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel)
4077 {
4078 return inst.m_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel(pixelFormat, numSignificantBits);
4079 }
4080 else
4081 {
4082 throw std::runtime_error("Library not loaded!");
4083 }
4084}
4085
4087{
4088 auto& inst = instance();
4089 if(inst.m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel)
4090 {
4091 return inst.m_PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel(pixelFormat, numStorageBits);
4092 }
4093 else
4094 {
4095 throw std::runtime_error("Library not loaded!");
4096 }
4097}
4098
4100{
4101 auto& inst = instance();
4102 if(inst.m_PEAK_IPL_PixelFormat_GetEndianness)
4103 {
4104 return inst.m_PEAK_IPL_PixelFormat_GetEndianness(pixelFormat, endianness);
4105 }
4106 else
4107 {
4108 throw std::runtime_error("Library not loaded!");
4109 }
4110}
4111
4113{
4114 auto& inst = instance();
4115 if(inst.m_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels)
4116 {
4117 return inst.m_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels(pixelFormat, numPixels, size);
4118 }
4119 else
4120 {
4121 throw std::runtime_error("Library not loaded!");
4122 }
4123}
4124
4126{
4127 auto& inst = instance();
4128 if(inst.m_PEAK_IPL_PixelFormat_IsPacked)
4129 {
4130 return inst.m_PEAK_IPL_PixelFormat_IsPacked(pixelFormat, isPacked);
4131 }
4132 else
4133 {
4134 throw std::runtime_error("Library not loaded!");
4135 }
4136}
4137
4139{
4140 auto& inst = instance();
4141 if(inst.m_PEAK_IPL_PixelFormat_IsBayered)
4142 {
4143 return inst.m_PEAK_IPL_PixelFormat_IsBayered(pixelFormat, isBayered);
4144 }
4145 else
4146 {
4147 throw std::runtime_error("Library not loaded!");
4148 }
4149}
4150
4152{
4153 auto& inst = instance();
4154 if(inst.m_PEAK_IPL_PixelFormat_IsYUV)
4155 {
4156 return inst.m_PEAK_IPL_PixelFormat_IsYUV(pixelFormat, isYUV);
4157 }
4158 else
4159 {
4160 throw std::runtime_error("Library not loaded!");
4161 }
4162}
4163
4165{
4166 auto& inst = instance();
4167 if(inst.m_PEAK_IPL_PixelFormat_IsCoord3D)
4168 {
4169 return inst.m_PEAK_IPL_PixelFormat_IsCoord3D(pixelFormat, isCoord3D);
4170 }
4171 else
4172 {
4173 throw std::runtime_error("Library not loaded!");
4174 }
4175}
4176
4178{
4179 auto& inst = instance();
4180 if(inst.m_PEAK_IPL_PixelFormat_IsFloat)
4181 {
4182 return inst.m_PEAK_IPL_PixelFormat_IsFloat(pixelFormat, isFloat);
4183 }
4184 else
4185 {
4186 throw std::runtime_error("Library not loaded!");
4187 }
4188}
4189
4191{
4192 auto& inst = instance();
4193 if(inst.m_PEAK_IPL_PixelFormat_GetBayerPattern)
4194 {
4195 return inst.m_PEAK_IPL_PixelFormat_GetBayerPattern(pixelFormat, pattern);
4196 }
4197 else
4198 {
4199 throw std::runtime_error("Library not loaded!");
4200 }
4201}
4202
4203inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageWriter_WriteAsRAW(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize)
4204{
4205 auto& inst = instance();
4206 if(inst.m_PEAK_IPL_ImageWriter_WriteAsRAW)
4207 {
4208 return inst.m_PEAK_IPL_ImageWriter_WriteAsRAW(inputImageHandle, filePath, filePathSize);
4209 }
4210 else
4211 {
4212 throw std::runtime_error("Library not loaded!");
4213 }
4214}
4215
4216inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageWriter_WriteAsBMP(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize)
4217{
4218 auto& inst = instance();
4219 if(inst.m_PEAK_IPL_ImageWriter_WriteAsBMP)
4220 {
4221 return inst.m_PEAK_IPL_ImageWriter_WriteAsBMP(inputImageHandle, filePath, filePathSize);
4222 }
4223 else
4224 {
4225 throw std::runtime_error("Library not loaded!");
4226 }
4227}
4228
4229inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageWriter_WriteAsPNG(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char * filePath, size_t filePathSize)
4230{
4231 auto& inst = instance();
4232 if(inst.m_PEAK_IPL_ImageWriter_WriteAsPNG)
4233 {
4234 return inst.m_PEAK_IPL_ImageWriter_WriteAsPNG(inputImageHandle, quality, filePath, filePathSize);
4235 }
4236 else
4237 {
4238 throw std::runtime_error("Library not loaded!");
4239 }
4240}
4241
4242inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageWriter_WriteAsJPG(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char * filePath, size_t filePathSize)
4243{
4244 auto& inst = instance();
4245 if(inst.m_PEAK_IPL_ImageWriter_WriteAsJPG)
4246 {
4247 return inst.m_PEAK_IPL_ImageWriter_WriteAsJPG(inputImageHandle, quality, filePath, filePathSize);
4248 }
4249 else
4250 {
4251 throw std::runtime_error("Library not loaded!");
4252 }
4253}
4254
4255inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageWriter_Write(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char * filePath, size_t filePathSize)
4256{
4257 auto& inst = instance();
4258 if(inst.m_PEAK_IPL_ImageWriter_Write)
4259 {
4260 return inst.m_PEAK_IPL_ImageWriter_Write(inputImageHandle, filePath, filePathSize);
4261 }
4262 else
4263 {
4264 throw std::runtime_error("Library not loaded!");
4265 }
4266}
4267
4268inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageReader_Read(const char * filePath, size_t filePathSize, PEAK_IPL_IMAGE_HANDLE * outputImageHandle)
4269{
4270 auto& inst = instance();
4271 if(inst.m_PEAK_IPL_ImageReader_Read)
4272 {
4273 return inst.m_PEAK_IPL_ImageReader_Read(filePath, filePathSize, outputImageHandle);
4274 }
4275 else
4276 {
4277 throw std::runtime_error("Library not loaded!");
4278 }
4279}
4280
4281inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_ImageReaderRead_ReadAsPixelFormat(const char * filePath, size_t filePathSize, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_IMAGE_HANDLE * outputImageHandle)
4282{
4283 auto& inst = instance();
4284 if(inst.m_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat)
4285 {
4286 return inst.m_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat(filePath, filePathSize, pixelFormat, outputImageHandle);
4287 }
4288 else
4289 {
4290 throw std::runtime_error("Library not loaded!");
4291 }
4292}
4293
4295{
4296 auto& inst = instance();
4297 if(inst.m_PEAK_IPL_VideoWriter_Video_Open)
4298 {
4299 return inst.m_PEAK_IPL_VideoWriter_Video_Open(videoHandle, filePath, container, encoder);
4300 }
4301 else
4302 {
4303 throw std::runtime_error("Library not loaded!");
4304 }
4305}
4306
4308{
4309 auto& inst = instance();
4310 if(inst.m_PEAK_IPL_VideoWriter_Video_IsOpen)
4311 {
4312 return inst.m_PEAK_IPL_VideoWriter_Video_IsOpen(videoHandle, isOpen);
4313 }
4314 else
4315 {
4316 throw std::runtime_error("Library not loaded!");
4317 }
4318}
4319
4321{
4322 auto& inst = instance();
4323 if(inst.m_PEAK_IPL_VideoWriter_Video_Close)
4324 {
4325 return inst.m_PEAK_IPL_VideoWriter_Video_Close(videoHandle);
4326 }
4327 else
4328 {
4329 throw std::runtime_error("Library not loaded!");
4330 }
4331}
4332
4334{
4335 auto& inst = instance();
4336 if(inst.m_PEAK_IPL_VideoWriter_Video_Append)
4337 {
4338 return inst.m_PEAK_IPL_VideoWriter_Video_Append(videoHandle, imageHandle);
4339 }
4340 else
4341 {
4342 throw std::runtime_error("Library not loaded!");
4343 }
4344}
4345
4347{
4348 auto& inst = instance();
4349 if(inst.m_PEAK_IPL_VideoWriter_Encoder_SetOption)
4350 {
4351 return inst.m_PEAK_IPL_VideoWriter_Encoder_SetOption(videoHandle, option, value, count);
4352 }
4353 else
4354 {
4355 throw std::runtime_error("Library not loaded!");
4356 }
4357}
4358
4360{
4361 auto& inst = instance();
4362 if(inst.m_PEAK_IPL_VideoWriter_Encoder_GetOption)
4363 {
4364 return inst.m_PEAK_IPL_VideoWriter_Encoder_GetOption(videoHandle, option, value, count, outCount);
4365 }
4366 else
4367 {
4368 throw std::runtime_error("Library not loaded!");
4369 }
4370}
4371
4373{
4374 auto& inst = instance();
4375 if(inst.m_PEAK_IPL_VideoWriter_Encoder_OptionRange)
4376 {
4377 return inst.m_PEAK_IPL_VideoWriter_Encoder_OptionRange(videoHandle, option, min, max, inc);
4378 }
4379 else
4380 {
4381 throw std::runtime_error("Library not loaded!");
4382 }
4383}
4384
4386{
4387 auto& inst = instance();
4388 if(inst.m_PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer)
4389 {
4390 return inst.m_PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer(container, encoders, size);
4391 }
4392 else
4393 {
4394 throw std::runtime_error("Library not loaded!");
4395 }
4396}
4397
4399{
4400 auto& inst = instance();
4401 if(inst.m_PEAK_IPL_VideoWriter_Container_SetOption)
4402 {
4403 return inst.m_PEAK_IPL_VideoWriter_Container_SetOption(videoHandle, option, value, count);
4404 }
4405 else
4406 {
4407 throw std::runtime_error("Library not loaded!");
4408 }
4409}
4410
4412{
4413 auto& inst = instance();
4414 if(inst.m_PEAK_IPL_VideoWriter_Container_GetOption)
4415 {
4416 return inst.m_PEAK_IPL_VideoWriter_Container_GetOption(videoHandle, option, value, count, outCount);
4417 }
4418 else
4419 {
4420 throw std::runtime_error("Library not loaded!");
4421 }
4422}
4423
4425{
4426 auto& inst = instance();
4427 if(inst.m_PEAK_IPL_VideoWriter_Container_OptionRange)
4428 {
4429 return inst.m_PEAK_IPL_VideoWriter_Container_OptionRange(videoHandle, option, min, max, inc);
4430 }
4431 else
4432 {
4433 throw std::runtime_error("Library not loaded!");
4434 }
4435}
4436
4438{
4439 auto& inst = instance();
4440 if(inst.m_PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder)
4441 {
4442 return inst.m_PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder(encoder, containers, size);
4443 }
4444 else
4445 {
4446 throw std::runtime_error("Library not loaded!");
4447 }
4448}
4449
4451{
4452 auto& inst = instance();
4453 if(inst.m_PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats)
4454 {
4455 return inst.m_PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats(encoder, pixelFormatList, pixelFormatListSize);
4456 }
4457 else
4458 {
4459 throw std::runtime_error("Library not loaded!");
4460 }
4461}
4462
4464{
4465 auto& inst = instance();
4466 if(inst.m_PEAK_IPL_VideoWriter_Video_GetEncodedFrames)
4467 {
4468 return inst.m_PEAK_IPL_VideoWriter_Video_GetEncodedFrames(videoHandle, numFrames);
4469 }
4470 else
4471 {
4472 throw std::runtime_error("Library not loaded!");
4473 }
4474}
4475
4477{
4478 auto& inst = instance();
4479 if(inst.m_PEAK_IPL_VideoWriter_Video_GetDroppedFrames)
4480 {
4481 return inst.m_PEAK_IPL_VideoWriter_Video_GetDroppedFrames(videoHandle, numFrames);
4482 }
4483 else
4484 {
4485 throw std::runtime_error("Library not loaded!");
4486 }
4487}
4488
4490{
4491 auto& inst = instance();
4492 if(inst.m_PEAK_IPL_VideoWriter_Video_GetFileSize)
4493 {
4494 return inst.m_PEAK_IPL_VideoWriter_Video_GetFileSize(videoHandle, fileSize);
4495 }
4496 else
4497 {
4498 throw std::runtime_error("Library not loaded!");
4499 }
4500}
4501
4503{
4504 auto& inst = instance();
4505 if(inst.m_PEAK_IPL_VideoWriter_Video_ResetFrameCounters)
4506 {
4507 return inst.m_PEAK_IPL_VideoWriter_Video_ResetFrameCounters(videoHandle);
4508 }
4509 else
4510 {
4511 throw std::runtime_error("Library not loaded!");
4512 }
4513}
4514
4516{
4517 auto& inst = instance();
4518 if(inst.m_PEAK_IPL_VideoWriter_Queue_SetSize)
4519 {
4520 return inst.m_PEAK_IPL_VideoWriter_Queue_SetSize(videoHandle, size);
4521 }
4522 else
4523 {
4524 throw std::runtime_error("Library not loaded!");
4525 }
4526}
4527
4529{
4530 auto& inst = instance();
4531 if(inst.m_PEAK_IPL_VideoWriter_Queue_GetSize)
4532 {
4533 return inst.m_PEAK_IPL_VideoWriter_Queue_GetSize(videoHandle, size);
4534 }
4535 else
4536 {
4537 throw std::runtime_error("Library not loaded!");
4538 }
4539}
4540
4541inline PEAK_IPL_C_API DynamicLoader::PEAK_IPL_VideoWriter_Queue_GetRange(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t * minSize, int32_t * maxSize)
4542{
4543 auto& inst = instance();
4544 if(inst.m_PEAK_IPL_VideoWriter_Queue_GetRange)
4545 {
4546 return inst.m_PEAK_IPL_VideoWriter_Queue_GetRange(videoHandle, minSize, maxSize);
4547 }
4548 else
4549 {
4550 throw std::runtime_error("Library not loaded!");
4551 }
4552}
4553
4555{
4556 auto& inst = instance();
4557 if(inst.m_PEAK_IPL_VideoWriter_Queue_GetQueued)
4558 {
4559 return inst.m_PEAK_IPL_VideoWriter_Queue_GetQueued(videoHandle, queued);
4560 }
4561 else
4562 {
4563 throw std::runtime_error("Library not loaded!");
4564 }
4565}
4566
4568{
4569 auto& inst = instance();
4570 if(inst.m_PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone)
4571 {
4572 return inst.m_PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone(videoHandle, timeout_ms);
4573 }
4574 else
4575 {
4576 throw std::runtime_error("Library not loaded!");
4577 }
4578}
4579
4581{
4582 auto& inst = instance();
4583 if(inst.m_PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty)
4584 {
4585 return inst.m_PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty(videoHandle, timeout_ms);
4586 }
4587 else
4588 {
4589 throw std::runtime_error("Library not loaded!");
4590 }
4591}
4592
4594{
4595 auto& inst = instance();
4596 if(inst.m_PEAK_IPL_ImageSharpness_Construct)
4597 {
4598 return inst.m_PEAK_IPL_ImageSharpness_Construct(handle);
4599 }
4600 else
4601 {
4602 throw std::runtime_error("Library not loaded!");
4603 }
4604}
4605
4607{
4608 auto& inst = instance();
4609 if(inst.m_PEAK_IPL_ImageSharpness_Acquire)
4610 {
4611 return inst.m_PEAK_IPL_ImageSharpness_Acquire(handle);
4612 }
4613 else
4614 {
4615 throw std::runtime_error("Library not loaded!");
4616 }
4617}
4618
4620{
4621 auto& inst = instance();
4622 if(inst.m_PEAK_IPL_ImageSharpness_Destruct)
4623 {
4624 return inst.m_PEAK_IPL_ImageSharpness_Destruct(handle);
4625 }
4626 else
4627 {
4628 throw std::runtime_error("Library not loaded!");
4629 }
4630}
4631
4633{
4634 auto& inst = instance();
4635 if(inst.m_PEAK_IPL_ImageSharpness_Measure)
4636 {
4637 return inst.m_PEAK_IPL_ImageSharpness_Measure(handle, imageHandle, calculated_value);
4638 }
4639 else
4640 {
4641 throw std::runtime_error("Library not loaded!");
4642 }
4643}
4644
4646{
4647 auto& inst = instance();
4648 if(inst.m_PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported)
4649 {
4650 return inst.m_PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported(handle, pixelFormat, isPixelFormatSupported);
4651 }
4652 else
4653 {
4654 throw std::runtime_error("Library not loaded!");
4655 }
4656}
4657
4659{
4660 auto& inst = instance();
4661 if(inst.m_PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList)
4662 {
4663 return inst.m_PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList(handle, pixelFormatList, pixelFormatListSize);
4664 }
4665 else
4666 {
4667 throw std::runtime_error("Library not loaded!");
4668 }
4669}
4670
4672{
4673 auto& inst = instance();
4674 if(inst.m_PEAK_IPL_ImageSharpness_SetAlgorithm)
4675 {
4676 return inst.m_PEAK_IPL_ImageSharpness_SetAlgorithm(handle, algorithm);
4677 }
4678 else
4679 {
4680 throw std::runtime_error("Library not loaded!");
4681 }
4682}
4683
4685{
4686 auto& inst = instance();
4687 if(inst.m_PEAK_IPL_ImageSharpness_GetAlgorithm)
4688 {
4689 return inst.m_PEAK_IPL_ImageSharpness_GetAlgorithm(handle, algorithm);
4690 }
4691 else
4692 {
4693 throw std::runtime_error("Library not loaded!");
4694 }
4695}
4696
4698{
4699 auto& inst = instance();
4700 if(inst.m_PEAK_IPL_ImageSharpness_GetROIMinimumSize)
4701 {
4702 return inst.m_PEAK_IPL_ImageSharpness_GetROIMinimumSize(handle, min_size);
4703 }
4704 else
4705 {
4706 throw std::runtime_error("Library not loaded!");
4707 }
4708}
4709
4711{
4712 auto& inst = instance();
4713 if(inst.m_PEAK_IPL_ImageSharpness_SetROIs)
4714 {
4715 return inst.m_PEAK_IPL_ImageSharpness_SetROIs(handle, roiList, roiListSize);
4716 }
4717 else
4718 {
4719 throw std::runtime_error("Library not loaded!");
4720 }
4721}
4722
4724{
4725 auto& inst = instance();
4726 if(inst.m_PEAK_IPL_ImageSharpness_GetROIs)
4727 {
4728 return inst.m_PEAK_IPL_ImageSharpness_GetROIs(handle, roiList, roiListSize);
4729 }
4730 else
4731 {
4732 throw std::runtime_error("Library not loaded!");
4733 }
4734}
4735
4737{
4738 auto& inst = instance();
4739 if(inst.m_PEAK_IPL_EdgeEnhancement_Construct)
4740 {
4741 return inst.m_PEAK_IPL_EdgeEnhancement_Construct(handle);
4742 }
4743 else
4744 {
4745 throw std::runtime_error("Library not loaded!");
4746 }
4747}
4748
4750{
4751 auto& inst = instance();
4752 if(inst.m_PEAK_IPL_EdgeEnhancement_Acquire)
4753 {
4754 return inst.m_PEAK_IPL_EdgeEnhancement_Acquire(handle);
4755 }
4756 else
4757 {
4758 throw std::runtime_error("Library not loaded!");
4759 }
4760}
4761
4763{
4764 auto& inst = instance();
4765 if(inst.m_PEAK_IPL_EdgeEnhancement_Destruct)
4766 {
4767 return inst.m_PEAK_IPL_EdgeEnhancement_Destruct(handle);
4768 }
4769 else
4770 {
4771 throw std::runtime_error("Library not loaded!");
4772 }
4773}
4774
4776{
4777 auto& inst = instance();
4778 if(inst.m_PEAK_IPL_EdgeEnhancement_ProcessInPlace)
4779 {
4780 return inst.m_PEAK_IPL_EdgeEnhancement_ProcessInPlace(handle, imageHandle);
4781 }
4782 else
4783 {
4784 throw std::runtime_error("Library not loaded!");
4785 }
4786}
4787
4789{
4790 auto& inst = instance();
4791 if(inst.m_PEAK_IPL_EdgeEnhancement_Process)
4792 {
4793 return inst.m_PEAK_IPL_EdgeEnhancement_Process(handle, imageHandle, outputImageHandle);
4794 }
4795 else
4796 {
4797 throw std::runtime_error("Library not loaded!");
4798 }
4799}
4800
4802{
4803 auto& inst = instance();
4804 if(inst.m_PEAK_IPL_EdgeEnhancement_GetFactorRange)
4805 {
4806 return inst.m_PEAK_IPL_EdgeEnhancement_GetFactorRange(handle, range);
4807 }
4808 else
4809 {
4810 throw std::runtime_error("Library not loaded!");
4811 }
4812}
4813
4815{
4816 auto& inst = instance();
4817 if(inst.m_PEAK_IPL_EdgeEnhancement_SetFactor)
4818 {
4819 return inst.m_PEAK_IPL_EdgeEnhancement_SetFactor(handle, factor);
4820 }
4821 else
4822 {
4823 throw std::runtime_error("Library not loaded!");
4824 }
4825}
4826
4828{
4829 auto& inst = instance();
4830 if(inst.m_PEAK_IPL_EdgeEnhancement_GetFactor)
4831 {
4832 return inst.m_PEAK_IPL_EdgeEnhancement_GetFactor(handle, factor);
4833 }
4834 else
4835 {
4836 throw std::runtime_error("Library not loaded!");
4837 }
4838}
4839
4841{
4842 auto& inst = instance();
4843 if(inst.m_PEAK_IPL_EdgeEnhancement_GetDefaultFactor)
4844 {
4845 return inst.m_PEAK_IPL_EdgeEnhancement_GetDefaultFactor(handle, factor);
4846 }
4847 else
4848 {
4849 throw std::runtime_error("Library not loaded!");
4850 }
4851}
4852
4854{
4855 auto& inst = instance();
4856 if(inst.m_PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported)
4857 {
4858 return inst.m_PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported(handle, pixelFormat, isPixelFormatSupported);
4859 }
4860 else
4861 {
4862 throw std::runtime_error("Library not loaded!");
4863 }
4864}
4865
4866} /* namespace dynamic */
4867} /* namespace ipl */
4868} /* namespace peak */
Definition peak_ipl_dynamic_loader.h:255
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:3761
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_Process(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3384
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_SetAlgorithm(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_SHARPNESS_ALGORITHM algorithm)
Definition peak_ipl_dynamic_loader.h:4671
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint64_t numPixels, uint64_t *size)
Definition peak_ipl_dynamic_loader.h:4112
static PEAK_IPL_C_API PEAK_IPL_Library_GetSIMDEnabled(PEAK_IPL_BOOL8 *enabled)
Definition peak_ipl_dynamic_loader.h:2188
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numSignificantBits)
Definition peak_ipl_dynamic_loader.h:4073
static PEAK_IPL_C_API PEAK_IPL_Decimation_GetDecimationX(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationXValue)
Definition peak_ipl_dynamic_loader.h:2890
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_Append(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:4333
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_Correct(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D *hotpixels, size_t hotpixelsSize, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:2448
static PEAK_IPL_C_API PEAK_IPL_Binning_SetBinningX(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningXValue)
Definition peak_ipl_dynamic_loader.h:2695
static PEAK_IPL_C_API PEAK_IPL_Decimation_Destruct(PEAK_IPL_DECIMATION_HANDLE decimationHandle)
Definition peak_ipl_dynamic_loader.h:2994
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_IsBayered(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isBayered)
Definition peak_ipl_dynamic_loader.h:4138
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:4645
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_Construct(PEAK_IPL_SHARPNESS_HANDLE *handle)
Definition peak_ipl_dynamic_loader.h:4593
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_Destruct(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:2500
static PEAK_IPL_C_API PEAK_IPL_Binning_SetBinningY(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningYValue)
Definition peak_ipl_dynamic_loader.h:2721
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numSignificantBits)
Definition peak_ipl_dynamic_loader.h:4034
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_SetROIs(PEAK_IPL_SHARPNESS_HANDLE handle, struct PEAK_IPL_SHARPNESS_ROI *roiList, size_t roiListSize)
Definition peak_ipl_dynamic_loader.h:4710
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_Destruct(PEAK_IPL_SHARPNESS_HANDLE handle)
Definition peak_ipl_dynamic_loader.h:4619
static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningY(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningYValue)
Definition peak_ipl_dynamic_loader.h:2734
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_GetGammaCorrectionMax(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, float *gammaMax)
Definition peak_ipl_dynamic_loader.h:3345
static PEAK_IPL_C_API PEAK_IPL_Gain_SetGreenGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float *greenGainValue)
Definition peak_ipl_dynamic_loader.h:3137
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetEndianness(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_ENDIANNESS *endianness)
Definition peak_ipl_dynamic_loader.h:4099
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_Destruct(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle)
Definition peak_ipl_dynamic_loader.h:3800
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle)
Definition peak_ipl_dynamic_loader.h:2487
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Queue_GetSize(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t *size)
Definition peak_ipl_dynamic_loader.h:4528
static PEAK_IPL_C_API PEAK_IPL_Gain_GetMasterGainMax(PEAK_IPL_GAIN_HANDLE gainHandle, float *masterGainMax)
Definition peak_ipl_dynamic_loader.h:3059
static PEAK_IPL_C_API PEAK_IPL_Gain_SetRedGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float *redGainValue)
Definition peak_ipl_dynamic_loader.h:3085
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_Rotate(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle, enum PEAK_IPL_IMAGE_TRANSFORMER_ROTATION_ANGLE_t rotationAngle)
Definition peak_ipl_dynamic_loader.h:3774
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Container_OptionRange(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void *min, void *max, void *inc)
Definition peak_ipl_dynamic_loader.h:4424
static PEAK_IPL_C_API PEAK_IPL_Binning_Acquire(PEAK_IPL_BINNING_HANDLE binningHandle)
Definition peak_ipl_dynamic_loader.h:2682
static PEAK_IPL_C_API PEAK_IPL_ImageWriter_Write(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:4255
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_Construct(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE *handle)
Definition peak_ipl_dynamic_loader.h:4736
static PEAK_IPL_C_API PEAK_IPL_Histogram_Destruct(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle)
Definition peak_ipl_dynamic_loader.h:3904
static PEAK_IPL_C_API PEAK_IPL_Gain_GetBlueGainMax(PEAK_IPL_GAIN_HANDLE gainHandle, float *blueGainMax)
Definition peak_ipl_dynamic_loader.h:3215
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_GetGammaCorrectionMin(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, float *gammaMin)
Definition peak_ipl_dynamic_loader.h:3358
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_HOTPIXELCORRECTION_SENSITIVITY *sensitivityLevel)
Definition peak_ipl_dynamic_loader.h:2383
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_Construct(PEAK_IPL_IMAGE_CONVERTER_HANDLE *imageConverterHandle)
Definition peak_ipl_dynamic_loader.h:2227
static PEAK_IPL_C_API PEAK_IPL_Image_GetHeight(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t *height)
Definition peak_ipl_dynamic_loader.h:3475
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:3371
static PEAK_IPL_C_API PEAK_IPL_Image_GetWidth(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t *width)
Definition peak_ipl_dynamic_loader.h:3462
static PEAK_IPL_C_API PEAK_IPL_Library_SetMaxConcurrentThreads(size_t concurrentThreads)
Definition peak_ipl_dynamic_loader.h:2149
static PEAK_IPL_C_API PEAK_IPL_Gain_ProcessInPlace(PEAK_IPL_GAIN_HANDLE gainHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:3267
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetMaximumValuePerChannel(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint32_t *channelMaximumValue)
Definition peak_ipl_dynamic_loader.h:4060
static PEAK_IPL_C_API PEAK_IPL_Gain_GetBlueGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float *blueGainValue)
Definition peak_ipl_dynamic_loader.h:3202
static PEAK_IPL_C_API PEAK_IPL_Library_SetSIMDEnabled(PEAK_IPL_BOOL8 enabled)
Definition peak_ipl_dynamic_loader.h:2201
static PEAK_IPL_C_API PEAK_IPL_Binning_SetBinningMode(PEAK_IPL_BINNING_HANDLE binningHandle, PEAK_IPL_BINNINGMODE *mode)
Definition peak_ipl_dynamic_loader.h:2799
static PEAK_IPL_C_API PEAK_IPL_Image_GetTimestamp(PEAK_IPL_IMAGE_HANDLE imageHandle, uint64_t *timestamp_ns)
Definition peak_ipl_dynamic_loader.h:3683
static PEAK_IPL_C_API PEAK_IPL_Gain_GetGreenGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float *greenGainValue)
Definition peak_ipl_dynamic_loader.h:3150
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_Acquire(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:3306
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numStorageBits)
Definition peak_ipl_dynamic_loader.h:4047
static PEAK_IPL_C_API PEAK_IPL_Decimation_Process(PEAK_IPL_DECIMATION_HANDLE decimationHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:2981
static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningMin(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningMin)
Definition peak_ipl_dynamic_loader.h:2747
static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningX(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningXValue)
Definition peak_ipl_dynamic_loader.h:2708
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_GetEncodedFrames(PEAK_IPL_VIDEO_HANDLE videoHandle, uint64_t *numFrames)
Definition peak_ipl_dynamic_loader.h:4463
static PEAK_IPL_C_API PEAK_IPL_Histogram_GetPixelFormat(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, PEAK_IPL_PIXEL_FORMAT *pixelFormat)
Definition peak_ipl_dynamic_loader.h:3839
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_ProcessInPlace(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:3397
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_Acquire(PEAK_IPL_SHARPNESS_HANDLE handle)
Definition peak_ipl_dynamic_loader.h:4606
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_GetFactor(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, uint32_t *factor)
Definition peak_ipl_dynamic_loader.h:4827
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_ProcessInPlace(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:2591
static PEAK_IPL_C_API PEAK_IPL_Decimation_IsPixelformatSupported(PEAK_IPL_DECIMATION_HANDLE decimationHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:2968
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_GetDefaultFactor(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, uint32_t *factor)
Definition peak_ipl_dynamic_loader.h:4840
static PEAK_IPL_C_API PEAK_IPL_Binning_Destruct(PEAK_IPL_BINNING_HANDLE binningHandle)
Definition peak_ipl_dynamic_loader.h:2838
static PEAK_IPL_C_API PEAK_IPL_Image_Construct(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE *imageHandle)
Definition peak_ipl_dynamic_loader.h:3423
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Container_GetOption(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void *value, size_t count, size_t *outCount)
Definition peak_ipl_dynamic_loader.h:4411
static PEAK_IPL_C_API PEAK_IPL_Image_ConvertToWithFactor(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, double factor, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3566
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_PreAllocateConversion(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, size_t width, size_t height, size_t imageCount)
Definition peak_ipl_dynamic_loader.h:2253
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numStorageBits)
Definition peak_ipl_dynamic_loader.h:4086
static PEAK_IPL_C_API PEAK_IPL_Library_GetVersionMajor(uint32_t *libraryVersionMajor)
Definition peak_ipl_dynamic_loader.h:2097
static bool isLoaded()
Definition peak_ipl_dynamic_loader.h:756
static PEAK_IPL_C_API PEAK_IPL_Gain_GetRedGainMin(PEAK_IPL_GAIN_HANDLE gainHandle, float *redGainMin)
Definition peak_ipl_dynamic_loader.h:3124
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Encoder_SetOption(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, const void *value, size_t count)
Definition peak_ipl_dynamic_loader.h:4346
static PEAK_IPL_C_API PEAK_IPL_Image_SetTimestamp(PEAK_IPL_IMAGE_HANDLE imageHandle, uint64_t timestamp_ns)
Definition peak_ipl_dynamic_loader.h:3670
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Encoder_OptionRange(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void *min, void *max, void *inc)
Definition peak_ipl_dynamic_loader.h:4372
static PEAK_IPL_C_API PEAK_IPL_Image_ConstructFromBuffer(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint8_t *buffer, uint64_t bufferSize, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE *imageHandle)
Definition peak_ipl_dynamic_loader.h:3449
static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningMode(PEAK_IPL_BINNING_HANDLE binningHandle, PEAK_IPL_BINNINGMODE *mode)
Definition peak_ipl_dynamic_loader.h:2812
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_Acquire(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:2526
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_IsFloat(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isFloat)
Definition peak_ipl_dynamic_loader.h:4177
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_GetDroppedFrames(PEAK_IPL_VIDEO_HANDLE videoHandle, uint64_t *numFrames)
Definition peak_ipl_dynamic_loader.h:4476
~DynamicLoader()
Definition peak_ipl_dynamic_loader.h:748
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_Destruct(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle)
Definition peak_ipl_dynamic_loader.h:4762
static PEAK_IPL_C_API PEAK_IPL_Library_GetVersionSubminor(uint32_t *libraryVersionSubminor)
Definition peak_ipl_dynamic_loader.h:2123
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_Construct(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE *adaptiveHotpixelCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:2344
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_MirrorUpDown(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3696
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_Convert(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:2305
static PEAK_IPL_C_API PEAK_IPL_Binning_Construct(PEAK_IPL_BINNING_HANDLE *binningHandle)
Definition peak_ipl_dynamic_loader.h:2669
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t timeout_ms)
Definition peak_ipl_dynamic_loader.h:4567
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t timeout_ms)
Definition peak_ipl_dynamic_loader.h:4580
static PEAK_IPL_C_API PEAK_IPL_Library_GetVersionMinor(uint32_t *libraryVersionMinor)
Definition peak_ipl_dynamic_loader.h:2110
static PEAK_IPL_C_API PEAK_IPL_Gain_Process(PEAK_IPL_GAIN_HANDLE gainHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3254
static PEAK_IPL_C_API PEAK_IPL_Decimation_SetDecimationY(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationYValue)
Definition peak_ipl_dynamic_loader.h:2903
static PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsBMP(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:4216
static PEAK_IPL_C_API PEAK_IPL_ImageReader_Read(const char *filePath, size_t filePathSize, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:4268
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetNumChannels(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numChannels)
Definition peak_ipl_dynamic_loader.h:4021
static PEAK_IPL_C_API PEAK_IPL_Library_SetMultiThreadingEnabled(PEAK_IPL_BOOL8 enabled)
Definition peak_ipl_dynamic_loader.h:2175
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT *outputPixelFormats, size_t *outputPixelFormatsSize)
Definition peak_ipl_dynamic_loader.h:2292
static PEAK_IPL_C_API PEAK_IPL_Decimation_Acquire(PEAK_IPL_DECIMATION_HANDLE decimationHandle)
Definition peak_ipl_dynamic_loader.h:2864
static PEAK_IPL_C_API PEAK_IPL_Gain_Destruct(PEAK_IPL_GAIN_HANDLE gainHandle)
Definition peak_ipl_dynamic_loader.h:3280
static PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsPNG(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:4229
static PEAK_IPL_C_API PEAK_IPL_Image_GetPixelFormat(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT *pixelFormat)
Definition peak_ipl_dynamic_loader.h:3514
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_Destruct(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle)
Definition peak_ipl_dynamic_loader.h:2331
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_ConvertToBuffer(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t *outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:2318
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_IsCoord3D(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isCoord3D)
Definition peak_ipl_dynamic_loader.h:4164
static PEAK_IPL_C_API PEAK_IPL_Histogram_GetPixelCountForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t *pixelCount)
Definition peak_ipl_dynamic_loader.h:3878
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, struct PEAK_IPL_POINT_2D *hotpixels, size_t *hotpixelsSize)
Definition peak_ipl_dynamic_loader.h:2435
static PEAK_IPL_C_API PEAK_IPL_Gain_GetIsPixelFormatSupported(PEAK_IPL_GAIN_HANDLE gainHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:3241
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, uint32_t *gainFactorPercent)
Definition peak_ipl_dynamic_loader.h:2409
static PEAK_IPL_C_API PEAK_IPL_Gain_GetMasterGainMin(PEAK_IPL_GAIN_HANDLE gainHandle, float *masterGainMin)
Definition peak_ipl_dynamic_loader.h:3072
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_Acquire(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle)
Definition peak_ipl_dynamic_loader.h:2240
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:2565
static PEAK_IPL_C_API PEAK_IPL_Gain_GetRedGainMax(PEAK_IPL_GAIN_HANDLE gainHandle, float *redGainMax)
Definition peak_ipl_dynamic_loader.h:3111
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:3748
static PEAK_IPL_C_API PEAK_IPL_Gain_SetBlueGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float *blueGainValue)
Definition peak_ipl_dynamic_loader.h:3189
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_MirrorLeftRight(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3709
static PEAK_IPL_C_API PEAK_IPL_Histogram_GetPixelSumForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t *pixelSum)
Definition peak_ipl_dynamic_loader.h:3865
static PEAK_IPL_C_API PEAK_IPL_Decimation_ExpectedOutputSize(PEAK_IPL_DECIMATION_HANDLE decimationHandle, size_t *outputWidth, size_t *outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat)
Definition peak_ipl_dynamic_loader.h:2955
static PEAK_IPL_C_API PEAK_IPL_PixelLine_Acquire(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle)
Definition peak_ipl_dynamic_loader.h:3930
static PEAK_IPL_C_API PEAK_IPL_Decimation_SetDecimationX(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationXValue)
Definition peak_ipl_dynamic_loader.h:2877
static PEAK_IPL_C_API PEAK_IPL_Image_ConvertTo(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3553
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_Process(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:4788
static PEAK_IPL_C_API PEAK_IPL_Binning_GetBinningMax(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningMax)
Definition peak_ipl_dynamic_loader.h:2760
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:4853
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_SetConversionMode(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_CONVERSION_MODE conversionMode)
Definition peak_ipl_dynamic_loader.h:2279
static PEAK_IPL_C_API PEAK_IPL_Image_GetData(PEAK_IPL_IMAGE_HANDLE imageHandle, uint8_t **data)
Definition peak_ipl_dynamic_loader.h:3527
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Queue_SetSize(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t size)
Definition peak_ipl_dynamic_loader.h:4515
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetSaturation(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *saturation)
Definition peak_ipl_dynamic_loader.h:2617
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetSaturationMin(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *saturationMin)
Definition peak_ipl_dynamic_loader.h:2630
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:2474
static PEAK_IPL_C_API PEAK_IPL_PixelLine_Destruct(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle)
Definition peak_ipl_dynamic_loader.h:4008
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_GetAlgorithm(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_SHARPNESS_ALGORITHM *algorithm)
Definition peak_ipl_dynamic_loader.h:4684
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_SetGammaCorrectionValue(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, float *gammaValue)
Definition peak_ipl_dynamic_loader.h:3319
static PEAK_IPL_C_API PEAK_IPL_Decimation_GetDecimationMin(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationMin)
Definition peak_ipl_dynamic_loader.h:2929
static PEAK_IPL_C_API PEAK_IPL_Binning_Process(PEAK_IPL_BINNING_HANDLE binningHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:2825
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_MirrorUpDownInPlace(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:3735
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_GetROIs(PEAK_IPL_SHARPNESS_HANDLE handle, struct PEAK_IPL_SHARPNESS_ROI *roiList, size_t *roiListSize)
Definition peak_ipl_dynamic_loader.h:4723
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3722
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_Acquire(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:2357
static PEAK_IPL_C_API PEAK_IPL_Gain_Acquire(PEAK_IPL_GAIN_HANDLE gainHandle)
Definition peak_ipl_dynamic_loader.h:3020
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Queue_GetRange(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t *minSize, int32_t *maxSize)
Definition peak_ipl_dynamic_loader.h:4541
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_GetROIMinimumSize(PEAK_IPL_SHARPNESS_HANDLE handle, struct PEAK_IPL_SIZE_2D *min_size)
Definition peak_ipl_dynamic_loader.h:4697
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_IsPacked(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPacked)
Definition peak_ipl_dynamic_loader.h:4125
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder(PEAK_IPL_VIDEO_ENCODER encoder, PEAK_IPL_VIDEO_CONTAINER *containers, size_t *size)
Definition peak_ipl_dynamic_loader.h:4437
static PEAK_IPL_C_API PEAK_IPL_Histogram_Construct(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_HISTOGRAM_HANDLE *histogramHandle)
Definition peak_ipl_dynamic_loader.h:3813
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_Process(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:2578
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_HOTPIXELCORRECTION_SENSITIVITY sensitivityLevel)
Definition peak_ipl_dynamic_loader.h:2370
static PEAK_IPL_C_API PEAK_IPL_Gain_Construct(PEAK_IPL_GAIN_HANDLE *gainHandle)
Definition peak_ipl_dynamic_loader.h:3007
static PEAK_IPL_C_API PEAK_IPL_Image_Destruct(PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:3631
static PEAK_IPL_C_API PEAK_IPL_Image_Scale(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_SIZE_2D *size, PEAK_IPL_INTERPOLATION_ALGORITHM algorithm, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3579
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_Detect(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle)
Definition peak_ipl_dynamic_loader.h:2422
static PEAK_IPL_C_API PEAK_IPL_Gain_GetGreenGainMax(PEAK_IPL_GAIN_HANDLE gainHandle, float *greenGainMax)
Definition peak_ipl_dynamic_loader.h:3163
static PEAK_IPL_C_API PEAK_IPL_Gain_SetMasterGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float *masterGainValue)
Definition peak_ipl_dynamic_loader.h:3033
static PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsRAW(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:4203
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_IsOpen(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_BOOL8 *isOpen)
Definition peak_ipl_dynamic_loader.h:4307
static PEAK_IPL_C_API PEAK_IPL_Library_GetMaxConcurrentThreads(size_t *concurrentThreads)
Definition peak_ipl_dynamic_loader.h:2136
static PEAK_IPL_C_API PEAK_IPL_Image_Clone(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3540
static PEAK_IPL_C_API PEAK_IPL_Decimation_GetDecimationY(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationYValue)
Definition peak_ipl_dynamic_loader.h:2916
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_RotateInPlace(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, enum PEAK_IPL_IMAGE_TRANSFORMER_ROTATION_ANGLE_t rotationAngle)
Definition peak_ipl_dynamic_loader.h:3787
static PEAK_IPL_C_API PEAK_IPL_Decimation_GetDecimationMax(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationMax)
Definition peak_ipl_dynamic_loader.h:2942
static PEAK_IPL_C_API PEAK_IPL_PixelLine_GetOrientation(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, PEAK_IPL_ORIENTATION *orientation)
Definition peak_ipl_dynamic_loader.h:3956
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_Construct(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE *imageTransformerHandle)
Definition peak_ipl_dynamic_loader.h:3644
static PEAK_IPL_C_API PEAK_IPL_Binning_ExpectedOutputSize(PEAK_IPL_BINNING_HANDLE binningHandle, size_t *outputWidth, size_t *outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat)
Definition peak_ipl_dynamic_loader.h:2773
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D *hotpixels, size_t hotpixelsSize)
Definition peak_ipl_dynamic_loader.h:2461
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats(PEAK_IPL_VIDEO_ENCODER encoder, PEAK_IPL_PIXEL_FORMAT *pixelFormatList, size_t *pixelFormatListSize)
Definition peak_ipl_dynamic_loader.h:4450
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_ProcessInPlace(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:4775
static PEAK_IPL_C_API PEAK_IPL_Binning_IsPixelformatSupported(PEAK_IPL_BINNING_HANDLE binningHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:2786
static PEAK_IPL_C_API PEAK_IPL_Library_GetMultiThreadingEnabled(PEAK_IPL_BOOL8 *enabled)
Definition peak_ipl_dynamic_loader.h:2162
static PEAK_IPL_C_API PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, uint32_t gainFactorPercent)
Definition peak_ipl_dynamic_loader.h:2396
static PEAK_IPL_C_API PEAK_IPL_ImageReaderRead_ReadAsPixelFormat(const char *filePath, size_t filePathSize, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:4281
static PEAK_IPL_C_API PEAK_IPL_PixelLine_GetValuesForChannel(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t channelIndex, uint32_t *values, size_t *valuesSize)
Definition peak_ipl_dynamic_loader.h:3995
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_Measure(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_IMAGE_HANDLE imageHandle, double *calculated_value)
Definition peak_ipl_dynamic_loader.h:4632
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_SetSaturation(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float saturation)
Definition peak_ipl_dynamic_loader.h:2656
static PEAK_IPL_C_API PEAK_IPL_Gain_GetGreenGainMin(PEAK_IPL_GAIN_HANDLE gainHandle, float *greenGainMin)
Definition peak_ipl_dynamic_loader.h:3176
static PEAK_IPL_C_API PEAK_IPL_Image_ScaleInto(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_SIZE_2D *size, uint8_t *buffer, size_t bufferSize, PEAK_IPL_INTERPOLATION_ALGORITHM algorithm)
Definition peak_ipl_dynamic_loader.h:3592
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_GetFileSize(PEAK_IPL_VIDEO_HANDLE videoHandle, uint64_t *fileSize)
Definition peak_ipl_dynamic_loader.h:4489
static PEAK_IPL_C_API PEAK_IPL_Gain_GetRedGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float *redGainValue)
Definition peak_ipl_dynamic_loader.h:3098
static PEAK_IPL_C_API PEAK_IPL_Histogram_Acquire(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle)
Definition peak_ipl_dynamic_loader.h:3826
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetColorCorrectionFactors(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *colorCorrectorFactors, size_t *colorCorrectorFactorsSize)
Definition peak_ipl_dynamic_loader.h:2552
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_Destruct(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:3410
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Queue_GetQueued(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t *queued)
Definition peak_ipl_dynamic_loader.h:4554
static PEAK_IPL_C_API PEAK_IPL_Histogram_GetNumChannels(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t *numChannels)
Definition peak_ipl_dynamic_loader.h:3852
static PEAK_IPL_C_API PEAK_IPL_PixelLine_GetNumChannels(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t *numChannels)
Definition peak_ipl_dynamic_loader.h:3982
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_Close(PEAK_IPL_VIDEO_HANDLE videoHandle)
Definition peak_ipl_dynamic_loader.h:4320
static PEAK_IPL_C_API PEAK_IPL_Decimation_Construct(PEAK_IPL_DECIMATION_HANDLE *decimationHandle)
Definition peak_ipl_dynamic_loader.h:2851
static PEAK_IPL_C_API PEAK_IPL_ImageWriter_WriteAsJPG(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:4242
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_Destruct(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:2604
static PEAK_IPL_C_API PEAK_IPL_ImageTransformer_Acquire(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle)
Definition peak_ipl_dynamic_loader.h:3657
static PEAK_IPL_C_API PEAK_IPL_Image_ConvertToBuffer(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t *outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3618
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_Open(PEAK_IPL_VIDEO_HANDLE *videoHandle, const char *filePath, PEAK_IPL_VIDEO_CONTAINER container, PEAK_IPL_VIDEO_ENCODER encoder)
Definition peak_ipl_dynamic_loader.h:4294
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_GetBayerPattern(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BAYER_PATTERN *pattern)
Definition peak_ipl_dynamic_loader.h:4190
static PEAK_IPL_C_API PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_PIXEL_FORMAT *pixelFormatList, size_t *pixelFormatListSize)
Definition peak_ipl_dynamic_loader.h:4658
static PEAK_IPL_C_API PEAK_IPL_Image_Acquire(PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:3436
static PEAK_IPL_C_API PEAK_IPL_Gain_GetMasterGainValue(PEAK_IPL_GAIN_HANDLE gainHandle, float *masterGainValue)
Definition peak_ipl_dynamic_loader.h:3046
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Encoder_GetOption(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void *value, size_t count, size_t *outCount)
Definition peak_ipl_dynamic_loader.h:4359
static PEAK_IPL_C_API PEAK_IPL_Image_Crop(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_POINT_2D *pos, const struct PEAK_IPL_SIZE_2D *size, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:3605
static PEAK_IPL_C_API PEAK_IPL_Image_GetPixelPointer(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t xPos, size_t yPos, uint8_t **pixelPointer)
Definition peak_ipl_dynamic_loader.h:3488
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_Construct(PEAK_IPL_COLOR_CORRECTOR_HANDLE *colorCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:2513
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Video_ResetFrameCounters(PEAK_IPL_VIDEO_HANDLE videoHandle)
Definition peak_ipl_dynamic_loader.h:4502
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_SetFactor(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, uint32_t factor)
Definition peak_ipl_dynamic_loader.h:4814
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_GetFactorRange(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, struct PEAK_IPL_RANGE *range)
Definition peak_ipl_dynamic_loader.h:4801
static PEAK_IPL_C_API PEAK_IPL_PixelLine_GetOffset(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t *offset)
Definition peak_ipl_dynamic_loader.h:3969
static PEAK_IPL_C_API PEAK_IPL_PixelFormat_IsYUV(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isYUV)
Definition peak_ipl_dynamic_loader.h:4151
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_Container_SetOption(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_CONTAINER_OPTION option, const void *value, size_t count)
Definition peak_ipl_dynamic_loader.h:4398
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_Construct(PEAK_IPL_GAMMA_CORRECTOR_HANDLE *gammaCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:3293
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_GetSaturationMax(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *saturationMax)
Definition peak_ipl_dynamic_loader.h:2643
static PEAK_IPL_C_API PEAK_IPL_Gain_GetBlueGainMin(PEAK_IPL_GAIN_HANDLE gainHandle, float *blueGainMin)
Definition peak_ipl_dynamic_loader.h:3228
static PEAK_IPL_C_API PEAK_IPL_Histogram_GetBinsForChannel(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t *bins, size_t *binsSize)
Definition peak_ipl_dynamic_loader.h:3891
static PEAK_IPL_C_API PEAK_IPL_Library_GetLastError(PEAK_IPL_RETURN_CODE *lastErrorCode, char *lastErrorDescription, size_t *lastErrorDescriptionSize)
Definition peak_ipl_dynamic_loader.h:2214
static PEAK_IPL_C_API PEAK_IPL_Image_GetByteCount(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t *byteCount)
Definition peak_ipl_dynamic_loader.h:3501
static PEAK_IPL_C_API PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer(PEAK_IPL_VIDEO_CONTAINER container, PEAK_IPL_VIDEO_ENCODER *encoders, size_t *size)
Definition peak_ipl_dynamic_loader.h:4385
static PEAK_IPL_C_API PEAK_IPL_ColorCorrector_SetColorCorrectionFactors(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *colorCorrectorFactors)
Definition peak_ipl_dynamic_loader.h:2539
static PEAK_IPL_C_API PEAK_IPL_GammaCorrector_GetGammaCorrectionValue(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, float *gammaValue)
Definition peak_ipl_dynamic_loader.h:3332
static PEAK_IPL_C_API PEAK_IPL_PixelLine_GetPixelFormat(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, PEAK_IPL_PIXEL_FORMAT *pixelFormat)
Definition peak_ipl_dynamic_loader.h:3943
static PEAK_IPL_C_API PEAK_IPL_PixelLine_Construct(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_ORIENTATION orientation, size_t offset, PEAK_IPL_PIXEL_LINE_HANDLE *pixelLineHandle)
Definition peak_ipl_dynamic_loader.h:3917
static PEAK_IPL_C_API PEAK_IPL_ImageConverter_GetConversionMode(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_CONVERSION_MODE *conversionMode)
Definition peak_ipl_dynamic_loader.h:2266
static PEAK_IPL_C_API PEAK_IPL_EdgeEnhancement_Acquire(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle)
Definition peak_ipl_dynamic_loader.h:4749
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_ProcessInPlace)(PEAK_IPL_GAIN_HANDLE gainHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:129
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_GetFactor)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, uint32_t *factor)
Definition peak_ipl_dynamic_loader.h:249
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_Construct)(PEAK_IPL_IMAGE_CONVERTER_HANDLE *imageConverterHandle)
Definition peak_ipl_dynamic_loader.h:49
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_SetMaxConcurrentThreads)(size_t concurrentThreads)
Definition peak_ipl_dynamic_loader.h:43
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_SetGammaCorrectionValue)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, float *gammaValue)
Definition peak_ipl_dynamic_loader.h:133
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_ResetFrameCounters)(PEAK_IPL_VIDEO_HANDLE videoHandle)
Definition peak_ipl_dynamic_loader.h:224
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_GetMaxConcurrentThreads)(size_t *concurrentThreads)
Definition peak_ipl_dynamic_loader.h:42
PEAK_IPL_C_API(* dyn_PEAK_IPL_Histogram_GetPixelCountForChannel)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t *pixelCount)
Definition peak_ipl_dynamic_loader.h:176
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_Construct)(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE *imageHandle)
Definition peak_ipl_dynamic_loader.h:141
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_Destruct)(PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:157
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_IsPixelformatSupported)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:106
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_SetColorCorrectionFactors)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *colorCorrectorFactors)
Definition peak_ipl_dynamic_loader.h:73
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_MirrorLeftRightInPlace)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:166
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetIsPixelFormatSupported)(PEAK_IPL_GAIN_HANDLE gainHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:127
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_SetFactor)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, uint32_t factor)
Definition peak_ipl_dynamic_loader.h:248
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_GetBinningMin)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningMin)
Definition peak_ipl_dynamic_loader.h:89
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_GetEndianness)(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_ENDIANNESS *endianness)
Definition peak_ipl_dynamic_loader.h:193
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_Destruct)(PEAK_IPL_DECIMATION_HANDLE decimationHandle)
Definition peak_ipl_dynamic_loader.h:108
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_GetFileSize)(PEAK_IPL_VIDEO_HANDLE videoHandle, uint64_t *fileSize)
Definition peak_ipl_dynamic_loader.h:223
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Container_OptionRange)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void *min, void *max, void *inc)
Definition peak_ipl_dynamic_loader.h:218
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_ProcessInPlace)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:245
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_GetWidth)(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t *width)
Definition peak_ipl_dynamic_loader.h:144
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Queue_GetRange)(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t *minSize, int32_t *maxSize)
Definition peak_ipl_dynamic_loader.h:227
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelLine_GetNumChannels)(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t *numChannels)
Definition peak_ipl_dynamic_loader.h:184
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageWriter_WriteAsRAW)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:201
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_SetGainFactorPercent)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, uint32_t gainFactorPercent)
Definition peak_ipl_dynamic_loader.h:62
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_Acquire)(PEAK_IPL_SHARPNESS_HANDLE handle)
Definition peak_ipl_dynamic_loader.h:232
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_GetDecimationMax)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationMax)
Definition peak_ipl_dynamic_loader.h:104
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_GetROIs)(PEAK_IPL_SHARPNESS_HANDLE handle, struct PEAK_IPL_SHARPNESS_ROI *roiList, size_t *roiListSize)
Definition peak_ipl_dynamic_loader.h:241
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_GetVersionMinor)(uint32_t *libraryVersionMinor)
Definition peak_ipl_dynamic_loader.h:40
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_SetTimestamp)(PEAK_IPL_IMAGE_HANDLE imageHandle, uint64_t timestamp_ns)
Definition peak_ipl_dynamic_loader.h:160
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_IsPacked)(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPacked)
Definition peak_ipl_dynamic_loader.h:195
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_GetPixelFormat)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT *pixelFormat)
Definition peak_ipl_dynamic_loader.h:148
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_GetMaximumValuePerChannel)(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint32_t *channelMaximumValue)
Definition peak_ipl_dynamic_loader.h:190
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetGreenGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float *greenGainValue)
Definition peak_ipl_dynamic_loader.h:120
PEAK_IPL_C_API(* dyn_PEAK_IPL_Histogram_GetPixelSumForChannel)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t *pixelSum)
Definition peak_ipl_dynamic_loader.h:175
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRightInPlace)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:167
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelLine_Destruct)(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle)
Definition peak_ipl_dynamic_loader.h:186
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Detect)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle)
Definition peak_ipl_dynamic_loader.h:64
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_GetHeight)(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t *height)
Definition peak_ipl_dynamic_loader.h:145
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_Scale)(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_SIZE_2D *size, PEAK_IPL_INTERPOLATION_ALGORITHM algorithm, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:153
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelLine_GetOffset)(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t *offset)
Definition peak_ipl_dynamic_loader.h:183
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_SetDecimationX)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationXValue)
Definition peak_ipl_dynamic_loader.h:99
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageWriter_Write)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:205
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_SetBinningY)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningYValue)
Definition peak_ipl_dynamic_loader.h:87
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_SetAlgorithm)(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_SHARPNESS_ALGORITHM algorithm)
Definition peak_ipl_dynamic_loader.h:237
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_Process)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:246
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelLine_Construct)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_ORIENTATION orientation, size_t offset, PEAK_IPL_PIXEL_LINE_HANDLE *pixelLineHandle)
Definition peak_ipl_dynamic_loader.h:179
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_Destruct)(PEAK_IPL_GAIN_HANDLE gainHandle)
Definition peak_ipl_dynamic_loader.h:130
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_GetMultiThreadingEnabled)(PEAK_IPL_BOOL8 *enabled)
Definition peak_ipl_dynamic_loader.h:44
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_GetPixelPointer)(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t xPos, size_t yPos, uint8_t **pixelPointer)
Definition peak_ipl_dynamic_loader.h:146
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_Acquire)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:132
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageWriter_WriteAsJPG)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:204
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Encoder_GetOption)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void *value, size_t count, size_t *outCount)
Definition peak_ipl_dynamic_loader.h:213
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Correct)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D *hotpixels, size_t hotpixelsSize, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:66
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_GetSIMDEnabled)(PEAK_IPL_BOOL8 *enabled)
Definition peak_ipl_dynamic_loader.h:46
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_Process)(PEAK_IPL_GAIN_HANDLE gainHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:128
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_WaitUntilFrameDone)(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t timeout_ms)
Definition peak_ipl_dynamic_loader.h:229
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_Process)(PEAK_IPL_BINNING_HANDLE binningHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:95
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_GetIsPixelFormatSupported)(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:235
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelLine_GetPixelFormat)(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, PEAK_IPL_PIXEL_FORMAT *pixelFormat)
Definition peak_ipl_dynamic_loader.h:181
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_Destruct)(PEAK_IPL_SHARPNESS_HANDLE handle)
Definition peak_ipl_dynamic_loader.h:233
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_Construct)(PEAK_IPL_COLOR_CORRECTOR_HANDLE *colorCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:71
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_Destruct)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle)
Definition peak_ipl_dynamic_loader.h:244
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Destruct)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:70
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetMasterGainMin)(PEAK_IPL_GAIN_HANDLE gainHandle, float *masterGainMin)
Definition peak_ipl_dynamic_loader.h:114
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_ScaleInto)(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_SIZE_2D *size, uint8_t *buffer, size_t bufferSize, PEAK_IPL_INTERPOLATION_ALGORITHM algorithm)
Definition peak_ipl_dynamic_loader.h:154
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Construct)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE *adaptiveHotpixelCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:58
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_CalculateStorageSizeOfPixels)(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint64_t numPixels, uint64_t *size)
Definition peak_ipl_dynamic_loader.h:194
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetBlueGainMin)(PEAK_IPL_GAIN_HANDLE gainHandle, float *blueGainMin)
Definition peak_ipl_dynamic_loader.h:126
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_Construct)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE *imageTransformerHandle)
Definition peak_ipl_dynamic_loader.h:158
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_GetDefaultFactor)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, uint32_t *factor)
Definition peak_ipl_dynamic_loader.h:250
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_Open)(PEAK_IPL_VIDEO_HANDLE *videoHandle, const char *filePath, PEAK_IPL_VIDEO_CONTAINER container, PEAK_IPL_VIDEO_ENCODER encoder)
Definition peak_ipl_dynamic_loader.h:208
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_ConvertToWithFactor)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, double factor, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:152
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_GetVersionSubminor)(uint32_t *libraryVersionSubminor)
Definition peak_ipl_dynamic_loader.h:41
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetRedGainMax)(PEAK_IPL_GAIN_HANDLE gainHandle, float *redGainMax)
Definition peak_ipl_dynamic_loader.h:117
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetMasterGainMax)(PEAK_IPL_GAIN_HANDLE gainHandle, float *masterGainMax)
Definition peak_ipl_dynamic_loader.h:113
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Encoder_GetSupportedPixelFormats)(PEAK_IPL_VIDEO_ENCODER encoder, PEAK_IPL_PIXEL_FORMAT *pixelFormatList, size_t *pixelFormatListSize)
Definition peak_ipl_dynamic_loader.h:220
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_GetConversionMode)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_CONVERSION_MODE *conversionMode)
Definition peak_ipl_dynamic_loader.h:52
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_Acquire)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:59
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_IsPixelformatSupported)(PEAK_IPL_BINNING_HANDLE binningHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:92
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_Destruct)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle)
Definition peak_ipl_dynamic_loader.h:170
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_ConvertTo)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:151
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetMasterGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float *masterGainValue)
Definition peak_ipl_dynamic_loader.h:112
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_GetSaturation)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *saturation)
Definition peak_ipl_dynamic_loader.h:79
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptive)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:68
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_Process)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:138
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_SetConversionMode)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_CONVERSION_MODE conversionMode)
Definition peak_ipl_dynamic_loader.h:53
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_Clone)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:150
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_Measure)(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_IMAGE_HANDLE imageHandle, double *calculated_value)
Definition peak_ipl_dynamic_loader.h:234
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelLine_Acquire)(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle)
Definition peak_ipl_dynamic_loader.h:180
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionMin)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, float *gammaMin)
Definition peak_ipl_dynamic_loader.h:136
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_Acquire)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle)
Definition peak_ipl_dynamic_loader.h:243
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_Destruct)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:140
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Queue_SetSize)(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t size)
Definition peak_ipl_dynamic_loader.h:225
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetRedGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float *redGainValue)
Definition peak_ipl_dynamic_loader.h:116
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerChannel)(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numSignificantBits)
Definition peak_ipl_dynamic_loader.h:188
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_Construct)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE *gammaCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:131
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_GetSaturationMax)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *saturationMax)
Definition peak_ipl_dynamic_loader.h:81
PEAK_IPL_C_API(* dyn_PEAK_IPL_Histogram_Acquire)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle)
Definition peak_ipl_dynamic_loader.h:172
PEAK_IPL_C_API(* dyn_PEAK_IPL_Histogram_GetBinsForChannel)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t channelIndex, uint64_t *bins, size_t *binsSize)
Definition peak_ipl_dynamic_loader.h:177
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_GetDecimationMin)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationMin)
Definition peak_ipl_dynamic_loader.h:103
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_Acquire)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle)
Definition peak_ipl_dynamic_loader.h:159
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_Construct)(PEAK_IPL_BINNING_HANDLE *binningHandle)
Definition peak_ipl_dynamic_loader.h:83
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_SetSIMDEnabled)(PEAK_IPL_BOOL8 enabled)
Definition peak_ipl_dynamic_loader.h:47
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelLine_GetValuesForChannel)(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, size_t channelIndex, uint32_t *values, size_t *valuesSize)
Definition peak_ipl_dynamic_loader.h:185
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_GetVersionMajor)(uint32_t *libraryVersionMajor)
Definition peak_ipl_dynamic_loader.h:39
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_SetSaturation)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float saturation)
Definition peak_ipl_dynamic_loader.h:82
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_GetSupportedEncodersForAContainer)(PEAK_IPL_VIDEO_CONTAINER container, PEAK_IPL_VIDEO_ENCODER *encoders, size_t *size)
Definition peak_ipl_dynamic_loader.h:215
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_ProcessInPlace)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:139
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Container_GetOption)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void *value, size_t count, size_t *outCount)
Definition peak_ipl_dynamic_loader.h:217
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectAdaptiveInPlace)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle)
Definition peak_ipl_dynamic_loader.h:69
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_MirrorLeftRight)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:163
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetBlueGainMax)(PEAK_IPL_GAIN_HANDLE gainHandle, float *blueGainMax)
Definition peak_ipl_dynamic_loader.h:125
PEAK_IPL_C_API(* dyn_PEAK_IPL_Histogram_Destruct)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle)
Definition peak_ipl_dynamic_loader.h:178
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_Convert)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:55
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_GetNumSignificantBitsPerPixel)(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numSignificantBits)
Definition peak_ipl_dynamic_loader.h:191
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_SetMasterGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float *masterGainValue)
Definition peak_ipl_dynamic_loader.h:111
PEAK_IPL_C_API(* dyn_PEAK_IPL_Histogram_Construct)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_HISTOGRAM_HANDLE *histogramHandle)
Definition peak_ipl_dynamic_loader.h:171
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Queue_GetQueued)(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t *queued)
Definition peak_ipl_dynamic_loader.h:228
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_GetFactorRange)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, struct PEAK_IPL_RANGE *range)
Definition peak_ipl_dynamic_loader.h:247
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_IsPixelFormatSupported)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE handle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:251
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionMax)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, float *gammaMax)
Definition peak_ipl_dynamic_loader.h:135
PEAK_IPL_C_API(* dyn_PEAK_IPL_EdgeEnhancement_Construct)(PEAK_IPL_EDGE_ENHANCEMENT_HANDLE *handle)
Definition peak_ipl_dynamic_loader.h:242
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_IsOpen)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_BOOL8 *isOpen)
Definition peak_ipl_dynamic_loader.h:209
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetHotpixels)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, struct PEAK_IPL_POINT_2D *hotpixels, size_t *hotpixelsSize)
Definition peak_ipl_dynamic_loader.h:65
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_GetData)(PEAK_IPL_IMAGE_HANDLE imageHandle, uint8_t **data)
Definition peak_ipl_dynamic_loader.h:149
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_Construct)(PEAK_IPL_DECIMATION_HANDLE *decimationHandle)
Definition peak_ipl_dynamic_loader.h:97
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetGreenGainMin)(PEAK_IPL_GAIN_HANDLE gainHandle, float *greenGainMin)
Definition peak_ipl_dynamic_loader.h:122
PEAK_IPL_C_API(* dyn_PEAK_IPL_Histogram_GetNumChannels)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, size_t *numChannels)
Definition peak_ipl_dynamic_loader.h:174
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_GetNumChannels)(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numChannels)
Definition peak_ipl_dynamic_loader.h:187
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Container_SetOption)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_CONTAINER_OPTION option, const void *value, size_t count)
Definition peak_ipl_dynamic_loader.h:216
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_Acquire)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle)
Definition peak_ipl_dynamic_loader.h:50
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_GetBinningY)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningYValue)
Definition peak_ipl_dynamic_loader.h:88
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_SetDecimationY)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationYValue)
Definition peak_ipl_dynamic_loader.h:101
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_IsFloat)(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isFloat)
Definition peak_ipl_dynamic_loader.h:199
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_GetAlgorithm)(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_SHARPNESS_ALGORITHM *algorithm)
Definition peak_ipl_dynamic_loader.h:238
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_GetNumStorageBitsPerPixel)(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numStorageBits)
Definition peak_ipl_dynamic_loader.h:192
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_WaitUntilQueueEmpty)(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t timeout_ms)
Definition peak_ipl_dynamic_loader.h:230
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_Rotate)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle, enum PEAK_IPL_IMAGE_TRANSFORMER_ROTATION_ANGLE_t rotationAngle)
Definition peak_ipl_dynamic_loader.h:168
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_ExpectedOutputSize)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, size_t *outputWidth, size_t *outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat)
Definition peak_ipl_dynamic_loader.h:105
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_GetBinningMode)(PEAK_IPL_BINNING_HANDLE binningHandle, PEAK_IPL_BINNINGMODE *mode)
Definition peak_ipl_dynamic_loader.h:94
void * import_function(void *module, const char *proc_name)
Definition peak_ipl_dynamic_loader.h:705
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_SetBlueGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float *blueGainValue)
Definition peak_ipl_dynamic_loader.h:123
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_Acquire)(PEAK_IPL_DECIMATION_HANDLE decimationHandle)
Definition peak_ipl_dynamic_loader.h:98
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_GetDecimationY)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationYValue)
Definition peak_ipl_dynamic_loader.h:102
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_ConstructFromBuffer)(PEAK_IPL_PIXEL_FORMAT pixelFormat, uint8_t *buffer, uint64_t bufferSize, size_t width, size_t height, PEAK_IPL_IMAGE_HANDLE *imageHandle)
Definition peak_ipl_dynamic_loader.h:143
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_Acquire)(PEAK_IPL_BINNING_HANDLE binningHandle)
Definition peak_ipl_dynamic_loader.h:84
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_SetGreenGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float *greenGainValue)
Definition peak_ipl_dynamic_loader.h:119
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_Acquire)(PEAK_IPL_GAIN_HANDLE gainHandle)
Definition peak_ipl_dynamic_loader.h:110
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_GetBayerPattern)(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BAYER_PATTERN *pattern)
Definition peak_ipl_dynamic_loader.h:200
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_SetBinningMode)(PEAK_IPL_BINNING_HANDLE binningHandle, PEAK_IPL_BINNINGMODE *mode)
Definition peak_ipl_dynamic_loader.h:93
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_GetGammaCorrectionValue)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, float *gammaValue)
Definition peak_ipl_dynamic_loader.h:134
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_Acquire)(PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:142
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_GetBinningX)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningXValue)
Definition peak_ipl_dynamic_loader.h:86
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_Construct)(PEAK_IPL_GAIN_HANDLE *gainHandle)
Definition peak_ipl_dynamic_loader.h:109
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_GetLastError)(PEAK_IPL_RETURN_CODE *lastErrorCode, char *lastErrorDescription, size_t *lastErrorDescriptionSize)
Definition peak_ipl_dynamic_loader.h:48
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_GetNumStorageBitsPerChannel)(PEAK_IPL_PIXEL_FORMAT pixelFormat, size_t *numStorageBits)
Definition peak_ipl_dynamic_loader.h:189
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_Close)(PEAK_IPL_VIDEO_HANDLE videoHandle)
Definition peak_ipl_dynamic_loader.h:210
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Queue_GetSize)(PEAK_IPL_VIDEO_HANDLE videoHandle, int32_t *size)
Definition peak_ipl_dynamic_loader.h:226
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_Destruct)(PEAK_IPL_BINNING_HANDLE binningHandle)
Definition peak_ipl_dynamic_loader.h:96
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_ConvertToBuffer)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t *outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:56
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_SetBinningX)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningXValue)
Definition peak_ipl_dynamic_loader.h:85
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_ProcessInPlace)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:77
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_SetROIs)(PEAK_IPL_SHARPNESS_HANDLE handle, struct PEAK_IPL_SHARPNESS_ROI *roiList, size_t roiListSize)
Definition peak_ipl_dynamic_loader.h:240
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageWriter_WriteAsBMP)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:202
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_MirrorUpDownLeftRight)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:164
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_Destruct)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle)
Definition peak_ipl_dynamic_loader.h:57
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_SetRedGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float *redGainValue)
Definition peak_ipl_dynamic_loader.h:115
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetGainFactorPercent)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, uint32_t *gainFactorPercent)
Definition peak_ipl_dynamic_loader.h:63
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_SetSensitivity)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_HOTPIXELCORRECTION_SENSITIVITY sensitivityLevel)
Definition peak_ipl_dynamic_loader.h:60
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetBlueGainValue)(PEAK_IPL_GAIN_HANDLE gainHandle, float *blueGainValue)
Definition peak_ipl_dynamic_loader.h:124
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_PreAllocateConversion)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, size_t width, size_t height, size_t imageCount)
Definition peak_ipl_dynamic_loader.h:51
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetRedGainMin)(PEAK_IPL_GAIN_HANDLE gainHandle, float *redGainMin)
Definition peak_ipl_dynamic_loader.h:118
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_IsYUV)(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isYUV)
Definition peak_ipl_dynamic_loader.h:197
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_Acquire)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:72
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageReader_Read)(const char *filePath, size_t filePathSize, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:206
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_GetDroppedFrames)(PEAK_IPL_VIDEO_HANDLE videoHandle, uint64_t *numFrames)
Definition peak_ipl_dynamic_loader.h:222
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_ExpectedOutputSize)(PEAK_IPL_BINNING_HANDLE binningHandle, size_t *outputWidth, size_t *outputHeight, size_t inputWidth, size_t inputHeight, PEAK_IPL_PIXEL_FORMAT pixelFormat)
Definition peak_ipl_dynamic_loader.h:91
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_GetEncodedFrames)(PEAK_IPL_VIDEO_HANDLE videoHandle, uint64_t *numFrames)
Definition peak_ipl_dynamic_loader.h:221
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Video_Append)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:211
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Encoder_OptionRange)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, void *min, void *max, void *inc)
Definition peak_ipl_dynamic_loader.h:214
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelLine_GetOrientation)(PEAK_IPL_PIXEL_LINE_HANDLE pixelLineHandle, PEAK_IPL_ORIENTATION *orientation)
Definition peak_ipl_dynamic_loader.h:182
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_GetSupportedContainersForAnEncoder)(PEAK_IPL_VIDEO_ENCODER encoder, PEAK_IPL_VIDEO_CONTAINER *containers, size_t *size)
Definition peak_ipl_dynamic_loader.h:219
PEAK_IPL_C_API(* dyn_PEAK_IPL_Binning_GetBinningMax)(PEAK_IPL_BINNING_HANDLE binningHandle, uint8_t *binningMax)
Definition peak_ipl_dynamic_loader.h:90
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageReaderRead_ReadAsPixelFormat)(const char *filePath, size_t filePathSize, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:207
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_IsCoord3D)(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isCoord3D)
Definition peak_ipl_dynamic_loader.h:198
PEAK_IPL_C_API(* dyn_PEAK_IPL_PixelFormat_IsBayered)(PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isBayered)
Definition peak_ipl_dynamic_loader.h:196
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageConverter_GetSupportedOutputPixelFormats)(PEAK_IPL_IMAGE_CONVERTER_HANDLE imageConverterHandle, PEAK_IPL_PIXEL_FORMAT inputPixelFormat, PEAK_IPL_PIXEL_FORMAT *outputPixelFormats, size_t *outputPixelFormatsSize)
Definition peak_ipl_dynamic_loader.h:54
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_GetSaturationMin)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *saturationMin)
Definition peak_ipl_dynamic_loader.h:80
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageWriter_WriteAsPNG)(PEAK_IPL_IMAGE_HANDLE inputImageHandle, uint32_t quality, const char *filePath, size_t filePathSize)
Definition peak_ipl_dynamic_loader.h:203
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_RotateInPlace)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, enum PEAK_IPL_IMAGE_TRANSFORMER_ROTATION_ANGLE_t rotationAngle)
Definition peak_ipl_dynamic_loader.h:169
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_ConvertToBuffer)(PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_PIXEL_FORMAT outputPixelFormat, uint8_t *outputImageBuffer, size_t outputImageBufferSize, PEAK_IPL_CONVERSION_MODE conversionMode, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:156
PEAK_IPL_C_API(* dyn_PEAK_IPL_GammaCorrector_GetIsPixelFormatSupported)(PEAK_IPL_GAMMA_CORRECTOR_HANDLE gammaCorrectorHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:137
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_GetTimestamp)(PEAK_IPL_IMAGE_HANDLE imageHandle, uint64_t *timestamp_ns)
Definition peak_ipl_dynamic_loader.h:161
PEAK_IPL_C_API(* dyn_PEAK_IPL_Gain_GetGreenGainMax)(PEAK_IPL_GAIN_HANDLE gainHandle, float *greenGainMax)
Definition peak_ipl_dynamic_loader.h:121
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_Construct)(PEAK_IPL_SHARPNESS_HANDLE *handle)
Definition peak_ipl_dynamic_loader.h:231
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_GetIsPixelFormatSupported)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, PEAK_IPL_PIXEL_FORMAT pixelFormat, PEAK_IPL_BOOL8 *isPixelFormatSupported)
Definition peak_ipl_dynamic_loader.h:75
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_GetColorCorrectionFactors)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, float *colorCorrectorFactors, size_t *colorCorrectorFactorsSize)
Definition peak_ipl_dynamic_loader.h:74
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_Crop)(PEAK_IPL_IMAGE_HANDLE imageHandle, const struct PEAK_IPL_POINT_2D *pos, const struct PEAK_IPL_SIZE_2D *size, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:155
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_MirrorUpDownInPlace)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle)
Definition peak_ipl_dynamic_loader.h:165
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_GetDecimationX)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, uint8_t *decimationXValue)
Definition peak_ipl_dynamic_loader.h:100
PEAK_IPL_C_API(* dyn_PEAK_IPL_Image_GetByteCount)(PEAK_IPL_IMAGE_HANDLE imageHandle, size_t *byteCount)
Definition peak_ipl_dynamic_loader.h:147
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_GetSensitivity)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_HOTPIXELCORRECTION_SENSITIVITY *sensitivityLevel)
Definition peak_ipl_dynamic_loader.h:61
PEAK_IPL_C_API(* dyn_PEAK_IPL_Decimation_Process)(PEAK_IPL_DECIMATION_HANDLE decimationHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:107
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_Process)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:76
PEAK_IPL_C_API(* dyn_PEAK_IPL_VideoWriter_Encoder_SetOption)(PEAK_IPL_VIDEO_HANDLE videoHandle, PEAK_IPL_VIDEO_ENCODER_OPTION option, const void *value, size_t count)
Definition peak_ipl_dynamic_loader.h:212
PEAK_IPL_C_API(* dyn_PEAK_IPL_ColorCorrector_Destruct)(PEAK_IPL_COLOR_CORRECTOR_HANDLE colorCorrectorHandle)
Definition peak_ipl_dynamic_loader.h:78
PEAK_IPL_C_API(* dyn_PEAK_IPL_Library_SetMultiThreadingEnabled)(PEAK_IPL_BOOL8 enabled)
Definition peak_ipl_dynamic_loader.h:45
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_GetROIMinimumSize)(PEAK_IPL_SHARPNESS_HANDLE handle, struct PEAK_IPL_SIZE_2D *min_size)
Definition peak_ipl_dynamic_loader.h:239
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageTransformer_MirrorUpDown)(PEAK_IPL_IMAGE_TRANSFORMER_HANDLE imageTransformerHandle, PEAK_IPL_IMAGE_HANDLE imageHandle, PEAK_IPL_IMAGE_HANDLE *outputImageHandle)
Definition peak_ipl_dynamic_loader.h:162
PEAK_IPL_C_API(* dyn_PEAK_IPL_Histogram_GetPixelFormat)(PEAK_IPL_HISTOGRAM_HANDLE histogramHandle, PEAK_IPL_PIXEL_FORMAT *pixelFormat)
Definition peak_ipl_dynamic_loader.h:173
PEAK_IPL_C_API(* dyn_PEAK_IPL_ImageSharpness_GetSupportedPixelFormatList)(PEAK_IPL_SHARPNESS_HANDLE handle, PEAK_IPL_PIXEL_FORMAT *pixelFormatList, size_t *pixelFormatListSize)
Definition peak_ipl_dynamic_loader.h:236
PEAK_IPL_C_API(* dyn_PEAK_IPL_AdaptiveHotpixelCorrector_CorrectInPlace)(PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE adaptiveHotpixelCorrectorHandle, PEAK_IPL_IMAGE_HANDLE inputImageHandle, const struct PEAK_IPL_POINT_2D *hotpixels, size_t hotpixelsSize)
Definition peak_ipl_dynamic_loader.h:67
The "peak::ipl" namespace contains the whole image processing library.
Definition peak_ipl_binning.hpp:23
struct PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR * PEAK_IPL_ADAPTIVE_HOTPIXEL_CORRECTOR_HANDLE
Definition peak_ipl_backend.h:345
struct PEAK_IPL_GAMMA_CORRECTOR * PEAK_IPL_GAMMA_CORRECTOR_HANDLE
Definition peak_ipl_backend.h:365
uint16_t PEAK_IPL_SHARPNESS_ALGORITHM
Definition peak_ipl_backend.h:298
uint16_t PEAK_IPL_VIDEO_ENCODER
Definition peak_ipl_backend.h:258
int32_t PEAK_IPL_HOTPIXELCORRECTION_SENSITIVITY
Definition peak_ipl_backend.h:229
struct PEAK_IPL_PIXEL_LINE * PEAK_IPL_PIXEL_LINE_HANDLE
Definition peak_ipl_backend.h:377
uint16_t PEAK_IPL_VIDEO_CONTAINER_OPTION
Definition peak_ipl_backend.h:270
uint16_t PEAK_IPL_VIDEO_CONTAINER
Definition peak_ipl_backend.h:251
#define PEAK_IPL_C_API
Definition peak_ipl_backend.h:394
PEAK_IPL_IMAGE_TRANSFORMER_ROTATION_ANGLE_t
Definition peak_ipl_backend.h:233
uint16_t PEAK_IPL_BINNINGMODE
Definition peak_ipl_backend.h:245
uint16_t PEAK_IPL_VIDEO_ENCODER_OPTION
Definition peak_ipl_backend.h:264
int32_t PEAK_IPL_CONVERSION_MODE
Definition peak_ipl_backend.h:70
int32_t PEAK_IPL_ORIENTATION
Definition peak_ipl_backend.h:217
struct PEAK_IPL_VIDEO * PEAK_IPL_VIDEO_HANDLE
Definition peak_ipl_backend.h:381
struct PEAK_IPL_HISTOGRAM * PEAK_IPL_HISTOGRAM_HANDLE
Definition peak_ipl_backend.h:373
struct PEAK_IPL_GAIN * PEAK_IPL_GAIN_HANDLE
Definition peak_ipl_backend.h:361
struct PEAK_IPL_SHARPNESS * PEAK_IPL_SHARPNESS_HANDLE
Definition peak_ipl_backend.h:385
struct PEAK_IPL_IMAGE * PEAK_IPL_IMAGE_HANDLE
Definition peak_ipl_backend.h:369
struct PEAK_IPL_COLOR_CORRECTOR * PEAK_IPL_COLOR_CORRECTOR_HANDLE
Definition peak_ipl_backend.h:357
struct PEAK_IPL_IMAGE_transformer * PEAK_IPL_IMAGE_TRANSFORMER_HANDLE
Definition peak_ipl_backend.h:341
int32_t PEAK_IPL_RETURN_CODE
Definition peak_ipl_backend.h:61
int8_t PEAK_IPL_BOOL8
Definition peak_ipl_backend.h:41
int32_t PEAK_IPL_INTERPOLATION_ALGORITHM
Definition peak_ipl_backend.h:318
int32_t PEAK_IPL_BAYER_PATTERN
Definition peak_ipl_backend.h:200
int32_t PEAK_IPL_PIXEL_FORMAT
Definition peak_ipl_backend.h:188
struct PEAK_IPL_EDGE_ENHANCEMENT * PEAK_IPL_EDGE_ENHANCEMENT_HANDLE
Definition peak_ipl_backend.h:389
struct PEAK_IPL_BINNING * PEAK_IPL_BINNING_HANDLE
Definition peak_ipl_backend.h:349
struct PEAK_IPL_IMAGE_CONVERTER * PEAK_IPL_IMAGE_CONVERTER_HANDLE
Definition peak_ipl_backend.h:337
struct PEAK_IPL_DECIMATION * PEAK_IPL_DECIMATION_HANDLE
Definition peak_ipl_backend.h:353
int32_t PEAK_IPL_ENDIANNESS
Definition peak_ipl_backend.h:209
Definition peak_ipl_backend.h:274
Definition peak_ipl_backend.h:329
Definition peak_ipl_backend.h:321
Definition peak_ipl_backend.h:280