当前位置:网站首页>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;
}


边栏推荐
- 基于人脸识别的树莓派门禁系统
- 基于机智云平台的温湿度和光照强度获取
- @3-1 CCF 2020-09-1 scale detection point query
- How to add other PHP versions to MAMP
- First acquaintance with opencv4.x --- ROI interception
- 1094 - Google recruitment
- Prim minimum spanning tree (diagram)
- AMD EPYC 9664旗舰规格曝光:96核192线程 480MB缓存 3.8GHz频率
- 服务器cuda toolkit多版本切换
- [deep learning] self encoder
猜你喜欢

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

预测2021年:加速实现RPA以外的超自动化成果

基于PackNet的演进——丰田研究院(TRI)深度估计文章盘点(下)

*6-3 save small experts

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

Yolov5 realizes target detection of small data sets -- kolektor defect data set

How to install pytorch—— A most simple and effective method!

CCF 201503-4 网络延时

Segmentation-based deep-learning approach for surface-defectdetection(基于分割的表面缺陷深度学习检测方法)

【数据挖掘】第三章 数据分析基础
随机推荐
初识Opencv4.X----为图像添加高斯噪声
CDA Level1复盘总结
cf #785(div2) C. Palindrome Basis
基于机智云平台的温湿度和光照强度获取
Use kotlin use to simplify file reading and writing
CCF 201509-2 日期计算
*6-2 CCF 2015-03-3 Festival
【Tensorflow2安装】Tensorflow2.3-CPU安装避坑指南!!!
一张图讲解 SQL Join 左连 又连
Development history of convolutional neural network (part)
CCF 201503-4 网络延时
[deep learning] self encoder
缺陷检测网络--混合监督(kolektor缺陷数据集复现)
matlab如何导入大量数据
从Anaconda到TensorFlow到Jupyter一路踩坑一路填平
Surfaceview flash screen (black problem)
AI模型风险评估 第1部分:动机
Kotlin realizes file download
初识Opencv4.X----方框滤波
括号匹配问题