Add ImageManager
This commit is contained in:
30
FaultManager.hpp
Normal file
30
FaultManager.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef FAULTMANAGER_H
|
||||
#define FAULTMANAGER_H
|
||||
|
||||
#include <opencv2/core.hpp>
|
||||
|
||||
class FaultManager
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
FaultManager(int temp, double area)
|
||||
{
|
||||
if (temp)
|
||||
temp = temp;
|
||||
if (area)
|
||||
area = area;
|
||||
}
|
||||
|
||||
void SaveImage(cv::Mat image);
|
||||
|
||||
int GetTemp();
|
||||
double GetArea();
|
||||
|
||||
private:
|
||||
|
||||
int temp = 100;
|
||||
double area = 100;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user