Skip to content

A customized operation of PyTorch for implementing Kernel Prediction denoising networks.

License

Notifications You must be signed in to change notification settings

IwakuraRein/KernelFilter-PyTorch

Repository files navigation

KernelFilter-PyTorch

A customized operation of PyTorch for implementing Kernel Prediction denoising networks.

3x3_kernel_filter_demonstration

See:

Kernel Filter

KernelFilterClass.forward(input, kernels, dilation=1) → Tensor

Applies a 2D Kernel Filter over an input image.

For an input size (N, C, H, W), the size of kernels must be (N, K_Size x K_Size, H, W). The output size is the same as input size.

Letting denote the value at position p, channel c of the input image and denote the value at position p, channel n of the kernels, the Kernel Filter can be defined as:

Compile

bash ./install_kernel_filter.sh

About

A customized operation of PyTorch for implementing Kernel Prediction denoising networks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published