Coming back from gradient using circshift for image processing

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

 채택된 답변

Matt J
Matt J 2022년 10월 3일
편집: Matt J 2022년 10월 3일

0 개 추천

No, you cannot. Any constant image, for example, has the same "gradient", so the process cannot be invertible.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2022년 10월 3일

댓글:

2022년 10월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by