#include "processing.h" Processing::Processing(/* args */) { } Processing::~Processing() { } void Processing::processImage(Mat& inputPicture, int thresholdValue, int gaussKernelSize) { //Idea here is: Processing module consists of two methods: // One (this) to do all kinds of stuff to the picture (grayscale conversion, threshold, gauss etc etc) // And one (the other one) to segment the lines. // 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); } std::vector Processing::calculateLineSegments(const Mat& inputPicture) { return std::vector(); }