For configuring and applying radiometric mapping to thermal images. More...
#include <radiometric.hpp>
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. | |
For configuring and applying radiometric mapping to thermal images.
Definition at line 11 of file radiometric.hpp.
| rScheme::rScheme | ( | ) |
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.
| mM | Mapping matrix |
| minT | Minimum temperature |
| maxT | Maximum temperature |
| minG | Minimum graylevel |
| maxG | Maximum graylevel |
Definition at line 10 of file radiometric.cpp.
Destructor.
Definition at line 16 of file radiometric.cpp.
| 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.
| src | Source (raw) image |
| dst | Target (corrected) image |
| thermistorTemp | Temperature of on-board thermistor |
| interpolateVal | Flag 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.
| mM | Mapping matrix |
| minT | Minimum temperature |
| maxT | Maximum temperature |
| minG | Minimum graylevel |
| maxG | Maximum graylevel |
Definition at line 22 of file radiometric.cpp.
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.