cvtColor(inputPicture, inputPicture, COLOR_BGR2GRAY); | cvtColor(inputPicture, inputPicture, COLOR_BGR2GRAY); | ||||
threshold(inputPicture, inputPicture, thresholdValue, 255, THRESH_BINARY); | threshold(inputPicture, inputPicture, thresholdValue, 255, THRESH_BINARY); | ||||
return inputPicture; | return inputPicture; | ||||
} | |||||
} | |||||
std::vector<LFRLine> Processing::calculate_line_segments(const Mat& inputPicture) | |||||
{ | |||||
return std::vector<LFRLine>(); | |||||
} |
#include <iostream> | #include <iostream> | ||||
#include <opencv2/opencv.hpp> | #include <opencv2/opencv.hpp> | ||||
#include <utils.h> | |||||
using namespace cv; | using namespace cv; | ||||
~Processing(); | ~Processing(); | ||||
Mat calculate_binaray(Mat& inputPicture, int thresholdValue); | Mat calculate_binaray(Mat& inputPicture, int thresholdValue); | ||||
std::vector<LFRLine> calculate_line_segments(const Mat& inputPicture); | |||||
}; | }; |