gaussianblur

How do I get to show Gaussian Kernel for 2d? (opencv)

How do I get to show Gaussian Kernel for 2d? (opencv) Question: I am using this: blur = cv2.GaussianBlur(dst,(5,5),0) And I wanted to show the kernel matrix by this: print(cv2.getGaussianKernel(ksize=(5,5),sigma=0)) But I am getting a type error: TypeError: an integer is required (got type tuple) If I only put 5, I get a 5×1 matrix. …

Total answers: 3