Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top