kornia.filters#
Filters for images (B, C, H, W) and volumes (B, C, D, H, W). Each blurring, edge detection and thresholding
function has an nn.Module form; the filtering API and the kernel functions are functions only.
Gaussian, box, median, bilateral, guided and motion blur; blur pooling; unsharp masking; dissolving with Stable Diffusion. |
|
Sobel, Laplacian and Canny edge detectors and spatial gradients in 2D and 3D. |
|
Range thresholding and Otsu’s threshold. |
|
Apply your own 2D, separable or 3D kernels with |
|
Gaussian, box, Hanning, Laplacian, gradient and motion kernels used by the filters above. |