Coming back from gradient using circshift for image processing

2 vues (au cours des 30 derniers jours)
laura bagnale
laura bagnale le 3 Oct 2022
Commenté : laura bagnale le 4 Oct 2022
Hello everyone,
I would like to ask your help.
This is the question:
If I use circhshift for getting the Gradient between neighboring pixels in Y direction, can I calculate image back, having this gradient information?
Afer using the fourier transform and implementing other functions I got a complex field of an image.
Then the code calculates the shift of my image along the y-direction. In the end it operates the ratio of the first image on the shifted image for getting the phase angle:
C = complex field of the image
C2 = circshift(C, [0,4]);
ph = angle(C./C2);
The question is: how can I come back from circshift (gradient) to a quantitative information?
Hope that my question was clear enough.
Thank you very much.
LB

Réponse acceptée

Matt J
Matt J le 3 Oct 2022
Modifié(e) : Matt J le 3 Oct 2022
No, you cannot. Any constant image, for example, has the same "gradient", so the process cannot be invertible.

Plus de réponses (0)

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by