필터 지우기
필터 지우기

calculate phase angle from output image and input wave

조회 수: 4 (최근 30일)
shubham kumar gupta
shubham kumar gupta 2021년 2월 25일
편집: shubham kumar gupta 2021년 2월 25일
I am working on an acoustic microscope
I have a ricker wave(Mexican hat wave) I am getting back image with amplitudes displaying on each point
I have a 2d image 360x360 This image has been created using the capturing amplitude of the reflected wave.
I want to calculate the phase angle of this image and the coming wave
%Mexican Hat wave%
lb = -5;
ub = 5;
N = 360;
[psi,xval] = mexihat(lb,ub,N);
plot(xval,psi);
image1=meshgrid(xval,psi);
image2 = rgb2gray(imread('coin.jpg'));
f1=fft2(image1)
f2=fft2(image2);
Q=f1*f2;
b=abs(f1)*abs(f2);
Q=Q./b;
angles=angle(Q);
But this is giving me NaN and a black img
How to calc phase angle from input ricker wavelet and a img with amplitudes

답변 (0개)

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by