当前位置:网站首页>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 [22]
- JS --- BOM details of JS (V)
- 学习记录:TIM—基本定时器
- Flex --- detailed explanation of flex layout attributes
- Research Report on market supply and demand and strategy of China's Medical Automation Industry
- LeetCode#118. Yanghui triangle
- Opencv learning log 12 binarization of Otsu method
- 想应聘程序员,您的简历就该这样写【精华总结】
- ucore lab 2
- Cost accounting [18]
猜你喜欢
Crawler series (9): item+pipeline data storage
学习记录:TIM—基本定时器
Nodejs+vue网上鲜花店销售信息系统express+mysql
STM32如何使用STLINK下载程序:点亮LED跑马灯(库版本)
Crawling cat's eye movie review, data visualization analysis source code operation instructions
JS --- BOM details of JS (V)
csapp shell lab
mysql导入数据库报错 [Err] 1273 – Unknown collation: ‘utf8mb4_0900_ai_ci’
JS --- all knowledge of JS objects and built-in objects (III)
Unpleasant error typeerror: cannot perform 'ROR_‘ with a dtyped [float64] array and scalar of type [bool]
随机推荐
0-1背包問題(一)
C语言必背代码大全
Research Report of exterior wall insulation system (ewis) industry - market status analysis and development prospect prediction
Accounting regulations and professional ethics [5]
学习记录:串口通信和遇到的错误解决方法
ucorelab3
数据在内存中的存储&载入内存,让程序运行起来
Crawler series (9): item+pipeline data storage
Opencv learning log 12 binarization of Otsu method
Cost accounting [22]
Learning record: Tim - capacitive key detection
VS2019初步使用
Cost accounting [13]
JS调用摄像头
Es6---es6 content details
Find 3-friendly Integers
Alice and Bob (2021牛客暑期多校训练营1)
Cost accounting [14]
学习记录:TIM—基本定时器
Market trend report, technical innovation and market forecast of lip care products in China and Indonesia