Provides Easy API C-Library Interface. More...
Go to the source code of this file.
Functions | |
__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. More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_tcp_init (const char *ip, int port) |
Initializes the TCP connection to the daemon process (non-blocking) More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_terminate () |
Disconnects the camera, either connected via USB or TCP. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_multi_terminate (const unsigned int camId) |
Disconnects the camera, either connected via USB or TCP for multiple cameras. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_get_serial (unsigned long *serial) |
Get the serial number of the connected camera. More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_get_thermal_image_size (int *w, int *h) |
Accessor to image width and height. More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_get_palette_image_size (int *w, int *h) |
Accessor to width and height of false color coded palette image. More... | |
__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. More... | |
__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 follows: t = ((double)data[x] - 1000.0) / 10.0;. More... | |
__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 be performed as follows: t = ((double)data[x] - 1000.0) / 10.0;. More... | |
__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 performed as follows: t = ((double)data[x] - 1000.0) / 10.0;. More... | |
__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 temperature values are to be performed as follows: t = ((double)data[x] - 1000.0) / 10.0;. More... | |
__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,g,b. More... | |
__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 (size 3 * w * h) r,g,b. More... | |
__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 (size 3 * w * h) r,g,b. More... | |
__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: unsigned char array (size 3 * w * h) r,g,b. More... | |
__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. More... | |
__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. More... | |
__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. More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_palette (int paletteId) |
sets palette format. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_multi_set_palette (const unsigned int camId, int paletteId) |
sets palette format for multiple cameras. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_palette_scale (int scale) |
sets palette scaling method Defined in IRImager Direct-SDK, see enum EnumOptrisPaletteScalingMethod{eManual = 1, eMinMax = 2, eSigma1 = 3, eSigma3 = 4 }; More... | |
__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 EnumOptrisPaletteScalingMethod{eManual = 1, eMinMax = 2, eSigma1 = 3, eSigma3 = 4 }; More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_palette_manual_temp_range (float min, float max) |
Only available in eManual palette scale mode. More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_shutter_mode (int mode) |
sets shutter flag control mode More... | |
__IRDIRECTSDK_API__ int | evo_irimager_multi_set_shutter_mode (const unsigned int camId, int mode) |
sets shutter flag control mode for multiple cameras More... | |
__IRDIRECTSDK_API__ int | evo_irimager_trigger_shutter_flag () |
forces a shutter flag cycle More... | |
__IRDIRECTSDK_API__ int | evo_irimager_multi_trigger_shutter_flag (const unsigned int camId) |
forces a shutter flag cycle for multiple cameras More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_temperature_range (int t_min, int t_max) |
sets the minimum and maximum remperature range to the camera. More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_radiation_parameters (float emissivity, float transmissivity, float tAmbient) |
sets radiation properties, i.e. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_multi_set_radiation_parameters (const unsigned int camId, float emissivity, float transmissivity, float tAmbient) |
sets radiation properties, i.e. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_focusmotor_pos (float pos) |
Set the position of the focusmotor. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_multi_set_focusmotor_pos (const unsigned int camId, float pos) |
Set the position of the focusmotor for multiple cameras. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_get_focusmotor_pos (float *posOut) |
Get the position of the focusmotor. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_multi_get_focusmotor_pos (const unsigned int camId, float *posOut) |
Get the position of the focusmotor for multiple cameras. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_pif_framesync_output (const unsigned int aoChannelId, unsigned int analogOutputMode, float analogValue) |
sets the framesync output More... | |
__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 More... | |
__IRDIRECTSDK_API__ int | evo_irimager_set_clipped_format_position (unsigned short x, unsigned short y) |
Set the clipped format position. More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_get_clipped_format_position (unsigned short *x, unsigned short *y) |
Get the clipped format position. More... | |
__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. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_daemon_launch () |
Launch TCP daemon. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_daemon_is_running () |
Check whether daemon is already running. More... | |
__IRDIRECTSDK_API__ int | evo_irimager_daemon_kill () |
Kill TCP daemon. More... | |
Provides Easy API C-Library Interface.
This header defines the function of the Easy API, which can be also used from other programming languages supporting C-Library calls like LabView, Matlab, Python etc.
__IRDIRECTSDK_API__ int evo_irimager_daemon_is_running | ( | ) |
Check whether daemon is already running.
__IRDIRECTSDK_API__ int evo_irimager_daemon_kill | ( | ) |
Kill TCP daemon.
__IRDIRECTSDK_API__ int evo_irimager_daemon_launch | ( | ) |
Launch TCP daemon.
__IRDIRECTSDK_API__ int evo_irimager_get_clipped_format_position | ( | unsigned short * | x, |
unsigned short * | y | ||
) |
Get the clipped format position.
Returns uint max if not set previously. (not implemented for TCP connection, usb mode only)
[out] | x | Upper left x position for clipped area. Returns uint max if not set previously. |
[out] | y | Upper left y position for clipped area. Returns uint max if not set previously. |
__IRDIRECTSDK_API__ int evo_irimager_get_focusmotor_pos | ( | float * | posOut | ) |
Get the position of the focusmotor.
[out] | posOut | Data pointer to float for current fucos motor position in % (< 0 if no focusmotor available) |
__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,g,b.
[in] | w | image width |
[in] | h | image height |
[out] | data | pointer to unsigned char array allocate by the user (size of 3 * w * h) |
__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 (size 3 * w * h) r,g,b.
[in] | w | image width |
[in] | h | image height |
[out] | data | pointer to unsigned char array allocate by the user (size of 3 * w * h) |
[out] | metadata | pointer to EvoIRFrameMetadata allocate by the user |
__IRDIRECTSDK_API__ int evo_irimager_get_palette_image_size | ( | int * | w, |
int * | h | ||
) |
Accessor to width and height of false color coded palette image.
[out] | w | width |
[out] | h | height |
__IRDIRECTSDK_API__ int evo_irimager_get_serial | ( | unsigned long * | serial | ) |
Get the serial number of the connected camera.
[out] | serial | number of camera |
__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 follows: t = ((double)data[x] - 1000.0) / 10.0;.
[in] | w | image width |
[in] | h | image height |
[out] | data | pointer to unsigned short array allocate by the user (size of w * h) |
__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 performed as follows: t = ((double)data[x] - 1000.0) / 10.0;.
[in] | w | image width |
[in] | h | image height |
[out] | data | pointer to unsigned short array allocate by the user (size of w * h) |
[out] | metadata | pointer to EvoIRFrameMetadata allocate by the user |
__IRDIRECTSDK_API__ int evo_irimager_get_thermal_image_size | ( | int * | w, |
int * | h | ||
) |
Accessor to image width and height.
[out] | w | width |
[out] | h | height |
__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.
[in] | w_t | width of thermal image |
[in] | h_t | height of thermal image |
[out] | data_t | data pointer to unsigned short array allocate by the user (size of w * h) |
[in] | w_p | width of palette image (can differ from thermal image width due to striding) |
[in] | h_p | height of palette image (can differ from thermal image height due to striding) |
[out] | data_p | data pointer to unsigned char array allocate by the user (size of 3 * w * h) |
__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.
[in] | w_t | width of thermal image |
[in] | h_t | height of thermal image |
[out] | data_t | data pointer to unsigned short array allocate by the user (size of w * h) |
[in] | w_p | width of palette image (can differ from thermal image width due to striding) |
[in] | h_p | height of palette image (can differ from thermal image height due to striding) |
[out] | data_p | data pointer to unsigned char array allocate by the user (size of 3 * w * h) |
[out] | metadata | pointer to EvoIRFrameMetadata allocate by the user |
__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.
Returns uint max if not set previously. (not implemented for TCP connection, usb mode only)
[in] | camId | Camera instance id from init to apply this function |
[out] | x | Upper left x position for clipped area. Returns uint max if not set previously. |
[out] | y | Upper left y position for clipped area. Returns uint max if not set previously. |
__IRDIRECTSDK_API__ int evo_irimager_multi_get_focusmotor_pos | ( | const unsigned int | camId, |
float * | posOut | ||
) |
Get the position of the focusmotor for multiple cameras.
[in] | camId | Camera instance id from init to apply this function |
[out] | posOut | Data pointer to float for current fucos motor position in % (< 0 if no focusmotor available) |
__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 (size 3 * w * h) r,g,b.
[in] | camId | Camera instance id from init to apply this function |
[in] | w | image width |
[in] | h | image height |
[out] | data | pointer to unsigned char array allocate by the user (size of 3 * w * h) |
__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: unsigned char array (size 3 * w * h) r,g,b.
[in] | camId | Camera instance id from init to apply this function |
[in] | w | image width |
[in] | h | image height |
[out] | data | pointer to unsigned char array allocate by the user (size of 3 * w * h) |
[out] | metadata | pointer to EvoIRFrameMetadata allocate by the user |
__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.
[in] | camId | Camera instance id from init to apply this function |
[out] | w | width |
[out] | h | height |
__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.
[in] | camId | Camera instance id from init to apply this function |
[out] | serial | number of camera |
__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 be performed as follows: t = ((double)data[x] - 1000.0) / 10.0;.
[in] | camId | Camera instance id from init to apply this function |
[in] | w | image width |
[in] | h | image height |
[out] | data | pointer to unsigned short array allocate by the user (size of w * h) |
__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 temperature values are to be performed as follows: t = ((double)data[x] - 1000.0) / 10.0;.
[in] | camId | Camera instance id from init to apply this function |
[in] | w | image width |
[in] | h | image height |
[out] | data | pointer to unsigned short array allocate by the user (size of w * h) |
[out] | metadata | pointer to EvoIRFrameMetadata allocate by the user |
__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.
[in] | camId | Camera instance id from init to apply this function |
[out] | w | width |
[out] | h | height |
__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.
[in] | camId | Camera instance id from init to apply this function |
[in] | w_t | width of thermal image |
[in] | h_t | height of thermal image |
[out] | data_t | data pointer to unsigned short array allocate by the user (size of w * h) |
[in] | w_p | width of palette image (can differ from thermal image width due to striding) |
[in] | h_p | height of palette image (can differ from thermal image height due to striding) |
[out] | data_p | data pointer to unsigned char array allocate by the user (size of 3 * w * h) |
__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.
[in] | camId | Camera instance id from init to apply this function |
[in] | w_t | width of thermal image |
[in] | h_t | height of thermal image |
[out] | data_t | data pointer to unsigned short array allocate by the user (size of w * h) |
[in] | w_p | width of palette image (can differ from thermal image width due to striding) |
[in] | h_p | height of palette image (can differ from thermal image height due to striding) |
[out] | data_p | data pointer to unsigned char array allocate by the user (size of 3 * w * h) |
__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.
For PI1M only position with x=0 are valid. (not implemented for TCP connection, usb mode only)
[in] | camId | Camera instance id from init to apply this function |
[in] | x | Upper left x position for clipped area |
[in] | y | Upper left y position for clipped area |
__IRDIRECTSDK_API__ int evo_irimager_multi_set_focusmotor_pos | ( | const unsigned int | camId, |
float | pos | ||
) |
Set the position of the focusmotor for multiple cameras.
[in] | camId | Camera instance id from init to apply this function |
[in] | pos | fucos motor position in % |
__IRDIRECTSDK_API__ int evo_irimager_multi_set_palette | ( | const unsigned int | camId, |
int | paletteId | ||
) |
sets palette format for multiple cameras.
Defined in IRImager Direct-SDK, see enum EnumOptrisColoringPalette{eAlarmBlue = 1, eAlarmBlueHi = 2, eGrayBW = 3, eGrayWB = 4, eAlarmGreen = 5, eIron = 6, eIronHi = 7, eMedical = 8, eRainbow = 9, eRainbowHi = 10, eAlarmRed = 11 };
[in] | camId | Camera instance id from init to apply this function |
paletteId | palette id |
__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.
Sets palette manual scaling temperature range for multiple cameras.
[in] | camId | Camera instance id from init to apply this function |
min | Minimum temperature | |
max | Maximum temperature |
__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 EnumOptrisPaletteScalingMethod{eManual = 1, eMinMax = 2, eSigma1 = 3, eSigma3 = 4 };
[in] | camId | Camera instance id from init to apply this function |
scale | scaling method id |
__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
[in] | camId | Camera instance id from init to apply this function |
[in] | aoChannelId | Analog Output Channel for framesync starting with 0 |
[in] | analogOutputMode | Determines the output range and voltage or current mode (depends on used PIF-Device) enum IRChannelAnalogOutputMode { Range_0V_10V = 0, ///< Set output range to 0V..10V Range_0mA_20mA = 1, ///< Set output range to 0mA..20mA Range_4mA_20mA = 2, ///< Set output range to 4mA..20mA }; |
[in] | analogValue | Analog Output Voltage/Milliampere on Frame for syncing |
__IRDIRECTSDK_API__ int evo_irimager_multi_set_radiation_parameters | ( | const unsigned int | camId, |
float | emissivity, | ||
float | transmissivity, | ||
float | tAmbient | ||
) |
sets radiation properties, i.e.
emissivity and transmissivity parameters (not implemented for TCP connection, usb mode only) for multiple cameras
[in] | camId | Camera instance id from init to apply this function |
[in] | emissivity | emissivity of observed object [0;1] |
[in] | transmissivity | transmissivity of observed object [0;1] |
[in] | tAmbient | ambient temperature, setting invalid values (below -273,15 degrees) forces the library to take its own measurement values. |
__IRDIRECTSDK_API__ int evo_irimager_multi_set_shutter_mode | ( | const unsigned int | camId, |
int | mode | ||
) |
sets shutter flag control mode for multiple cameras
[in] | camId | Camera instance id from init to apply this function |
[in] | mode | 0 means manual control, 1 means automode |
__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.
Only values which are defined in teh optris cali files are supported. (also configurable in xml-config) for multiple cameras
[in] | camId | Camera instance id from init to apply this function |
[in] | t_min | Minimal temperature (has to be defined in the optris cali files) |
[in] | t_min | Maximal temperature (has to be defined in the optris cali files) |
__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.
[out] | camera | instance id for reference |
[in] | IP | address of the machine where the daemon process is running ("localhost" can be resolved) |
port | Port of daemon, default 1337 |
__IRDIRECTSDK_API__ int evo_irimager_multi_terminate | ( | const unsigned int | camId | ) |
Disconnects the camera, either connected via USB or TCP for multiple cameras.
[in] | camId | Camera instance id from init to apply this function |
__IRDIRECTSDK_API__ int evo_irimager_multi_trigger_shutter_flag | ( | const unsigned int | camId | ) |
forces a shutter flag cycle for multiple cameras
[in] | camId | Camera instance id from init to apply this function |
__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.
Do not use this for a direct ethernet connection.
[out] | camera | instance id for reference |
[in] | xml_config | path to xml config |
[in] | formats_def | path to Formats.def file. Set zero for standard value. |
[in] | log_file | path to log file. Set zero for standard value. |
__IRDIRECTSDK_API__ int evo_irimager_set_clipped_format_position | ( | unsigned short | x, |
unsigned short | y | ||
) |
Set the clipped format position.
For PI1M only position with x=0 are valid. (not implemented for TCP connection, usb mode only)
[in] | x | Upper left x position for clipped area |
[in] | y | Upper left y position for clipped area |
__IRDIRECTSDK_API__ int evo_irimager_set_focusmotor_pos | ( | float | pos | ) |
Set the position of the focusmotor.
[in] | pos | fucos motor position in % |
__IRDIRECTSDK_API__ int evo_irimager_set_palette | ( | int | paletteId | ) |
sets palette format.
Defined in IRImager Direct-SDK, see enum EnumOptrisColoringPalette{eAlarmBlue = 1, eAlarmBlueHi = 2, eGrayBW = 3, eGrayWB = 4, eAlarmGreen = 5, eIron = 6, eIronHi = 7, eMedical = 8, eRainbow = 9, eRainbowHi = 10, eAlarmRed = 11 };
id | palette id |
__IRDIRECTSDK_API__ int evo_irimager_set_palette_manual_temp_range | ( | float | min, |
float | max | ||
) |
Only available in eManual palette scale mode.
Sets palette manual scaling temperature range.
min | Minimum temperature |
max | Maximum temperature |
__IRDIRECTSDK_API__ int evo_irimager_set_palette_scale | ( | int | scale | ) |
sets palette scaling method Defined in IRImager Direct-SDK, see enum EnumOptrisPaletteScalingMethod{eManual = 1, eMinMax = 2, eSigma1 = 3, eSigma3 = 4 };
scale | scaling method id |
__IRDIRECTSDK_API__ int evo_irimager_set_pif_framesync_output | ( | const unsigned int | aoChannelId, |
unsigned int | analogOutputMode, | ||
float | analogValue | ||
) |
sets the framesync output
[in] | aoChannelId | Analog Output Channel for framesync starting with 0 |
[in] | analogOutputMode | Determines the output range and voltage or current mode (depends on used PIF-Device) enum IRChannelAnalogOutputMode { Range_0V_10V = 0, ///< Set output range to 0V..10V Range_0mA_20mA = 1, ///< Set output range to 0mA..20mA Range_4mA_20mA = 2, ///< Set output range to 4mA..20mA }; |
[in] | analogValue | Analog Output Voltage/Milliampere on Frame for syncing |
__IRDIRECTSDK_API__ int evo_irimager_set_radiation_parameters | ( | float | emissivity, |
float | transmissivity, | ||
float | tAmbient | ||
) |
sets radiation properties, i.e.
emissivity and transmissivity parameters (not implemented for TCP connection, usb mode only)
[in] | emissivity | emissivity of observed object [0;1] |
[in] | transmissivity | transmissivity of observed object [0;1] |
[in] | tAmbient | ambient temperature, setting invalid values (below -273,15 degrees) forces the library to take its own measurement values. |
__IRDIRECTSDK_API__ int evo_irimager_set_shutter_mode | ( | int | mode | ) |
sets shutter flag control mode
mode | 0 means manual control, 1 means automode |
__IRDIRECTSDK_API__ int evo_irimager_set_temperature_range | ( | int | t_min, |
int | t_max | ||
) |
sets the minimum and maximum remperature range to the camera.
Only values which are defined in teh optris cali files are supported. (also configurable in xml-config)
[in] | t_min | Minimal temperature (has to be defined in the optris cali files) |
[in] | t_min | Maximal temperature (has to be defined in the optris cali files) |
__IRDIRECTSDK_API__ int evo_irimager_tcp_init | ( | const char * | ip, |
int | port | ||
) |
Initializes the TCP connection to the daemon process (non-blocking)
[in] | IP | address of the machine where the daemon process is running ("localhost" can be resolved) |
port | Port of daemon, default 1337 |
__IRDIRECTSDK_API__ int evo_irimager_terminate | ( | ) |
Disconnects the camera, either connected via USB or TCP.
__IRDIRECTSDK_API__ int evo_irimager_trigger_shutter_flag | ( | ) |
forces a shutter flag cycle
__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.
Do not use this for a direct ethernet connection.
[in] | xml_config | path to xml config |
[in] | formats_def | path to Formats.def file. Set zero for standard value. |
[in] | log_file | path to log file. Set zero for standard value. |