非最大信号抑制:不是最大信号就舍弃;
L1表示
L2表示
API:
#include<opencv2/opencv.hpp>
#include <iostream>
#include <opencv2/highgui/highgui_c.h>
using namespace std;
using namespace cv;
Mat src, temp, gray_src, dst;
int t1_value = 50;
int max_value = 255;
cons
非最大信号抑制:不是最大信号就舍弃;
L1表示
L2表示
API:
#include<opencv2/opencv.hpp>
#include <iostream>
#include <opencv2/highgui/highgui_c.h>
using namespace std;
using namespace cv;
Mat src, temp, gray_src, dst;
int t1_value = 50;
int max_value = 255;
cons