12345678910111213141516171819202122 |
- #include "processing.h"
-
- Processing::Processing(/* args */)
- {
- }
-
- Processing::~Processing()
- {
- }
-
- Mat Processing::calculate_binaray(Mat& inputPicture, int thresholdValue)
- {
- //Mat &outputPicture;
- 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>();
- }
|