Filters, Matlab, Opencv.
plt.figure() ax = fig.add_subplot(121, projection='3d') ax.plot_surface(np.arange(hsize), np.arange(hsize), h, cmap='viridis') ax.set_title('3D Surface Plot of Gaussian Kernel') # Display 2D image plot of the kernel plt.subplot(122) plt.imshow(h, cmap='viridis') plt.title('2D Image Plot of Gaussian