boxFilter in opencv
2024-09-03 20:04:24
void boxFilter(const Mat& src, Mat& dst,int ddepth,Size ksize,Point anchor=Point(-, -),bool normalize=true,int borderType=BORDER_DEFAULT)
-
Smoothes image using box filter
Parameters: - src – The source image
- dst – The destination image; willhave the same size and the same type as src
- ksize – The smoothing kernelsize
- anchor – The anchor point. Thedefault value Point(-1,-1) means that theanchor is at the kernel center
- normalize – Indicates, whetherthe kernel is normalized by its area or not
- borderType – The border mode usedto extrapolate pixels outside of the image
The function smoothes the image using the kernel:
where
Unnormalized box filter is useful for computing various integralcharacteristics over each pixel neighborhood, such as covariationmatrices of image derivatives (used in dense optical flowalgorithms, etc.). If you need to compute pixel sums overvariable-size windows, use integral().
See also: boxFilter(),bilateralFilter(),GaussianBlur(),medianBlur(),integral().
最新文章
- maven集成tomcat插件以及乱码解决
- 【VC++技术杂谈008】使用zlib解压zip压缩文件
- GbkToUtf8 Utf8ToGbk PackHttp
- http协议与网页优化泛谈
- 在网页中插入MSN,Skype,QQ的方法
- Linux的文件权限
- HDU 1142 A Walk Through the Forest (记忆化搜索 最短路)
- 深入.NET框架 项目--魔兽登录系统
- LAMP平台搭建详解
- js-转大小写
- c++几个新特性
- [Linux] PHP程序员玩转Linux系列-telnet轻松使用邮箱
- 有關於USB保固
- 六、Spring Boot Controller使用
- [Python Study Notes]字典操作
- 实战:通过ViewModel规范TableView界面开发
- 在php中实现Redis的订阅与发布
- k8s集群安装
- python3 九九乘法表打印花式操作(然并卵)
- mysql timestamp字段定义的