I am getting error with the following code where \'src\' is a gray image -
applyLocalThresh(cv::Mat &src, cv::Mat& out){ double maxVal, minVal; cv