資源簡(jiǎn)介
基于Wirtinger流的相位恢復(fù)問題。簡(jiǎn)單來說就是在對(duì)光場(chǎng)相位進(jìn)行恢復(fù)時(shí),無須對(duì)光場(chǎng)函數(shù)進(jìn)行凸集定義,而是用光譜的方法獲得一個(gè)最優(yōu)的初始化值,然后應(yīng)用新的迭代規(guī)則調(diào)整該初始值從而獲得理想結(jié)果。
代碼片段和文件信息
%?Implementation?of?the?Wirtinger?Flow?(WF)?algorithm?presented?in?the?paper?
%?“Phase?Retrieval?via?Wirtinger?Flow:?Theory?and?Algorithms“?
%?by?E.?J.?Candes?X.?Li?and?M.?Soltanolkotabi
%?The?input?data?are?coded?diffraction?patterns?about?a?random?complex
%?valued?1D?signal.?
clear?all
close?all
clc
%%?Make?signal
n?=?128;
x?=?randn(n1)?+?1i*randn(n1);
%%?Make?masks?and?linear?sampling?operators
L?=?6;???????????????????%?Number?of?masks??
%?Sample?phases:?each?symbol?in?alphabet?{1?-1?i??-i}?has?equal?prob.?
Masks?=?randsrc(nL[1i?-1i?1?-1]);
%?Sample?magnitudes?and?make?masks?
temp?=?rand(size(Masks));
Masks?=?Masks?.*?(?(temp?<=?0.2)*sqrt(3)?+?(temp?>?0.2)/sqrt(2)?);
%?Make?linear?operators;?A?is?forward?map?and?At?its?scaled?adjoint?(At(Y)*nume
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
????.......??????2320??2016-07-16?15:41??WF_1D_CDP.m
-----------?---------??----------?-----??----
?????????????????2320????????????????????1
評(píng)論
共有 條評(píng)論