学习c++版opencv3.4之18-sobel算子

sobel算子得到的是图像在x方向和y方向的梯度图像。拉普拉斯算子得到二阶梯度。 #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace std; using namespace cv; int threshold_value = 100, threshold_max = 255;
相关文章
相关标签/搜索