what is the result of phase correlation mentioned in wikipedia
조회 수: 1 (최근 30일)
이전 댓글 표시
Any one tried phase correlation for images mentioned in wikipedia? https://en.wikipedia.org/wiki/Phase_correlation
At the site it is given translation of (30,33). I am getting a translation of (24,21). Anybody got same results?
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 9월 23일
Difficult to say without seeing your code.
I speculate, though, that you might not know that in MATLAB, the x coordinate corresponds to columns (second index) and the y coordinate corresponds to rows (first index), so you might be indexing into the wrong vectors to determine the values.
But that is just speculation. Maybe you used / where you needed ./ . Maybe you are suffering from integer arithmetic saturation due to the way calculations on uint8 work. Maybe something else. The Magic 8 Ball says "Situation is hazy, try again later"
댓글 수: 2
Deming Peng
2020년 7월 29일
편집: Walter Roberson
2020년 8월 6일
May I ask - what does this part mean after you've got the 'x' and 'y' :
x = x-ceil(Nx / 2)
y = y-ceil(Nx / 2)
And I noticed that the operation of these two lines of codes will always result in 'x=1,y=1'.
I suppose it is because the 'rmax' seems always at the centre of the 'result' matrix, just one pixel bigger than
Nx/2 and Ny/2. So I'm a bit confused about the shift it shows here and hope that we can discuss more on it soon. Thank u!
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!