OpenCV Image Filtering图像滤镜系列(多篇)

本文档介绍了OpenCV库中的一系列图像滤镜操作,包括构造高斯金字塔、膨胀、腐蚀、2D滤波、求导、获取高斯核、拉普拉斯算子和中值模糊等函数的使用方法,帮助理解如何对图像进行各种处理。

《OpenCV系列教程》

bilateralFilter《OpenCV双边滤波bilateralFilter去除脸部雀斑》
blur《OpenCV blur归一化滤波》
GaussianBlur《OpenCV GaussianBlur高斯滤波》
medianBlur《OpenCV medianBlur中值滤波》
boxFilter《OpenCV boxFilter滤波器》
buildPyramid (InputArray src, OutputArrayOfArrays dst, int maxlevel, int borderType=BORDER_DEFAULT)

Constructs the Gaussian pyramid for an image.

dilate(src, kernel, dst=None, anchor=None, iterations=None, borderType=None, borderValue=None):

Dilates an image by using a specific structuring element.

erode(src, kernel, dst=None, anchor=None, iterations=None, borderType=None, borderValue=None)

Erodes an image by using a specific structuring element.

filter2D(src, ddepth, kernel, dst=None, anchor=None, delta=None, borderType=None)

Convolves an image with the kernel.

getDerivKernels(dx, dy, ksize, kx=None, ky=None, normalize=None, ktype=None)
Returns filter coefficients for computing spatial image derivatives.
getGaborKernel(ksize, sigma, theta, lambd, gamma, psi=None, ktype=None)
Returns Gabor filter coefficients.
getGaussianKernel(ksize, sigma, ktype=None)
Returns Gaussian filter coefficients.
getStructuringElement(shape, ksize, anchor=None)
Returns a structuring element of the specified size and shape for morphological operations.
Laplacian(src, ddepth, dst=None, ksize=None, scale=None, delta=None, borderType=None)
Calculates the Laplacian of an image.
medianBlur(src, ksize, dst=None):
Blurs an image using the median filter.

OpenCV官方地址:https://docs.opencv.org/master/d4/d86/group__imgproc__filter.html#ga9d7064d478c95d60003cf839430737ed

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值