Actually add the gaussian blur
This commit is contained in:
parent
0d619a22f8
commit
8f3cd70d36
@ -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.
|
// No return value here as the input is passed by reference -> directly modified.
|
||||||
cvtColor(inputPicture, inputPicture, COLOR_BGR2GRAY);
|
cvtColor(inputPicture, inputPicture, COLOR_BGR2GRAY);
|
||||||
threshold(inputPicture, inputPicture, thresholdValue, 255, THRESH_BINARY);
|
threshold(inputPicture, inputPicture, thresholdValue, 255, THRESH_BINARY);
|
||||||
|
GaussianBlur(inputPicture, inputPicture, Size(gaussKernelSize, gaussKernelSize), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<LFRLine> Processing::calculateLineSegments(const Mat& inputPicture)
|
std::vector<LFRLine> Processing::calculateLineSegments(const Mat& inputPicture)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user