当前位置:网站首页>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]
- ucore lab 6
- Market trend report, technical innovation and market forecast of Chinese hospital respiratory humidification equipment
- STM32 learning record: input capture application
- Borg Maze (BFS+最小生成树)(解题报告)
- TCP的三次握手与四次挥手
- Report on the market trend, technological innovation and market forecast of printing and decorative paper in China
- mysql导入数据库报错 [Err] 1273 – Unknown collation: ‘utf8mb4_0900_ai_ci’
- LeetCode#53. Maximum subarray sum
- Learning record: understand systick system timer and write delay function
猜你喜欢
Matlab comprehensive exercise: application in signal and system
Crawling cat's eye movie review, data visualization analysis source code operation instructions
学习记录:使用STM32外部输入中断
基于web的照片数码冲印网站
STM32如何使用STLINK下载程序:点亮LED跑马灯(库版本)
VS2019初步使用
12306: mom, don't worry about me getting the ticket any more (1)
STM32学习记录:输入捕获应用
LeetCode#19. Delete the penultimate node of the linked list
Visual analysis of data related to crawling cat's eye essays "sadness flows upstream into a river" | the most moving film of Guo Jingming's five years
随机推荐
学习记录:使用STM32外部输入中断
E. Breaking the Wall
Accounting regulations and professional ethics [5]
Market trend report, technical innovation and market forecast of lip care products in China and Indonesia
编程到底难在哪里?
China potato slicer market trend report, technical dynamic innovation and market forecast
cs零基础入门学习记录
JS --- detailed explanation of JS facing objects (VI)
Opencv learning log 12 binarization of Otsu method
力扣刷题记录
学习记录:如何进行PWM 输出
LeetCode#53. Maximum subarray sum
Research Report of pharmaceutical solvent industry - market status analysis and development prospect prediction
毕业才知道IT专业大学生毕业前必做的1010件事
STM32 learning record: input capture application
学习记录:TIM—基本定时器
Cost accounting [23]
STM32 how to use stlink download program: light LED running light (Library version)
LeetCode#204. Count prime
STM32学习记录:LED灯闪烁(寄存器版)