ifrit.m

来自「为stanford大学donoho教授所编写的redgit变换源代码。是用c编写」· M 代码 · 共 25 行

M
25
字号
function a = ifrit(r, l, m, wname)
% IFRIT	Inverse finite ridgelet transform
%	a = ifrit(r, l, m, wname)
%
% Input:
%	r:	ridgelet coefficients in a matrix, one column 
%		for each direction (there is P+1 directions)
%	l:	structure of the wavelet decomposition that is
%		needed for reconstruction
%	m:	normalized mean value of the image
%	wname:	wavelet name
%
% Output:
%	a:	reconstructed image
%
% See also:	FRIT

% Back to Radon domain.
ra = waverecc(r, l, wname);

% Inverse the finite Radon transform with the mean corrected
a = ifrat(ra, 0);

% Add back the DC component
a = a + m / (size(r, 2) - 1);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?