Hi,
There are no specific functions for the spatial filters counterpart in frequency domains. But you could create one using using the convolution theorem which suggests that filters which convolve in spatial domain, multiply in frequency domain.
Hence here you could apply fourier transform for both image and filter and dot multiply them and then apply inverse fourier transform to the output.
One main thing to be cautious is about applying fourier transform on filter is to consider padding so to make their sizes equal to eliminate aliasing/wraparound.
0 Comments
Sign in to comment.