I am beginer in image processing. Any signal whether it is 1D,2D or any multidimensional signal can be represented using combination of number of sine and cosine waves.Similerly any image can be termed as a sinusoidal function. Fourier series and transform plays vital role in image processing. So I want to know the Fourier math behind any Image which can help to understand wave components used in forming an image for example basis or functions etc. Also,are there any matlab/ OpenCV code or results to understand easily these components(sine and cosine functions) present in image ?