当前位置:网站首页>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 .
边栏推荐
- Cost accounting [17]
- 学习记录:USART—串口通讯
- Market trend report, technical innovation and market forecast of geosynthetic clay liner in China
- 学习记录:TIM—基本定时器
- 数据在内存中的存储&载入内存,让程序运行起来
- ucore lab 6
- Shell脚本编程
- STM32学习记录:输入捕获应用
- Determine the Photo Position
- Perinatal Software Industry Research Report - market status analysis and development prospect forecast
猜你喜欢

Learning record: STM32F103 clock system overview working principle

洛谷P1102 A-B数对(二分,map,双指针)

Crawler series (9): item+pipeline data storage

STM32 how to use stlink download program: light LED running light (Library version)

STM32如何使用STLINK下载程序:点亮LED跑马灯(库版本)

学习记录:USART—串口通讯

STM32 learning record: LED light flashes (register version)

学习记录:理解 SysTick系统定时器,编写延时函数

VS2019初步使用

动态规划前路径问题优化方式
随机推荐
程序员的你,有哪些炫技的代码写法?
SSM框架常用配置文件
Hospital privacy screen Industry Research Report - market status analysis and development prospect forecast
Research Report on market supply and demand and strategy of China's land incineration plant industry
ucore lab 2
力扣刷题记录--完全背包问题(一)
Cost accounting [13]
ucorelab4
LeetCode#118. Yanghui triangle
Cost accounting [16]
学习记录:理解 SysTick系统定时器,编写延时函数
7-1 懂的都懂 (20 分)
Shell脚本编程
0-1背包問題(一)
Determine the Photo Position
Cost accounting [20]
ucore lab5
基于web的照片数码冲印网站
Cost accounting [24]
E. Breaking the Wall