施密特正交化(GS)相位提取算法原理:
算法程序:
% I1和I2表示滤除背景光强的干涉图,I11和I22分别代表GS后的干涉图
function [I11,I22] = GS_fil(I1,I2)
norm1 = sqrt(sum(sum(I1.*I1)));
I11 = I1./norm1;
proj = sum(sum(I2.*I11)).*I11;
I2 = I2-proj;
norm2 = sqrt(sum(sum(I2.*I2)));
I22 = I2./norm2;