I believe I have a fundamental misunderstanding of windowing. I thought that windowing is applied to a signal with pointwise multiplication, then some sort of filtering is then done to it (say using convolution in the time domain). However, looking back at my previous assignment, I seem to have applied the window to the filter itself(might be remembering incorrectly), which effectively means I convolved the signal with the window? Also, for images, it seems that I need to apply the window to a 2d kernel and not the image itself. This kernel then gets convolved with the image which means that I am once again convolving the image with the window, instead of pointwise multiplying. I understand that windowing is done to prevent spectral leakage/aliasing, but I dont quite get why it is being applied to the filter than the image itself.
If anyone could correct my misunderstanding I would be very grateful.