21#ifndef DIRECT_BINDING_H_
22#define DIRECT_BINDING_H_
24#include "irdirectsdk_defs.h"
38__IRDIRECTSDK_API__
int evo_irimager_usb_init(
const char* xml_config,
const char* formats_def,
const char* log_file);
48__IRDIRECTSDK_API__
int evo_irimager_multi_usb_init(
unsigned int* outCamId,
const char* xml_config,
const char* formats_def,
const char* log_file);
427__IRDIRECTSDK_API__
int evo_irimager_to_palette_save_png(
unsigned short* thermal_data,
int w,
int h,
const char* path,
int palette,
int palette_scale);
433__IRDIRECTSDK_API__
int evo_irimager_to_palette_save_png_high_precision(
unsigned short* thermal_data,
int w,
int h,
const char* path,
int palette,
int palette_scale,
short decimalPlaces);
__IRDIRECTSDK_API__ int evo_irimager_multi_get_thermal_image(const unsigned int camId, int *w, int *h, unsigned short *data)
Accessor to thermal image by reference for multiple cameras Conversion to temperature values are to b...
__IRDIRECTSDK_API__ int evo_irimager_multi_usb_init(unsigned int *outCamId, const char *xml_config, const char *formats_def, const char *log_file)
Initializes an IRImager instance connected to this computer via USB for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_multi_set_palette_scale(const unsigned int camId, int scale)
sets palette scaling method for multiple cameras Defined in IRImager Direct-SDK, see enum EnumOptrisP...
__IRDIRECTSDK_API__ int evo_irimager_set_shutter_mode(int mode)
sets shutter flag control mode
__IRDIRECTSDK_API__ int evo_irimager_set_palette(int paletteId)
sets palette format.
__IRDIRECTSDK_API__ int evo_irimager_tcp_init(const char *ip, int port)
Initializes the TCP connection to the daemon process (non-blocking)
__IRDIRECTSDK_API__ int evo_irimager_set_clipped_format_position(unsigned short x, unsigned short y)
Set the clipped format position.
__IRDIRECTSDK_API__ int evo_irimager_usb_init(const char *xml_config, const char *formats_def, const char *log_file)
Initializes an IRImager instance connected to this computer via USB.
__IRDIRECTSDK_API__ int evo_irimager_multi_get_serial(const unsigned int camId, unsigned long *serial)
Get the serial number of the connected camera for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_multi_set_focusmotor_pos(const unsigned int camId, float pos)
Set the position of the focusmotor for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_multi_get_focusmotor_pos(const unsigned int camId, float *posOut)
Get the position of the focusmotor for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_multi_get_thermal_palette_image(const unsigned int camId, int w_t, int h_t, unsigned short *data_t, int w_p, int h_p, unsigned char *data_p)
Accessor to an RGB palette image and a thermal image by reference for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_multi_trigger_shutter_flag(const unsigned int camId)
forces a shutter flag cycle for multiple cameras
__IRDIRECTSDK_API__ int evo_irimager_get_thermal_image_metadata(int *w, int *h, unsigned short *data, EvoIRFrameMetadata *metadata)
Accessor to thermal image and frame metadata by reference Conversion to temperature values are to be ...
__IRDIRECTSDK_API__ int evo_irimager_daemon_launch()
Launch TCP daemon.
__IRDIRECTSDK_API__ int evo_irimager_daemon_kill()
Kill TCP daemon.
__IRDIRECTSDK_API__ int evo_irimager_get_thermal_image(int *w, int *h, unsigned short *data)
Accessor to thermal image by reference Conversion to temperature values are to be performed as follow...
__IRDIRECTSDK_API__ int evo_irimager_terminate()
Disconnects the camera, either connected via USB or TCP.
__IRDIRECTSDK_API__ int evo_irimager_get_palette_image_metadata(int *w, int *h, unsigned char *data, EvoIRFrameMetadata *metadata)
Accessor to an RGB palette image and frame metadata by reference data format: unsigned char array (si...
__IRDIRECTSDK_API__ int evo_irimager_set_temperature_range(int t_min, int t_max)
sets the minimum and maximum remperature range to the camera.
__IRDIRECTSDK_API__ int evo_irimager_multi_tcp_init(unsigned int *outCamId, const char *ip, int port)
Initializes the TCP connection to the daemon process (non-blocking) for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_set_palette_manual_temp_range(float min, float max)
Only available in eManual palette scale mode.
__IRDIRECTSDK_API__ int evo_irimager_multi_get_thermal_image_size(const unsigned int camId, int *w, int *h)
Accessor to image width and height for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_multi_get_thermal_palette_image_metadata(const unsigned int camId, int w_t, int h_t, unsigned short *data_t, int w_p, int h_p, unsigned char *data_p, EvoIRFrameMetadata *metadata)
Accessor to an RGB palette image, thermal image and frame metadata by reference for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_get_palette_image(int *w, int *h, unsigned char *data)
Accessor to an RGB palette image by reference data format: unsigned char array (size 3 * w * h) r,...
__IRDIRECTSDK_API__ int evo_irimager_set_radiation_parameters(float emissivity, float transmissivity, float tAmbient)
sets radiation properties, i.e.
__IRDIRECTSDK_API__ int evo_irimager_multi_get_thermal_image_metadata(const unsigned int camId, int *w, int *h, unsigned short *data, EvoIRFrameMetadata *metadata)
Accessor to thermal image and frame metadata by reference for multiple cameras Conversion to temperat...
__IRDIRECTSDK_API__ int evo_irimager_multi_set_clipped_format_position(const unsigned int camId, unsigned short x, unsigned short y)
Set the clipped format position.
__IRDIRECTSDK_API__ int evo_irimager_get_thermal_palette_image(int w_t, int h_t, unsigned short *data_t, int w_p, int h_p, unsigned char *data_p)
Accessor to an RGB palette image and a thermal image by reference.
__IRDIRECTSDK_API__ int evo_irimager_get_palette_image_size(int *w, int *h)
Accessor to width and height of false color coded palette image.
__IRDIRECTSDK_API__ int evo_irimager_multi_get_palette_image_metadata(const unsigned int camId, int *w, int *h, unsigned char *data, EvoIRFrameMetadata *metadata)
Accessor to an RGB palette image and frame metadata by reference for multiple cameras data format: un...
__IRDIRECTSDK_API__ int evo_irimager_multi_get_clipped_format_position(const unsigned int camId, unsigned short *x, unsigned short *y)
Get the clipped format position.
__IRDIRECTSDK_API__ int evo_irimager_multi_terminate(const unsigned int camId)
Disconnects the camera, either connected via USB or TCP for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_multi_set_palette(const unsigned int camId, int paletteId)
sets palette format for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_get_thermal_palette_image_metadata(int w_t, int h_t, unsigned short *data_t, int w_p, int h_p, unsigned char *data_p, EvoIRFrameMetadata *metadata)
Accessor to an RGB palette image, thermal imagea and frame metadat by reference.
__IRDIRECTSDK_API__ int evo_irimager_multi_get_palette_image(const unsigned int camId, int *w, int *h, unsigned char *data)
Accessor to an RGB palette image by reference for multiple cameras data format: unsigned char array (...
__IRDIRECTSDK_API__ int evo_irimager_multi_set_palette_manual_temp_range(const unsigned int camId, float min, float max)
Only available in eManual palette scale mode.
__IRDIRECTSDK_API__ int evo_irimager_set_focusmotor_pos(float pos)
Set the position of the focusmotor.
__IRDIRECTSDK_API__ int evo_irimager_set_pif_framesync_output(const unsigned int aoChannelId, unsigned int analogOutputMode, float analogValue)
sets the framesync output
__IRDIRECTSDK_API__ int evo_irimager_multi_set_radiation_parameters(const unsigned int camId, float emissivity, float transmissivity, float tAmbient)
sets radiation properties, i.e.
__IRDIRECTSDK_API__ int evo_irimager_get_serial(unsigned long *serial)
Get the serial number of the connected camera.
__IRDIRECTSDK_API__ int evo_irimager_set_palette_scale(int scale)
sets palette scaling method Defined in IRImager Direct-SDK, see enum EnumOptrisPaletteScalingMethod{e...
__IRDIRECTSDK_API__ int evo_irimager_get_clipped_format_position(unsigned short *x, unsigned short *y)
Get the clipped format position.
__IRDIRECTSDK_API__ int evo_irimager_get_thermal_image_size(int *w, int *h)
Accessor to image width and height.
__IRDIRECTSDK_API__ int evo_irimager_daemon_is_running()
Check whether daemon is already running.
__IRDIRECTSDK_API__ int evo_irimager_trigger_shutter_flag()
forces a shutter flag cycle
__IRDIRECTSDK_API__ int evo_irimager_multi_set_temperature_range(const unsigned int camId, int t_min, int t_max)
sets the minimum and maximum remperature range to the camera.
__IRDIRECTSDK_API__ int evo_irimager_get_focusmotor_pos(float *posOut)
Get the position of the focusmotor.
__IRDIRECTSDK_API__ int evo_irimager_multi_set_shutter_mode(const unsigned int camId, int mode)
sets shutter flag control mode for multiple cameras
__IRDIRECTSDK_API__ int evo_irimager_multi_get_palette_image_size(const unsigned int camId, int *w, int *h)
Accessor to width and height of false color coded palette image for multiple cameras.
__IRDIRECTSDK_API__ int evo_irimager_multi_set_pif_framesync_output(const unsigned int camId, const unsigned int aoChannelId, unsigned int analogOutputMode, float analogValue)
sets the framesync output for multiple cameras