Image processing based on discrete fourier transform
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I applied DFT to an image, as a result of which I got a real and an imaginary part. I wanted to know what information does the real and imaginary part of the image signify?
0 comentarios
Respuestas (1)
Walter Roberson
el 30 de Oct. de 2020
If you used fft() then by default fft() applies down columns.
For any one column, the first result will be the sum of the inputs, which is also (by definition) the mean times the length of the column. An entry of 0 would correspond to a mean of 0 (which is not likely for images as images are nearly always represented as non-negative values.)
Each row after that corresponds to an increasing number of complete cycles over the length of the column. Row 2 corresponds to one cycle per column; row 3 corresponds to 2 cycles per column; row 4 corresponds to 3 cycles per column, and so on. This keeps going until the middle row of output, after which for real input data the order reverses, decreasing in number of cycles per column -- but for real input data the output will be the complex conjugate of what it was in the mirror position in the first half.
For say the 7th row, that would correspond to 6 cycles per column. The absolute value would be the magnitude of the sine wave, and the angle of the value would be the phase.
0 comentarios
Ver también
Categorías
Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!