資源簡(jiǎn)介
圖像處理,壓縮感知中ROMP的代碼實(shí)現(xiàn)。
代碼片段和文件信息
%應(yīng)一個(gè)朋友的約,貼一個(gè)ROMP的代碼
function?[vOut?numIts]?=?romp(n?Phi?x)
%?[vOut]?=?romp(n?Phi?x)
%%%?PARAMETERS?%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?d?=?ambient?dimension?of?the?signal?v
%?N?=?number?of?measurements
%?n?=?sparsity?level?of?n
%?Phi?=?N?by?d?measurement?matrix
%?x?=?measurement?vector?(Phi?*?v)
%?vOut?=?reconstructed?signal
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%?FUNCTION?DEscriptION?%%%%%%%%%%%%%%%%%
%?romp?takes?parameters?as?described
%?above.?Given?the?sparsity?level?n?and
%?the?N?by?d?measurement?matrix?Phi?and
%?the?measurement?vector?x?=?Phi?*?v?romp
%?reconstructs?the?original?signal?v.
%?This?reconstruction?is?the?output.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear?r?I?J?J0?u?b?ix?numIts?Jvals?
warning?off?all
N?=?size(Phi?1);
d?=?size(
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件???????2051??2010-03-19?22:09??romp.m
-----------?---------??----------?-----??----
?????????????????2051????????????????????1
評(píng)論
共有 條評(píng)論