代码案例: #include<iostream>#include<math.h>#include<opencv2/opencv.hpp>#include<opencv2/highgui.hpp>#include <opencv2/highgui/highgui_c.h>using namespace std;using namespace cv;void Canny_demo(int, void*);Mat src, gray_src;int max_range = 255;int min_threshold = 20;int main(){//...