Data Science, Python, Fourier Transform, Image Processing, Programming.
an interesting experiment, let us see what would happen if we masked the horizontal line instead. def fourier_masker_hor(image, i): f_size = 15 dark_image_grey_fourier = np.fft.fftshift(np.fft.fft2(rgb2gray(image))) dark_image_grey_fourier[235:240, :230] = i dark_image_grey_fourier[235:240,-230:] =