DFT and IDFT are verified on an RGB image. An RGB image is read from a file and converted to grayscale. The DFT is performed on the grayscale image and plotted. The IDFT is then performed on the DFT output and plotted, reconstructing the original grayscale image.