/对图像进行均值滤波操作,模糊一副图像/

#include “pch.h”
#include
#include <opencv2/opencv.hpp>
using namespace cv;

int main()
{
Mat image = imread(“C:/Users/csh/Desktop/1.jpg”);
imshow(“原图”, image);
Mat dstimage;
blur(image, dstimage, Size(7, 7));//均值滤波函数
imshow(“效果图”, dstimage);
waitKey(0);
return 0;
}
opencv-模糊图像
opencv-模糊图像

相关文章:

  • 2021-05-08
  • 2021-11-04
  • 2022-12-23
  • 2021-12-08
  • 2021-10-09
  • 2022-12-23
  • 2021-08-28
  • 2021-09-28
猜你喜欢
  • 2021-09-04
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2021-07-13
  • 2022-12-23
相关资源
相似解决方案