Image Processing, Python, Image Enhancement, Histogram Manipulation, Data Science.
marty_fft2[:1250,marty_fft.shape[1]//2] = 1 marty_fft2[-750:,marty_fft.shape[1]//2] = 1 imshow(np.log(abs(marty_fft2)), cmap='gray'); The vertical line removed from the log Fourier transformed image imshow(abs(np.fft.ifft2(marty_fft2)), cmap='gray'); Final processed image As you can see, the image