Assume there is an image in spatial domain
where
examples:
import torch
from preprocess import ideal_bandpass, butterworth, gaussian
cutoff = 20
img_tensor = torch.randn((1, 3, 224, 224))
img_lowpass = ideal_bandpass(img_tensor, cutoff)
img_lowpass = butterworth(img_tensor, cutoff, 10)
img_lowpass = gaussian(img_tensor, cutoff)