Screenshot_20230917_143222.jpg

Using this diagram as a guide, create a function that takes in the image at a band f(x,y) and a keystone distorted version of that image g(x,y) and calculates the cross phase spectrum R(w_x, w_y) and the phase correlation r(x,y).

Once you have r(x,y), see if you can plot r(x,y) as a heatmap.

We will review this on Thursday at 5pm over discord

Insights:

  1. Maximum Value in 'r':
  2. Calculating X-Shift:

Heatmap and x-shift function is done too. Here is an example heatmap:

download (6).png