Is there a function in OpenCV which takes a complex matrix as a kernel to convolve/filter an image?

有帮助吗?

解决方案

This function filter2D() meets your requirement. Pay attention to the int ddepth paratmer, when you apply floating-point kernels on uchar image.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top