Go to the documentation of this file.00001
00005 #ifndef _THERMALVIS_RADIOMETRIC_H_
00006 #define _THERMALVIS_RADIOMETRIC_H_
00007
00008 #include "improc.hpp"
00009
00011 class rScheme {
00012 protected:
00013
00015 float minTemp;
00016
00018 float maxTemp;
00019
00021 float minGraylevel;
00022
00024 float maxGraylevel;
00025
00027 cv::Mat mappingMatrix;
00028
00029 public:
00031 rScheme();
00032
00039 rScheme(const cv::Mat &mM, const double &minT, const double &maxT, const double &minG, const double &maxG);
00040
00042 ~rScheme();
00043
00050 void update(const cv::Mat &mM, const double &minT, const double &maxT, const double &minG, const double &maxG);
00051
00057
00058 void apply(const cv::Mat& src, cv::Mat& dst, float thermistorTemp = 35.0, float interpolateVal = false);
00059
00060 };
00061
00062 #endif