@@ -16,6 +16,7 @@ void Processing::processImage(Mat& inputPicture, int thresholdValue, int gaussKe | |||
// No return value here as the input is passed by reference -> directly modified. | |||
cvtColor(inputPicture, inputPicture, COLOR_BGR2GRAY); | |||
threshold(inputPicture, inputPicture, thresholdValue, 255, THRESH_BINARY); | |||
GaussianBlur(inputPicture, inputPicture, Size(gaussKernelSize, gaussKernelSize), 0); | |||
} | |||
std::vector<LFRLine> Processing::calculateLineSegments(const Mat& inputPicture) |