当前位置: 首页 > news >正文

seo优化网站排名做西餐网站

seo优化网站排名,做西餐网站,网站备案所需材料,18款禁用软件黄app免费空间滤波基础 图像滤波是一种常见的图像处理技术#xff0c;用于平滑图像、去除噪音和边缘检测等任务。图像滤波的基本原理是在进行卷积操作时#xff0c;通过把每个像素的值替换为该像素及其邻域的设定的函数值来修改图像。 预备知识#xff1a;可分离滤波核、边缘填充。…空间滤波基础 图像滤波是一种常见的图像处理技术用于平滑图像、去除噪音和边缘检测等任务。图像滤波的基本原理是在进行卷积操作时通过把每个像素的值替换为该像素及其邻域的设定的函数值来修改图像。 预备知识可分离滤波核、边缘填充。 一、线性滤波器 1、盒式滤波器方框滤波器 盒式核是最简单的低通滤波器核。盒式核中各像素点的系数相同通常为1。盒式滤波器因为也满足秩为1所以也是可分离核计算也可使用分离核进行加速。 K α [ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ] 当 α { 1 k s i z e . w i d t h ∗ k s i z e . h e i g h t if  n o r m a l i z e t r u e 1 if 其他 K\alpha \begin{bmatrix} 1 1 1 1 1\\ 1 1 1 1 1\\ 1 1 1 1 1\\ 1 1 1 1 1\\ 1 1 1 1 1\\ \end{bmatrix} 当\alpha\begin{cases} \frac{1}{ksize.width*ksize.height} \text{if } normalize true \\ 1 \text{if } 其他 \end{cases} Kα ​11111​11111​11111​11111​11111​ ​当α{ksize.width∗ksize.height1​1​if normalizetrueif 其他​ OpenCV函数 void cv::boxFilter(InputArray src, OutputArray dst, int ddepth, Size ksize, Point anchor Point(-1,-1), bool normalize true, int borderType BORDER_DEFAULT)Parameters src input image. dst output image of the same size and type as src. ddepth the output image depth (-1 to use src.depth()). ksize blurring kernel size. anchor anchor point; default value Point(-1,-1) means that the anchor is at the kernel center. normalize flag, specifying whether the kernel is normalized by its area or not. borderType border mode used to extrapolate pixels outside of the image, see BorderTypes. BORDER_WRAP is not supported.2、均值滤波器 均值滤波器是特殊的盒式滤波器目标图像中的每个值都是源图像中相应位置一个窗口核中像素的平均值。 K 1 k s i z e . w i d t h ∗ k s i z e . h e i g h t [ 1 1 1 . . . 1 1 1 1 1 . . . 1 1 . . . 1 1 1 . . . 1 1 ] K \frac{1}{ksize.width*ksize.height} \begin{bmatrix} 1 1 1 ... 1 1\\ 1 1 1 ... 1 1\\ ...\\ 1 1 1 ... 1 1\\ \end{bmatrix} Kksize.width∗ksize.height1​ ​11...1​111​111​.........​111​111​ ​ OpenCV函数 void cv::blur(InputArray src, OutputArray dst, Size ksize, Point anchor Point(-1,-1), int borderType BORDER_DEFAULT) Parameters src input image; it can have any number of channels, which are processed independently, but the depth should be CV_8U, CV_16U, CV_16S, CV_32F or CV_64F. dst output image of the same size and type as src. ksize blurring kernel size. anchor anchor point; default value Point(-1,-1) means that the anchor is at the kernel center. borderType border mode used to extrapolate pixels outside of the image, see BorderTypes. BORDER_WRAP is not supported.3、高斯滤波器 高斯滤波器是通过根据高斯函数来选择权值的线性平滑滤波器的方式对随机分布和服从正态分布的噪声有很好地滤除效果。高斯滤波器比盒式滤波器产生的边缘更加平滑因为高斯滤波器的权重服从二维高斯分布越靠近窗口中心点权重越大。 高斯核公式 k ( s , t ) K e − s 2 t 2 2 σ 2 k(s,t)Ke^{-\frac{s^2t^2}{2\sigma^2}} k(s,t)Ke−2σ2s2t2​ OpenCV函数 void cv::GaussianBlur(InputArray src, OutputArray dst, Size ksize, double sigmaX, double sigmaY 0, int borderType BORDER_DEFAULT) Parameters src input image; the image can have any number of channels, which are processed independently, but the depth should be CV_8U, CV_16U, CV_16S, CV_32F or CV_64F. dst output image of the same size and type as src. ksize Gaussian kernel size. ksize.width and ksize.height can differ but they both must be positive and odd. Or, they can be zeros and then they are computed from sigma. sigmaX Gaussian kernel standard deviation in X direction. sigmaY Gaussian kernel standard deviation in Y direction; if sigmaY is zero, it is set to be equal to sigmaX, if both sigmas are zeros, they are computed from ksize.width and ksize.height, respectively (see getGaussianKernel for details); to fully control the result regardless of possible future modifications of all this semantics, it is recommended to specify all of ksize, sigmaX, and sigmaY. borderType pixel extrapolation method, see BorderTypes. BORDER_WRAP is not supported.二、非线性滤波器 1、中值滤波器 中值滤波器用中心像素的邻域内的灰度值的中值替换中心像素的值。中值滤波器对冲激噪声椒盐噪声特别有效并且对图像的模糊程度比线性平滑滤波器要小得多。 OpenCV函数 void cv::medianBlur(InputArray src, OutputArray dst, int ksize) Parameters src input 1-, 3-, or 4-channel image; when ksize is 3 or 5, the image depth should be CV_8U, CV_16U, or CV_32F, for larger aperture sizes, it can only be CV_8U. dst destination array of the same size and type as src. ksize aperture linear size; it must be odd and greater than 1, for example: 3, 5, 7 ...2、双边滤波器 双边滤波器可以很好地减少不必要的噪声同时保持边缘相当锐利。然而与大多数过滤器相比它非常慢。 OpenCV函数 void cv::bilateralFilter(InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, int borderType BORDER_DEFAULT) parameters src Source 8-bit or floating-point, 1-channel or 3-channel image. dst Destination image of the same size and type as src . d Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace. sigmaColor Filter sigma in the color space. A larger value of the parameter means that farther colors within the pixel neighborhood (see sigmaSpace) will be mixed together, resulting in larger areas of semi-equal color. sigmaSpace Filter sigma in the coordinate space. A larger value of the parameter means that farther pixels will influence each other as long as their colors are close enough (see sigmaColor ). When d0, it specifies the neighborhood size regardless of sigmaSpace. Otherwise, d is proportional to sigmaSpace. borderType border mode used to extrapolate pixels outside of the image, see BorderTypes
http://www.hkea.cn/news/14426062/

