I want to do correlation between 2 same images(1st with 0° and 2nd with some angular deflection) and thereby find angular displacement(θ/π)and displacements-Δx and Δy.

2 ビュー (過去 30 日間)
I want to do correlation between two same images. One is normal image with 0° angle and the other(same image) with some angle deflection.(Both are same images of same size and dimensions)
1) The image correlation should be done with these two images using matlab. 2) The image should be read(uploaded) using matlab. 3) The angular displacement( change in angle-θ) should be determined. 4) The displacement across the horizontal direction((Δy) and the displacement towards the vertical direction(Δx) should be determined. A single matlab program is needed to do all the above procedures as said. (I have the images with me) and I am uploading the reference image(0° deflection) here.

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021 年 6 月 6 日
You can pick up the points of interest in both images and use cosine of angles between selected corresponding points points in both images, e.g.:
A = [a1, a2, a3, a4, ...]
B = [b1, b2, b3, b4, ...]
Theta= acos((A'*B)/(norm(A)*norm(B)));
  1 件のコメント
AHMED FARZEEN THALAYAN KANDY
AHMED FARZEEN THALAYAN KANDY 2021 年 6 月 8 日
What command should be used to read both the images in my system and do correlation between these 2 images. A program would be of great use for this.

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

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by