@@ -14,4 +14,9 @@ Mat Processing::calculate_binaray(Mat& inputPicture, int thresholdValue) | |||
cvtColor(inputPicture, inputPicture, COLOR_BGR2GRAY); | |||
threshold(inputPicture, inputPicture, thresholdValue, 255, THRESH_BINARY); | |||
return inputPicture; | |||
} | |||
} | |||
std::vector<LFRLine> Processing::calculate_line_segments(const Mat& inputPicture) | |||
{ | |||
return std::vector<LFRLine>(); | |||
} |
@@ -1,5 +1,6 @@ | |||
#include <iostream> | |||
#include <opencv2/opencv.hpp> | |||
#include <utils.h> | |||
using namespace cv; | |||
@@ -17,4 +18,6 @@ public: | |||
~Processing(); | |||
Mat calculate_binaray(Mat& inputPicture, int thresholdValue); | |||
std::vector<LFRLine> calculate_line_segments(const Mat& inputPicture); | |||
}; |