2019-07-13(day036_Canny算子:边缘提取)

2019-07-13  本文已影响0人  雨住多一横

c++

#include"all.h"
using namespace std;
using namespace cv;

void MyClass::day036() {
    Mat img = read(PATH + "images\\test.jpg"), dst;

    imshow("input", img);
    Canny(img, dst, 100, 300, 3, false);
    imshow("Canny", dst);
    waitKey(0);
}

c++中新知识点
Canny算子:边缘提取

上一篇 下一篇

猜你喜欢

热点阅读