filterSpeckles函数的应用
2016-05-18 17:39
2396 查看
Filters off small noise blobs (speckles) in the disparity map
//用于过滤不同块的小斑点,可以在深度图中应用
C++: void filterSpeckles(InputOutputArray img, double newVal, int maxSpeckleSize, double maxDiff, InputOutputArray buf=noArray() )
Python: cv2.filterSpeckles(img, newVal, maxSpeckleSize, maxDiff[, buf]) → None
Parameters:
应用:见大疆guidance 视觉追踪demo
https://github.com/dji-sdk/Guidance-SDK/blob/master/doc/Guides/Visual_Tracking_tutorial/visual_Tracking_tutorial_cn.md
//用于过滤不同块的小斑点,可以在深度图中应用
C++: void filterSpeckles(InputOutputArray img, double newVal, int maxSpeckleSize, double maxDiff, InputOutputArray buf=noArray() )
Python: cv2.filterSpeckles(img, newVal, maxSpeckleSize, maxDiff[, buf]) → None
Parameters:
**img** – The input 16-bit signed disparity image //输入的16位的视差图或者深度图 **maxSpeckleSize** – The maximum speckle size to consider it a speckle. Larger blobs are not affected by the algorithm //斑点块的大小 **maxDiff** – Maximum difference between neighbor disparity pixels to put them into the same blob. Note that since StereoBM, StereoSGBM and may be other algorithms return a fixed-point disparity map, where disparity values are multiplied by 16, this scale factor should be taken into account when specifying this parameter value. // **buf** – The optional temporary buffer to avoid memory allocation within the function. //
应用:见大疆guidance 视觉追踪demo
https://github.com/dji-sdk/Guidance-SDK/blob/master/doc/Guides/Visual_Tracking_tutorial/visual_Tracking_tutorial_cn.md
相关文章推荐
- python中使用OpenCV进行人脸检测的例子
- opencv 做人脸识别 opencv 人脸匹配分析
- 使用opencv拉伸图像扩大分辨率示例
- Android Studio中配置OpenCV库开发环境的教程
- 基于C++实现kinect+opencv 获取深度及彩色数据
- OpenCV 2.4.3 C++ 平滑处理分析
- Python中使用OpenCV库来进行简单的气象学遥感影像计算
- 利用Python和OpenCV库将URL转换为OpenCV格式的方法
- python结合opencv实现人脸检测与跟踪
- Python环境搭建之OpenCV的步骤方法
- Python+Opencv识别两张相似图片
- Python实现OpenCV的安装与使用示例
- 在树莓派2或树莓派B+上安装Python和OpenCV的教程
- opencv-python学习一--人脸检测
- 在Ubuntu上安装OpenCV3.0和Python-openCV的经历
- OpenCV配置,从来没有这么简单!
- ubuntu下opencv和qt的安装配置
- Python+Opencv识别两张相似图片
- OpenCV学习笔记(二十五)——OpenCV图形界面设计Qt+VS2008
- 分享一些OpenCV实现立体视觉的经验