Kernel#

class Kernel(K, name=None)[source]#

Methods

Box(h[, normalize])

Square structuring element

Circle(radius[, h, normalize, dtype])

Circular structuring element

DGauss(sigma[, h])

Derivative of Gaussian kernel

disp3d([block])

Show kernel as a 3D surface plot

DoG(sigma1[, sigma2, h])

Difference of Gaussians kernel

Gauss(sigma[, h])

Gaussian kernel

HGauss(sigma[, h])

Hessian of Gaussian kernel

Laplace()

Laplacian kernel

LoG(sigma[, h])

Laplacian of Gaussian kernel

print([fmt, separator, precision])

Print kernel weights in compact format

Sobel()

Sobel edge detector

Attributes

shape

T