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.

1 件のコメント

laura bagnale
laura bagnale 2022 年 10 月 4 日
Thank you very much for your reply, Matt J.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索

製品

リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by