Version 8.9.0
 
Loading...
Searching...
No Matches
evo::IRImager Class Reference

Wrapper for PI driver and image processing library. More...

#include <IRImager.h>

Collaboration diagram for evo::IRImager:
Collaboration graph

Public Types

enum class  RadialDistortionCorrectionMode { Off , Normal , Wide }
 

Public Member Functions

 IRImager ()
 Standard constructor.
 
 ~IRImager ()
 Destructor.
 
bool init (IRDeviceParams *params, unsigned int frequency, unsigned int width, unsigned int height, bool useHID, unsigned short hwRev=0, unsigned short fwRev=0)
 Initializing routine, to be called after instantiation. More...
 
void initRawdataHeader (RawdataHeader &header) const
 Initialize Rawdata header with camera specific parameters. More...
 
bool reconnect (IRDeviceParams *params, unsigned int frequency, unsigned int width, unsigned int height, bool useHID, unsigned short hwRev=0, unsigned short fwRev=0)
 Reconnect resets internal variables and calls init method again.
 
Tchar * checkCalibration ()
 Check existence of calibration file set. More...
 
void setAutoFlag (bool autoFlag)
 Set flag automatic. More...
 
bool getAutoFlag () const
 Get flag automatic. More...
 
void setFlagMinInterval (float seconds)
 Set flag min interval. More...
 
float getFlagMinInterval () const
 Get flag min interval. More...
 
void setFlagMaxInterval (float seconds)
 Set flag max interval. More...
 
float getFlagMaxInterval () const
 Get flag max interval. More...
 
bool setTempRange (int tMin, int tMax)
 Set temperature range. More...
 
unsigned int getHWRevision () const
 Get hardware revision. More...
 
unsigned int getFWRevision () const
 Get firmware revision. More...
 
unsigned int getWidth () const
 Get image width of thermal channel. More...
 
unsigned int getHeight () const
 Get image height of thermal channel. More...
 
unsigned int getVisibleWidth () const
 Get image width of visible channel (if available) More...
 
unsigned int getVisibleHeight () const
 Get image height of visible channel (if available) More...
 
unsigned int getWidthIn () const
 Get width of raw format (from UVC stream) More...
 
unsigned int getHeightIn () const
 Get height of raw format (from UVC stream) More...
 
unsigned short getBitCount () const
 Get # of bits used for temperature coding. More...
 
long long getAvgTimePerFrame () const
 Get average time per frame. More...
 
float getMaxFramerate () const
 Get maximum frame rate of device return frame rate (in frames/second)
 
float getHWInterval () const
 Get time interval between hardware frames (camera timestamp) More...
 
bool hasBispectralTechnology () const
 Check if bispectral technology is available. More...
 
int getEnergyBuffer (unsigned short *buffer) const
 Get energy buffer of previously acquired frame. More...
 
int getMetaData (unsigned char *buffer, int size) const
 Get meta data container of previously acquired frame. More...
 
