当前位置:网站首页>Opencv learning log 18 Canny operator
Opencv learning log 18 Canny operator
2022-07-06 15:43:00 【@Spring sauce】
Preface
This article is mainly about opencv in canny Use of operators .
One 、canny operator
// The first question is call canny operator
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main()
{
cv::Mat dstMat;
cv::Mat srcMat = imread("C://Users//john//Desktop//1.jpg",0);
Canny(srcMat, dstMat, 75, 80, 3, false);
imshow("dstMat", dstMat);
waitKey(0);
}
summary
1. The code can run directly , If you don't understand, please leave a message .
边栏推荐
猜你喜欢
FSM and I2C experiment report
MATLAB实例:阶跃函数的两种表达方式
学习记录:USART—串口通讯
Optimization method of path problem before dynamic planning
ucore lab7
差分(一维,二维,三维) 蓝桥杯三体攻击
Crawling cat's eye movie review, data visualization analysis source code operation instructions
STM32 how to use stlink download program: light LED running light (Library version)
学习记录:串口通信和遇到的错误解决方法
ucorelab4
随机推荐
Interesting drink
E. Breaking the Wall
Matlab example: two expressions of step function
mysql导入数据库报错 [Err] 1273 – Unknown collation: ‘utf8mb4_0900_ai_ci’
LeetCode#19. Delete the penultimate node of the linked list
LeetCode#268. Missing numbers
C语言数组的概念
学习记录:理解 SysTick系统定时器,编写延时函数
程序员的你,有哪些炫技的代码写法?
Stm32 dossiers d'apprentissage: saisie des applications
Cost accounting [13]
ucore lab5
Learning records: serial communication and solutions to errors encountered
JS --- detailed explanation of JS DOM (IV)
Path problem before dynamic planning
Cost accounting [13]
Accounting regulations and professional ethics [2]
HDU - 6024 Building Shops(女生赛)
Learning record: Tim - Basic timer
Research Report on market supply and demand and strategy of geosynthetics industry in China