Actually add the gaussian blur

This commit is contained in:
Tim Zeuner 2022-11-10 21:12:45 +01:00
parent 0d619a22f8
commit 8f3cd70d36

View File

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