bool getTemperatureTableParameters (double *t1, double *t3, double *tJunct, short *e1, short *e3, short *eJunct, double *lambda, double *lambda2) const
 Get temperature table parameters @params[out] t1 Temperature for 1st operating point @params[out] t3 Temperature for 2nd operating point @params[out] tJunct Crossover temperature of junction point between both ranges @params[out] e1 Energy of 1st operating point @params[out] e3 Energy of 2nd operating point @params[out] eJunct Energy of tJunct @params[out] lambda Central wave length of the Planck function (standard range for all imagers) @params[out] lambda2 Central wave length of the second range after tJunct (e.g. More...
 
void setThermalFrameCallback (fptrIRThermalFrame callback)
 Set callback function to be called for new frames. More...
 
void setVisibleFrameCallback (fptrIRVisibleFrame callback)
 Set callback function to be called for new frames. More...
 
void setFlagStateCallback (fptrIRFlagState callback)
 Set callback function to be called for changing flag states. More...
 
void setThermalFrameEventCallback (fptrIRThermalSnapshot callback)
 Set callback function to be called for PIF or software trigger events. More...
 
void setVisibleFrameEventCallback (fptrIRVisibleSnapshot callback)
 Set callback function to be called for PIF or software trigger events. More...
 
void setProcessExitCallback (fptrIRProcessEvent callback)
 Set callback function to be called when the process method has finalized its work. More...
 
void setClient (IRImagerClient *client)
 Set client as callback receiver. More...
 
ImageProcessing * getImageProcessingChain ()
 Get pointer to image processing chain. More...
 
void process (unsigned char *buffer, void *arg=NULL)
 Process raw data. More...
 
void forceFlagEvent (float time=0.f)
 Force shutter flag event manually (close/open cycle) More...
 
void raiseSnapshotEvent ()
 Raise a software triggered snapshot event (comparable with PIF event)
 
bool isFlagOpen () const
 Check if shutter flag is open. More...
 
float getTempFlag () const
 Get temperature of shutter flag. More...
 
float getTempBox () const
 Get temperature of housing. More...
 
float getTempChip () const
 Get temperature of chip. More...
 
void enableChipHeating (bool enable)
 Enable heating of bolometers. More...
 
bool isChipHeatingEnabled () const
 Get state of bolometers heating. More...
 
void setTempChipReference (float t)
 Set reference input of bolometer heating (limited to +20° - 55°). More...
 
float getTempChipReference () const
 Get reference input of bolometer heating. More...
 
void setRadiationParameters (float emissivity, float transmissivity, float tAmbient=-999.f)
 Set radiation properties, i.e. More...
 
void setUseMultiThreading (bool useMultiThreading)
 Experimental feature: Use multi-threading to accelerate process call. More...
 
bool setFocusmotorPos (float pos)
 Set the position of the focusmotor. More...
 
float getFocusmotorPos () const
 Get the position of the focusmotor. More...
 
void onFlagState (unsigned int flagstate)
 Internal method not to be used by any application.
 
void onThermalFrameInit (unsigned int width, unsigned int height, unsigned short bitCount, long long avgTimePerFrame)
 Internal method not to be used by any application!
 
void onThermalFrame (unsigned short *buffer, IRFrameMetadata meta)
 Internal method not to be used by any application!
 
void onVisibleFrameInit (unsigned int width, unsigned int height)
 Internal method not to be used by any application!
 
void onVisibleFrame (unsigned char *buffer, IRFrameMetadata meta)
 Internal method not to be used by any application!
 
void onSnapshotEvent (unsigned short *thermal, unsigned short *energy, unsigned char *rgb, IRFrameMetadata meta, const IRArray< IREventData > &events)
 Internal method not to be used by any application!
 
void onProcessExit ()
 Internal method not to be used by any application!
 
void activateTrace (bool activate)
 Serialize image. More...
 
void printTrace (const unsigned int pixelID)
 Print trace record (needs to be activated before) More...
 
void setClippedFormatPosition (Point p)
 Set the clipped format position. More...
 
Point getClippedFormatPosition () const
 Get the clipped format position. More...
 
void setFlagForecast (bool value)
 Enable/Disable the flag forecast. More...
 
bool getFlagForecast () const
 Returns if flag forecast is enabled/disabled. More...
 
double getRadialDistortionCorrFact1 () const
 Get the first radial distortion correction factor (r^2). More...
 
void setRadialDistortionCorrFact1 (double value)
 Set the first (r^2) radial distortion correction factor (Brown's distortion model). More...
 
double getRadialDistortionCorrFact2 () const
 Get the second radial distortion correction factor (r^4). More...
 
void setRadialDistortionCorrFact2 (double value)
 Set the second (r^4) radial distortion correction factor (Brown's distortion model). More...
 
void setRadialDistortionCorr (RadialDistortionCorrectionMode value)
 Set the radial distortion correction mode. More...
 
RadialDistortionCorrectionMode getRadialDistortionCorr ()
 Get the radial distortion correction mode. More...
 
unsigned short getPifDICount () const
 Get the Pif count of digital input's. More...
 
unsigned short getPifAICount () const
 Get the Pif count of analog input's. More...
 
unsigned short getPifDOCount () const
 Get the Pif count of digital output's. More...
 
unsigned short getPifAOCount () const
 Get the Pif count of analog output's. More...
 
unsigned char getPifDeviceCount (bool actual) const
 Get the Pif Device Count. More...
 
void setPifAO (unsigned char channel, float value)
 Set the Pif Analog Output. More...
 
void setPifDO (unsigned char channel, bool value)
 Set the Pif Digital Output. More...
 
const IRFrameMetadatagetLastMetadata ()
 Returns the last meta data. More...
 
IRPifConfig getPifConfig () const
 Get the Pif Config object. More...
 
void setPifConfig (IRPifConfig config)
 Set the Pif Config. More...
 
IRPifConfig setPifType (IRPifType::Value pifType, unsigned char pifDeviceCount)
 Currently only for Xi80. More...
 
IRPifType::Value getPifType () const
 Returns the current pif type. More...
 
short getTemprangeDecimal () const
 Returns the number of decimal places in thermal data. More...
 
void setReferenceTemperature (float referenceTemperature, float measuredTemperature, float tAmbient=-999.f)
 Set a reference temperature to a known reference source inside the view of the camera to improve camera accuracy. More...
 

Static Public Member Functions

static const char *const getVersion ()
 Get libirimager version.
 

Detailed Description

Member Enumeration Documentation

◆ RadialDistortionCorrectionMode

Enumerator
Off 

Disable radial distortion correction.

Normal 

Enable radial distortion correction with cut off border.

Wide 

Enable radial distortion correction without cut off border.

Member Function Documentation

◆ activateTrace()

void evo::IRImager::activateTrace ( bool  activate)

Serialize image.

Parameters
[in]filenamefile name
[in]previewdestination buffer for preview data
[in]sizePreviewsize of destination buffer Activate trace module. If the processing chain needs to be debugged, this trace functionality might help. But be careful: Tracing is not thread safe! Do not use it in applications having more than one camera connected.
[in]activateactivation state

◆ checkCalibration()

Tchar * evo::IRImager::checkCalibration ( )

Check existence of calibration file set.

Class instance must be initialized before.

Returns
Returns NULL-pointer if no file is missing, otherwise path of missing files as comma separated list. Free returned pointer with delete[].

◆ enableChipHeating()

void evo::IRImager::enableChipHeating ( bool  enable)

Enable heating of bolometers.

Parameters
[in]enableenable flag

◆ forceFlagEvent()

void evo::IRImager::forceFlagEvent ( float  time = 0.f)

◆ getAutoFlag()

bool evo::IRImager::getAutoFlag ( ) const

Get flag automatic.

Returns
true=automatic enabled, false=automatic disabled

◆ getAvgTimePerFrame()

long long evo::IRImager::getAvgTimePerFrame ( ) const

◆ getBitCount()

unsigned short evo::IRImager::getBitCount ( ) const

Get # of bits used for temperature coding.

Returns
# of bits

◆ getClippedFormatPosition()

Point evo::IRImager::getClippedFormatPosition ( ) const

Get the clipped format position.

Returns uint max if not set previously.

Parameters
[out]Currentclipped format position

◆ getEnergyBuffer()

int evo::IRImager::getEnergyBuffer ( unsigned short *  buffer) const

Get energy buffer of previously acquired frame.

Parameters
[out]Outputbuffer (needs to be allocated outside having the size of getWidth()*getHeight())
Returns
success flag (==0)

◆ getFlagForecast()

bool evo::IRImager::getFlagForecast ( ) const

Returns if flag forecast is enabled/disabled.

Returns
true if flag forecast is enabled
false if flag forecast is disabled

◆ getFlagMaxInterval()

float evo::IRImager::getFlagMaxInterval ( ) const

Get flag max interval.

Returns
maximal interval in seconds

◆ getFlagMinInterval()

float evo::IRImager::getFlagMinInterval ( ) const

Get flag min interval.

Returns
minimal interval in seconds

◆ getFocusmotorPos()

float evo::IRImager::getFocusmotorPos ( ) const

Get the position of the focusmotor.

Parameters
[out]fucosmotor position in % (< 0 if no focusmotor available)

◆ getFWRevision()

◆ getHeight()

◆ getHeightIn()

unsigned int evo::IRImager::getHeightIn ( ) const

Get height of raw format (from UVC stream)

Returns
height

◆ getHWInterval()

float evo::IRImager::getHWInterval ( ) const

Get time interval between hardware frames (camera timestamp)

Returns
time interval in [s]

◆ getHWRevision()

unsigned int evo::IRImager::getHWRevision ( ) const

◆ getImageProcessingChain()

ImageProcessing * evo::IRImager::getImageProcessingChain ( )

Get pointer to image processing chain.

Returns
pointer to internally used image processing chain instance

◆ getLastMetadata()

const IRFrameMetadata & evo::IRImager::getLastMetadata ( )

Returns the last meta data.

Can be used for polling the PIF-Inputs

Examples
examples/linux/pif/IRPifExample.cpp.

◆ getMetaData()

int evo::IRImager::getMetaData ( unsigned char *  buffer,
int  size 
) const

Get meta data container of previously acquired frame.

Parameters
[out]Outputbuffer
[in]sizeSize of buffer in bytes
Returns
number of copied bytes

◆ getPifAICount()

unsigned short evo::IRImager::getPifAICount ( ) const

Get the Pif count of analog input's.

Returns
unsigned short Count of analog input's

◆ getPifAOCount()

unsigned short evo::IRImager::getPifAOCount ( ) const

Get the Pif count of analog output's.

Returns
unsigned short Count of analog output's

◆ getPifConfig()

IRPifConfig evo::IRImager::getPifConfig ( ) const

Get the Pif Config object.

Returns
IRPifConfig Returns the current pif config. If never set before represents the actual connected pif device.
Examples
/platform/windows/examples/pif/IRPifExample.cpp, and examples/linux/pif/IRPifExample.cpp.

◆ getPifDeviceCount()

unsigned char evo::IRImager::getPifDeviceCount ( bool  actual) const

Get the Pif Device Count.

Returns
unsigned char device count
Examples
/platform/windows/examples/pif/IRPifExample.cpp.

◆ getPifDICount()

unsigned short evo::IRImager::getPifDICount ( ) const

Get the Pif count of digital input's.

Returns
unsigned short Count of digital input's

◆ getPifDOCount()

unsigned short evo::IRImager::getPifDOCount ( ) const

Get the Pif count of digital output's.

Returns
unsigned short Count of digital output's

◆ getPifType()

IRPifType::Value evo::IRImager::getPifType ( ) const

Returns the current pif type.

Returns
IRPifType::Value Current pif type
Examples
/platform/windows/examples/pif/IRPifExample.cpp, and examples/linux/pif/IRPifExample.cpp.

◆ getRadialDistortionCorr()

RadialDistortionCorrectionMode evo::IRImager::getRadialDistortionCorr ( )

Get the radial distortion correction mode.

Parameters
[out]Currentdistortion correction mode

◆ getRadialDistortionCorrFact1()

double evo::IRImager::getRadialDistortionCorrFact1 ( ) const

Get the first radial distortion correction factor (r^2).

Parameters
[out]Currentfirst radial distortion correction factor (r^2)

◆ getRadialDistortionCorrFact2()

double evo::IRImager::getRadialDistortionCorrFact2 ( ) const

Get the second radial distortion correction factor (r^4).

Parameters
[out]Currentsecond radial distortion correction factor (r^4)

◆ getTempBox()

float evo::IRImager::getTempBox ( ) const

Get temperature of housing.

Returns
temperature

◆ getTempChip()

float evo::IRImager::getTempChip ( ) const

Get temperature of chip.

Returns
temperature

◆ getTempChipReference()

float evo::IRImager::getTempChipReference ( ) const

Get reference input of bolometer heating.

Returns
temperature of bolometers in °C

◆ getTemperatureTableParameters()

bool evo::IRImager::getTemperatureTableParameters ( double *  t1,
double *  t3,
double *  tJunct,
short *  e1,
short *  e3,
short *  eJunct,
double *  lambda,
double *  lambda2 
) const

Get temperature table parameters @params[out] t1 Temperature for 1st operating point @params[out] t3 Temperature for 2nd operating point @params[out] tJunct Crossover temperature of junction point between both ranges @params[out] e1 Energy of 1st operating point @params[out] e3 Energy of 2nd operating point @params[out] eJunct Energy of tJunct @params[out] lambda Central wave length of the Planck function (standard range for all imagers) @params[out] lambda2 Central wave length of the second range after tJunct (e.g.

for PI1M)

Returns
success flag: false is returned, if init method was not called before.

◆ getTempFlag()

float evo::IRImager::getTempFlag ( ) const

Get temperature of shutter flag.

Returns
temperature

◆ getTemprangeDecimal()

short evo::IRImager::getTemprangeDecimal ( ) const

◆ getVisibleHeight()

unsigned int evo::IRImager::getVisibleHeight ( ) const

Get image height of visible channel (if available)

Returns
Image height, i.e. number of rows
Examples
/platform/windows/examples/directshow/irimagerShow.cpp, examples/linux/oop/irimagerShowOOP.cpp, and examples/linux/opengl/irimagerShow.cpp.

◆ getVisibleWidth()

unsigned int evo::IRImager::getVisibleWidth ( ) const

Get image width of visible channel (if available)

Returns
Image width, i.e. number of columns
Examples
/platform/windows/examples/directshow/irimagerShow.cpp, examples/linux/oop/irimagerShowOOP.cpp, and examples/linux/opengl/irimagerShow.cpp.

◆ getWidth()

◆ getWidthIn()

unsigned int evo::IRImager::getWidthIn ( ) const

Get width of raw format (from UVC stream)

Returns
width

◆ hasBispectralTechnology()

bool evo::IRImager::hasBispectralTechnology ( ) const

Check if bispectral technology is available.

Returns
bispectral technology flag
Examples
/platform/windows/examples/directshow/irimagerShow.cpp, examples/linux/oop/irimagerShowOOP.cpp, and examples/linux/opengl/irimagerShow.cpp.

◆ init()

bool evo::IRImager::init ( IRDeviceParams params,
unsigned int  frequency,
unsigned int  width,
unsigned int  height,
bool  useHID,
unsigned short  hwRev = 0,
unsigned short  fwRev = 0 
)

Initializing routine, to be called after instantiation.

Parameters
[in]paramsDevice parameters
[in]frequencyFrame rate
[in]widthRaw image width (differs from thermal image)
[in]heightRaw image height (differs from thermal image)
[in]useHIDUse HID to control camera. If not, a dummy delegate is being used
[in]hwRevHardware revision
[in]fwRevFirmware revision
Examples
/platform/windows/examples/directshow/irExternalProbe.cpp, /platform/windows/examples/directshow/irimagerShow.cpp, /platform/windows/examples/directshow/irimagerShowOOP.cpp, /platform/windows/examples/minimal/serializeRaw.cpp, /platform/windows/examples/pif/IRPifExample.cpp, examples/linux/externalProbe/IRExternalProbe.cpp, examples/linux/minimal/serializeRaw.cpp, examples/linux/oop/irimagerShowOOP.cpp, examples/linux/opengl/irimagerShow.cpp, examples/linux/opengl/irimagerTwinShow.cpp, and examples/linux/pif/IRPifExample.cpp.

◆ initRawdataHeader()

void evo::IRImager::initRawdataHeader ( RawdataHeader header) const

Initialize Rawdata header with camera specific parameters.

Parameters
[out]headerRawdata header
Examples
/platform/windows/examples/minimal/serializeRaw.cpp, and examples/linux/minimal/serializeRaw.cpp.

◆ isChipHeatingEnabled()

bool evo::IRImager::isChipHeatingEnabled ( ) const

Get state of bolometers heating.

Returns
enable flag

◆ isFlagOpen()

bool evo::IRImager::isFlagOpen ( ) const

Check if shutter flag is open.

Returns
flag open
Examples
examples/linux/opengl/irimagerShow.cpp.

◆ printTrace()

void evo::IRImager::printTrace ( const unsigned int  pixelID)

Print trace record (needs to be activated before)

Parameters
[in]pixelIDID of pixel, which should be investigated

◆ process()

void evo::IRImager::process ( unsigned char *  buffer,
void *  arg = NULL 
)

◆ setAutoFlag()

void evo::IRImager::setAutoFlag ( bool  autoFlag)

Set flag automatic.

Parameters
[in]autoFlagtrue=enable automatic, false=disable automatic

◆ setClient()

void evo::IRImager::setClient ( IRImagerClient client)

Set client as callback receiver.

Parameters
[in]clientcallback client

◆ setClippedFormatPosition()

void evo::IRImager::setClippedFormatPosition ( Point  p)

Set the clipped format position.

For PI1M only position with x=0 are valid.

Parameters
[in]pUpper left x and y position for clipped area

◆ setFlagForecast()

void evo::IRImager::setFlagForecast ( bool  value)

Enable/Disable the flag forecast.

Parameters
true,ifflag forecast should be enabled

◆ setFlagMaxInterval()

void evo::IRImager::setFlagMaxInterval ( float  seconds)

Set flag max interval.

Parameters
[in]floatmaximal interval in seconds

◆ setFlagMinInterval()

void evo::IRImager::setFlagMinInterval ( float  seconds)

Set flag min interval.

Parameters
[in]floatminimal interval in seconds

◆ setFlagStateCallback()

void evo::IRImager::setFlagStateCallback ( fptrIRFlagState  callback)

Set callback function to be called for changing flag states.

Parameters
[in]callbackPointer to callback function for flag state events
Examples
/platform/windows/examples/directshow/irimagerShow.cpp, and examples/linux/opengl/irimagerShow.cpp.

◆ setFocusmotorPos()

bool evo::IRImager::setFocusmotorPos ( float  pos)

Set the position of the focusmotor.

Parameters
[in]posfucos motor position in %
[out]errorreturn value; false if no focusmotor is available

◆ setPifAO()

void evo::IRImager::setPifAO ( unsigned char  channel,
float  value 
)

Set the Pif Analog Output.

Parameters
channelAO-Channel number starting with 0
valueValue to be set. Value is Ampere or Voltage, depends on set AnalogMode of IRPifConfig.
Examples
/platform/windows/examples/pif/IRPifExample.cpp, and examples/linux/pif/IRPifExample.cpp.

◆ setPifConfig()

void evo::IRImager::setPifConfig ( IRPifConfig  config)

Set the Pif Config.

Parameters
configConfig with new pif configuration
Examples
/platform/windows/examples/pif/IRPifExample.cpp, and examples/linux/pif/IRPifExample.cpp.

◆ setPifDO()

void evo::IRImager::setPifDO ( unsigned char  channel,
bool  value 
)

Set the Pif Digital Output.

Parameters
channelDO-Channel number starting with 0
valueValue to be set.
Examples
/platform/windows/examples/pif/IRPifExample.cpp, and examples/linux/pif/IRPifExample.cpp.

◆ setPifType()

IRPifConfig evo::IRImager::setPifType ( IRPifType::Value  pifType,
unsigned char  pifDeviceCount 
)

Currently only for Xi80.

Set pif type to extern stackable pif or intern

Parameters
pifTypeType of pif
pifDeviceCountCount of pif devices
Returns
IRPifConfig New initialized pif config for type
Examples
/platform/windows/examples/pif/IRPifExample.cpp, and examples/linux/pif/IRPifExample.cpp.

◆ setProcessExitCallback()

void evo::IRImager::setProcessExitCallback ( fptrIRProcessEvent  callback)

Set callback function to be called when the process method has finalized its work.

Parameters
[in]callbackPointer to callback function for exit event of process method
Examples
/platform/windows/examples/directshow/irimagerShow.cpp, and examples/linux/opengl/irimagerShow.cpp.

◆ setRadialDistortionCorr()

void evo::IRImager::setRadialDistortionCorr ( RadialDistortionCorrectionMode  value)

Set the radial distortion correction mode.

Parameters
[in]Distortioncorrection mode

◆ setRadialDistortionCorrFact1()

void evo::IRImager::setRadialDistortionCorrFact1 ( double  value)

Set the first (r^2) radial distortion correction factor (Brown's distortion model).

Parameters
[in]Firstradial distortion correction factor (r^2)

◆ setRadialDistortionCorrFact2()

void evo::IRImager::setRadialDistortionCorrFact2 ( double  value)

Set the second (r^4) radial distortion correction factor (Brown's distortion model).

First factor also needs to be non-zero to enable radial distortion correction.

Parameters
[in]Secondradial distortion correction factor (r^4)

◆ setRadiationParameters()

void evo::IRImager::setRadiationParameters ( float  emissivity,
float  transmissivity,
float  tAmbient = -999.f 
)

Set radiation properties, i.e.

emissivity and transmissivity parameters

Parameters
[in]emissivityemissivity of observed object [0;1]
[in]transmissivitytransmissivity of observed object [0;1]
[in]tAmbientambient temperature, setting invalid values (below -273,15 degrees) forces the library to take its own measurement values.
Examples
/platform/windows/examples/directshow/irExternalProbe.cpp, /platform/windows/examples/directshow/irimagerShow.cpp, and examples/linux/opengl/irimagerShow.cpp.

◆ setReferenceTemperature()

void evo::IRImager::setReferenceTemperature ( float  referenceTemperature,
float  measuredTemperature,
float  tAmbient = -999.f 
)

Set a reference temperature to a known reference source inside the view of the camera to improve camera accuracy.

Parameters
[in]referenceTemperatureReal temperature of reference source
[in]measuredTemperatureMeasured temperature from camera of reference source
[in]tAmbientAmbient temperature, setting invalid values (below -273,15 degrees) forces the library to take its own measurement values.
Examples
/platform/windows/examples/directshow/irExternalProbe.cpp, and examples/linux/externalProbe/IRExternalProbe.cpp.

◆ setTempChipReference()

void evo::IRImager::setTempChipReference ( float  t)

Set reference input of bolometer heating (limited to +20° - 55°).

The chip temperature can be monitored with getTempChip().

Parameters
[in]ttemperature in °C

◆ setTempRange()

bool evo::IRImager::setTempRange ( int  tMin,
int  tMax 
)

Set temperature range.

Parameters
[in]tMinMinimal temperature, e.g. -20, 0, 150
[in]tMaxMaximum temperature, e.g. 100, 250, 900

◆ setThermalFrameCallback()

void evo::IRImager::setThermalFrameCallback ( fptrIRThermalFrame  callback)

◆ setThermalFrameEventCallback()

void evo::IRImager::setThermalFrameEventCallback ( fptrIRThermalSnapshot  callback)

Set callback function to be called for PIF or software trigger events.

Parameters
[in]callbackPointer to callback function for events
Examples
examples/linux/opengl/irimagerShow.cpp, and examples/linux/pif/IRPifExample.cpp.

◆ setUseMultiThreading()

void evo::IRImager::setUseMultiThreading ( bool  useMultiThreading)

Experimental feature: Use multi-threading to accelerate process call.

Parameters
[in]useMultiThreadingActivate/Deactivate multi-threading
Examples
examples/linux/opengl/irimagerShow.cpp.

◆ setVisibleFrameCallback()

void evo::IRImager::setVisibleFrameCallback ( fptrIRVisibleFrame  callback)

Set callback function to be called for new frames.

Parameters
[in]callbackPointer to callback function for visible channel
Examples
/platform/windows/examples/directshow/irimagerShow.cpp, and examples/linux/opengl/irimagerShow.cpp.

◆ setVisibleFrameEventCallback()

void evo::IRImager::setVisibleFrameEventCallback ( fptrIRVisibleSnapshot  callback)

Set callback function to be called for PIF or software trigger events.

Parameters
[in]callbackPointer to callback function for events
Examples
examples/linux/opengl/irimagerShow.cpp, and examples/linux/pif/IRPifExample.cpp.

The documentation for this class was generated from the following file: