当前位置:网站首页>First knowledge of opencv4.x ---- mean filtering
First knowledge of opencv4.x ---- mean filtering
2022-07-25 09:51:00 【F l e】
// Mean filtering
#include <stdio.h>
#include <iostream>
#include <string>
#include <opencv2\opencv.hpp>
using namespace std;
using namespace cv;
int main()
{
// Mean filtering
Mat img_gaussion = imread("gaussion.jpg");
Mat img_salt = imread("salt.jpg");
Mat gaussion_result, salt_result;
blur(img_gaussion, gaussion_result, Size(3, 3));
blur(img_salt, salt_result, Size(3, 3));
imshow("img_gaussion", img_gaussion);
imshow("gaussion_result", gaussion_result);
imshow("img_salt", img_salt);
imshow("salt_result", salt_result);
waitKey(0);
return 0;
}


边栏推荐
- Gartner 2022年顶尖科技趋势之超级自动化
- Use kotlin use to simplify file reading and writing
- pytorch使用tensorboard实现可视化总结
- 初识Opencv4.X----均值滤波
- [data mining] nearest neighbor and Bayesian classifier
- 从鱼眼到环视到多任务王炸——盘点Valeo视觉深度估计经典文章(从FisheyeDistanceNet到OmniDet)(下)
- 十进制整数转换为其它进制的数
- CCF 201512-4 送货
- 【数据挖掘】第四章 分类任务(决策树)
- @3-1 CCF 2020-09-1 scale detection point query
猜你喜欢

初识Opencv4.X----图像直方图均衡

Creation of adjacency matrix of undirected connected graph output breadth depth traversal

数字IC设计SOC入门进阶

cf #785(div2) C. Palindrome Basis

@3-1 CCF 2020-09-1 scale detection point query

First knowledge of opencv4.x --- image template matching

CUDA 解释 - 深度学习为何使用 GPU

~1 CCF 2022-06-2 treasure hunt! Big adventure!

T5论文总结

Android & kotlin: puzzle solution
随机推荐
[code source] I have a big head for a problem every day
CDA LEVELⅠ2021新版模拟题一(附答案)
Preliminary understanding and implementation of wechat applet bottom navigation bar
matlab如何导入大量数据
First knowledge of opencv4.x --- image template matching
解决QTCreator使用VS编译中文乱码错误
¥ 1-3 SWUST OJ 942: reverse sequence table
TensorFlow2 安装快速避坑汇总
基于PackNet的演进——丰田研究院(TRI)深度估计文章盘点(下)
初识Opencv4.X----方框滤波
Chmod and chown invalidate the files of the mounted partition
Development history of convolutional neural network (part)
Constant power wireless charging based on stm32
Surfaceview flash screen (black problem)
降低程序空间复杂度的一些技巧
CCF 201512-4 送货
Kotlin basic knowledge points
Creation of adjacency matrix of undirected connected graph output breadth depth traversal
关于MLOps中的数据工程,你一定要知道的.......
AI模型风险评估 第1部分:动机