Data Science, Python, Fourier Transform, Image Processing, Programming.
horizontal lines refer to the sharp horizontal and vertical elements of the image. Let us see what happens if we mask one of them. def fourier_masker_ver(image, i): f_size = 15 dark_image_grey_fourier = np.fft.fftshift(np.fft.fft2(rgb2gray(image))) dark_image_grey_fourier[:225, 235:240] = i