资源简介
本资源采用的是TVAL_3算法,来完成压缩感知中的图像融合技术。
代码片段和文件信息
% This simple demo examines if TVAL3 works normally. Please try more demos
% in the “Demos“ directory which would show users what TVAL3 is capable of.
%
% I: 64x64 phantom (real two-dimentional)
% A: random matrix without normality and orthogonality (real)
% f: observation with/without noise (real)
%
% Written by: Chengbo Li
% Advisor: Prof. Yin Zhang and Wotao Yin
% CAAM department Rice University
% 05/21/2009
% clear; close all;
% path(pathgenpath(pwd));
% fullscreen = get(0‘ScreenSize‘);
%
% % problem size
% n = 64;
% ratio = .3;
% p = n; q = n; % p x q is the size of image
% m = round(ratio*n^2);
%
% % sensing matrix
% A = rand(mp*q)-.5;
%
% % original image
% I = phantom(n);
% nrmI = norm(I‘fro‘);
% figure(‘Name‘‘TVAL3‘‘Position‘...
% [fullscreen(1) fullscreen(2) fullscreen(3) fullscreen(4)]);
% subplot(121); imshow(I[]);
% title(‘Original phantom‘‘fontsize‘18); drawnow;
%
% % observation
% f = A*I(:);
% favg = mean(abs(f));
%
% % add noise
% f = f + .00*favg*randn(m1);
%% Run TVAL3
clear opts
opts.mu = 2^8;
opts.beta = 2^5;
opts.tol = 1E-3;
opts.maxit = 300;
opts.TVnorm = 1;
opts.nonneg = true;
t = cputime;
[U out] = TVAL3(Afpqopts);
t = cputime - t;
subplot(122);
imshow(U[]);
title(‘Recovered by TVAL3‘‘fontsize‘18);
xlabel(sprintf(‘ %2d%% measurements \n Rel-Err: %4.2f%% CPU: %4.2fs ‘ratio*100norm(U-I‘fro‘)/nrmI*100t)‘fontsize‘16);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1466 2013-03-29 08:33 TVAL3_v1.0\demo.asv
文件 1466 2013-03-29 08:36 TVAL3_v1.0\demo.m
文件 3196 2010-11-10 15:41 TVAL3_v1.0\Demos\demo_barbara.m
文件 2530 2010-11-10 15:08 TVAL3_v1.0\Demos\demo_complex.m
文件 3961 2010-11-10 16:57 TVAL3_v1.0\Demos\demo_DFT.m
文件 2611 2010-11-10 15:34 TVAL3_v1.0\Demos\demo_phantom.m
文件 3225 2010-11-24 13:35 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\fWHtrans.cpp
文件 8302 2010-11-29 12:54 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\fWHtrans.mexa64
文件 9220 2010-11-29 12:55 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\fWHtrans.mexmaci
文件 9072 2010-11-29 12:55 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\fWHtrans.mexmaci64
文件 8704 2010-11-29 13:00 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\fWHtrans.mexw32
文件 9216 2010-11-29 12:58 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\fWHtrans.mexw64
文件 446 2010-02-15 16:19 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\ifWHtrans.m
文件 11358 2010-02-17 13:43 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\newFWHTcmp.fig
文件 2115 2010-06-17 12:51 TVAL3_v1.0\Fast_Walsh_Hadamard_Transform\readme.txt
文件 15273 2010-11-10 14:16 TVAL3_v1.0\Solver\ftvcs_alp.m
文件 14446 2010-11-10 15:33 TVAL3_v1.0\Solver\ftvcs_alp_old.m
文件 5646 2010-11-10 15:55 TVAL3_v1.0\Solver\ftvcs_al_opts.m
文件 14704 2010-11-10 14:16 TVAL3_v1.0\Solver\ftvcs_al_TVL2p.m
文件 13827 2010-11-10 15:33 TVAL3_v1.0\Solver\ftvcs_al_TVL2p_old.m
文件 2834 2010-06-17 23:13 TVAL3_v1.0\Solver\readme.txt
文件 674 2010-11-09 15:39 TVAL3_v1.0\Solver\TVAL3.m
文件 140166 2010-11-29 13:13 TVAL3_v1.0\User_Guide.pdf
文件 284 2010-06-17 13:11 TVAL3_v1.0\Utilities\At_fWH.m
文件 244 2010-06-17 12:56 TVAL3_v1.0\Utilities\A_fWH.m
文件 107022 2009-06-15 08:19 TVAL3_v1.0\Utilities\barbara256.tif
文件 379 2009-02-19 16:38 TVAL3_v1.0\Utilities\defDDt.m
文件 197 2008-08-27 21:12 TVAL3_v1.0\Utilities\Fp1d.m
文件 326 2008-11-17 19:45 TVAL3_v1.0\Utilities\Fp2d.m
文件 233 2008-08-27 21:13 TVAL3_v1.0\Utilities\FpT1d.m
............此处省略17个文件信息
评论
共有 条评论