18 #if !defined SOBELEDGES
23 #include <opencv2/core/core.hpp>
24 #include <opencv2/imgproc/imgproc.hpp>
107 void computeSobel(
const cv::Mat image, cv::Mat sobelX=cv::Mat(), cv::Mat sobelY=cv::Mat()) {
110 cv::Sobel(image,sobelX,CV_32F,1,0,
aperture);
111 cv::Sobel(image,sobelY,CV_32F,0,1,
aperture);
135 cv::threshold(
sobelMagnitude,bin,threshold,255,cv::THRESH_BINARY_INV);
145 double minval, maxval;
cv::Mat getSobelOrientationImage()
void computeSobel(const cv::Mat image, cv::Mat sobelX=cv::Mat(), cv::Mat sobelY=cv::Mat())
cv::Mat getBinaryMap(double threshold)