Browse Source

Actually add the gaussian blur

pull/1/head
Tim Zeuner 2 years ago
parent
commit
8f3cd70d36
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Processing/processing.cpp

+ 1
- 0
Processing/processing.cpp View File

// 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…
Cancel
Save