dilate
来源:互联网 发布:日系品牌女装推荐知乎 编辑:程序博客网 时间:2024/05/16 23:59
Dilates an image by using a specific structuring element.
- C++: void dilate(InputArraysrc, OutputArray dst, InputArray kernel, Pointanchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar& borderValue=morphologyDefaultBorderValue())
- Python:cv2.dilate(src, kernel[, dst[, anchor[, iterations[, borderType[, borderValue]]]]]) → dst
- C: void cvDilate(const CvArr*src, CvArr* dst, IplConvKernel* element=NULL, intiterations=1 )
- Python:cv.Dilate(src, dst, element=None, iterations=1) → None
Parameters: - src – input image; the number of channels can be arbitrary, but the depth should be one ofCV_8U, CV_16U, CV_16S,CV_32F` or``CV_64F.
- dst – output image of the same size and type as src.
- element – structuring element used for dilation; if element=Mat() , a 3x 3 rectangular structuring element is used.
- anchor – position of the anchor within the element; default value(-1, -1) means that the anchor is at the element center.
- iterations – number of times dilation is applied.
- borderType – pixel extrapolation method (see borderInterpolate() for details).
- borderValue – border value in case of a constant border (seecreateMorphologyFilter() for details).
The function dilates the source image using the specified structuring element that determines the shape of a pixel neighborhood over which the maximum is taken:
The function supports the in-place mode. Dilation can be applied several ( iterations ) times. In case of multi-channel images, each channel is processed independently.
See also
erode(),morphologyEx(),createMorphologyFilter()
Note
- An example using the morphological dilate operation can be found at opencv_source_code/samples/cpp/morphology2.cpp
0 0
- dilate
- dilate函数
- opencv3_java 图形图像的膨胀Dilate dilate
- Opencv膨胀-dilate函数
- 侵蝕、膨脹(erode、dilate)
- opencv dilate-erode
- 笔记:形态学操作-----腐蚀Erode && 膨胀 Dilate
- morphologyEx,dilate两种膨胀操作对比
- opencv 3.0 形态学运算 erode dilate
- Efficiently Implementing Dilate and Erode Image Functions
- OPENCV入门教程十一:dilate图像膨胀
- OpenCV代码提取:dilate函数的实现
- OpenCV 形态学膨胀——dilate函数
- OpenCV Tutorial: 侵蝕、膨脹(erode、dilate)
- 图像膨胀dilate函数用法示例
- dilate 函数的实现(源码)
- 第5章/图像形态学-膨胀(dilate)和腐蚀(erode)
- Morphological Filtering Dilate, erode, reconstruct, and perform other morphological operations
- morphologyEx
- 第三次软工
- erode
- 查找最小的K个元素
- VirtualBox – Cannot register the hard disk 解决办法
- dilate
- 《重构》读书笔记(3)
- Linux 目录说明
- asp.net+javascript倒计时
- java连接oracle
- 空中网面试题
- linux 文件权限介绍
- Java读取UTF-8格式txt文件第一行出现乱码——问号“?”及解决
- c语言中形参和实参的区别