Phase of an image, fft
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Can anyone please help me find the phase of this image?This is the fourier transform of another image.
0 comentarios
Respuestas (1)
Image Analyst
el 6 de Mzo. de 2021
No. You cannot get the phase of a Fourier transform from only the magnitude of the Fourier Transform.
And of course getting the phase of "this" image from the transform of a different "another" image is completely out of the question.
6 comentarios
Image Analyst
el 9 de Mzo. de 2021
You can call imabsdiff with the background image and the flame image. But you cannot use that as your final answer. Why not? Because in the flame itself, it's obscuring the background. The background in the actual flame is not visible and so subtracting it there would not make any sense. So what you can do is to threshold the difference image and create a mask where the difference is less than some value.
mask = imabsdiff(refImage, testImage) < 5; % Or whatever.
Then subtract only within the mask area:
testImage(mask) = testImage(mask) - refImage(mask);
or probably better, just set it to zero there since that's what you're attempting to do anyway.
testImage(mask) = 0;
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!