I have a filter kernel $K(\omega)$ completely defined in the frequency domain as a continuous function of angular frequency $\omega$. I know $K(\omega)$ defined as a continuous mathematical equation.
Using the discrete FFT and IFFT, I would like to apply this kernel to a discrete time-domain signal using convolution via multiplication in the frequency domain.
What is a good way to deal with this convolution? Should I generate the $U(\omega)$ as a continuous function in the frequency domain, take the IFFT, and then truncate, shift and window the signal as mentioned in the book Steven W. Smith - The Scientist and Engineer's Guide to Digital Signal Processing?
Alternately, should I take the continuous inverse Fourier transform of the function $K(\omega)$, and generate $k(t)$ completely in the time domain as a discrete signal by evaluating $k(t)$ for discrete values of $t$? Then $k(t)$ can be treated as a FIR filter kernel and taken into the frequency domain.
Although this is a discrete 1D signal, are 2D image filtering kernels generated in the frequency or spatial domains? What is the difference between the application of the kernels in the time and frequency domains?