Create prototype for line segment calculation to test linking processing to utils

This commit is contained in:
Tim Zeuner 2022-11-10 17:09:00 +01:00
parent 2c0bc0b35a
commit c5e762f0f9
2 changed files with 9 additions and 1 deletions

View File

@ -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>();
}

View File

@ -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);
};