Home How to implement a kernel of size 1 in a Gaussian filter in opencv?
Reply: 0

How to implement a kernel of size 1 in a Gaussian filter in opencv?

user379
1#
user379 Published in June 19, 2018, 11:58 pm

I'm trying to create a 1 pixel kernel:

x = cv2.getGaussianKernel(1, 2)

And I use it in a gaussian filter:

blur = cv2.GaussianBlur(img, x, 0)

As a result, an error occurs:

SystemError: new style getargs format but argument is not a tuple

How to fix this error?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.25557 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO