I have an image of a ramp (Fig 1.1). Since every row of in this image is the same, I just picked the first row and ran FFT over it, then since convolution is equivalent to multiplication in the frequency domain, I multiplied it with the FFT of a gaussian vector. But when I run IFFT over the product, I don't get a blur image, instead I just get a completely white image (Fig 1.2) . What am I doing wrong?
Figure 1.1 Figure 1.2
I = imread("/MATLAB Drive/ramp.png");
gaussian_vector = gaussmf(time_vector,[1 0]);
row_fill = ifft(fft(row).*fft(gaussian_vector))
I_fill = repmat(row_fill,500,1);