当前位置:网站首页>初识Opencv4.X----均值滤波
初识Opencv4.X----均值滤波
2022-07-25 09:22:00 【F l e】
//均值滤波
#include <stdio.h>
#include <iostream>
#include <string>
#include <opencv2\opencv.hpp>
using namespace std;
using namespace cv;
int main()
{
//均值滤波
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;
}


边栏推荐
- Singleton mode
- Machine learning -- detailed introduction of standardscaler (), transform (), fit () in sklearn package
- Stm32+hc05 serial port Bluetooth design simple Bluetooth speaker
- main函数的一些操作
- 作业7.19 顺序表
- A brief introduction to the interest of convolutional neural networks
- [code source] a prime number of fun every day (BFS)
- Go foundation 2
- [code source] daily one question non decreasing 01 sequence
- 为什么要使用JSON.stringify()和JSON.parse()
猜你喜欢
随机推荐
[code source] a prime number of fun every day (BFS)
uni-app如何获取位置信息(经纬度)
laravel 调用第三方 发送邮件 (php)
CoreData存储待办事项
¥1-3 SWUST oj 942: 逆置顺序表
微信小程序初步了解及实现底部导航栏
Neural network method -- Boston house price (regression problem)
【cf】Round 128 C. Binary String
How to customize the title content of uni app applet (how to solve the problem that the title of applet is not centered)
@3-1 CCF 2020-09-1 称检测点查询
Install MySQL in Ubuntu and create new users
Week summary
Operation 7.19 sequence table
## 使用 Kotlin USE 简化文件读写
How many regions can a positive odd polygon be divided into
What is cerebral fissure?
[GYCTF2020]Ez_ Express
How to obtain location information (longitude and latitude) by uni app
作业7.19 顺序表
【代码源】 每日一题 素数之欢(bfs)



![[GPLT] 2022 大众情人(floyd)](/img/30/c96306ca0a93f22598cec80edabd6b.png)





