Public Member Functions | Protected Attributes
rScheme Class Reference

For configuring and applying radiometric mapping to thermal images. More...

#include <radiometric.hpp>

List of all members.

Public Member Functions

void apply (const cv::Mat &src, cv::Mat &dst, float thermistorTemp=35.0, float interpolateVal=false)
 Applies the radiometric mapping to generate a new radiometrically consistent image.
 rScheme ()
 Constructor.
 rScheme (const cv::Mat &mM, const double &minT, const double &maxT, const double &minG, const double &maxG)
 Constructor.
void update (const cv::Mat &mM, const double &minT, const double &maxT, const double &minG, const double &maxG)
 Assigns new data to the model.
 ~rScheme ()
 Destructor.

Protected Attributes

cv::Mat mappingMatrix
 Mapping matrix.
float maxGraylevel
 Maximum image graylevel that the model can work for.
float maxTemp
 Maximum sensor (thermistor) temperature that the model can work for.
float minGraylevel
 Minimum image graylevel that the model can work for.
float minTemp
 Minimum sensor (thermistor) temperature that the model can work for.

Detailed Description

For configuring and applying radiometric mapping to thermal images.

Definition at line 11 of file radiometric.hpp.


Constructor & Destructor Documentation

Constructor.

Definition at line 6 of file radiometric.cpp.

rScheme::rScheme ( const cv::Mat &  mM,
const double &  minT,
const double &  maxT,
const double &  minG,
const double &  maxG 
)

Constructor.

Parameters:
mMMapping matrix
minTMinimum temperature
maxTMaximum temperature
minGMinimum graylevel
maxGMaximum graylevel

Definition at line 10 of file radiometric.cpp.

Destructor.

Definition at line 16 of file radiometric.cpp.


Member Function Documentation

void rScheme::apply ( const cv::Mat &  src,
cv::Mat &  dst,
float  thermistorTemp = 35.0,
float  interpolateVal = false 
)

Applies the radiometric mapping to generate a new radiometrically consistent image.

Parameters:
srcSource (raw) image
dstTarget (corrected) image
thermistorTempTemperature of on-board thermistor
interpolateValFlag to interpolate temp estimate using lookup table

Definition at line 34 of file radiometric.cpp.

void rScheme::update ( const cv::Mat &  mM,
const double &  minT,
const double &  maxT,
const double &  minG,
const double &  maxG 
)

Assigns new data to the model.

Parameters:
mMMapping matrix
minTMinimum temperature
maxTMaximum temperature
minGMinimum graylevel
maxGMaximum graylevel

Definition at line 22 of file radiometric.cpp.


Member Data Documentation

cv::Mat rScheme::mappingMatrix [protected]

Mapping matrix.

Definition at line 27 of file radiometric.hpp.

float rScheme::maxGraylevel [protected]

Maximum image graylevel that the model can work for.

Definition at line 24 of file radiometric.hpp.

float rScheme::maxTemp [protected]

Maximum sensor (thermistor) temperature that the model can work for.

Definition at line 18 of file radiometric.hpp.

float rScheme::minGraylevel [protected]

Minimum image graylevel that the model can work for.

Definition at line 21 of file radiometric.hpp.

float rScheme::minTemp [protected]

Minimum sensor (thermistor) temperature that the model can work for.

Definition at line 15 of file radiometric.hpp.


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


thermalvis
Author(s): Stephen Vidas
autogenerated on Sun Jan 5 2014 11:38:45