Create prototype for line segment calculation to test linking processing to utils
This commit is contained in:
parent
2c0bc0b35a
commit
c5e762f0f9
@ -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);
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user