相关文章:

  • 订阅号做流量 那些电影如何链接网站百度推广优化怎么做
  • 企业网站建设规划ppt电子商务网站运营流程
  • 网站建设套餐报西安装修公司排名十强
  • 做网站简历怎么写安卓apk开发
  • 广州网站优化服务知乎营销平台
  • 西安网站工作室亿联时代网站建设
  • 余姚网站制作织梦做的网站打不开网页
  • 站长工具查询域名wordpress转载文章
  • 济南模板网站塘沽网站建设
  • 江西省建设厅官方网站深圳福田有哪些公司
  • 娄底做网站的公司网站中竖导航栏怎么做
  • 杭州如何设计公司网站大连网站维护
  • 建企业网站怎么收费wordpress用户前台投稿
  • 百度推广网站必须备案吗asp.net 开发网站开发
  • 做网站企业经营范围贵州国高建设工程有限公司 网站
  • 启迪网站开发怎么进入广告联盟看广告赚钱
  • 西宁网站seo外包微信自己开发小程序
  • 建立网站怎么申请南京网站搜索排名
  • 建个公司网站怎么弄网站添加js广告位
  • 网站建设需求分析报告wordpress主题模板导出
  • 潍坊那个公司做网站比较好wordpress 文章消失
  • 网站建设的一些问题wordpress后台入口
  • 服务器网站网站专用建设银行官方网站首页入口
  • 开平市城乡建设局网站怎么制作网站商城
  • 翔安区建设网站常州网站建设cz35
  • 潍坊青州网站建设网线制作的注意事项
  • 访问不到自己做的网站app开发合同范本
  • 泊头市网站建设公司网站优化排名首页
  • 红安城市建设局投诉网站网站框架规划
  • 济南营销型网站公司源码交易网站源码