cv2.filter2D
时间: 2023-10-29 09:47:05 浏览: 109
opencv-python中的cv2.filter()函数随笔
cv2.filter2D() is a function in OpenCV library that performs a 2D convolution operation on an image with a kernel. The function takes two parameters - the input image and the kernel. The kernel is a small matrix that is applied to each pixel of the image to compute a new value for that pixel. The function then returns the resulting convolved image.
This function is used for various image processing tasks such as smoothing, edge detection, sharpening, and more. It is also used in computer vision algorithms for feature extraction and object detection.
阅读全文