kornia.filters#
Differentiable image filtering on batched (B, C, H, W) tensors. Every function has an nn.Module
counterpart on the same page.
Gaussian, box, median, bilateral, guided and motion blur; blur pooling; unsharp masking. |
|
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. |