www.pudn.com > Tikhonov_Regularization_for_super_resolution.rar > WTY.m, change:2010-07-06,size:466b


function G3 = WTY(LR, Zn, M, B, S, p) 
% computer the term W'*yk 
% input£º 
% LR: the sequence of low resolution images 
% Zn: the current high resolution image 
% M£º registration parameter 
% B£ºPSF 
% S: sampling factor 
% p: the number of low resolution images 
 
 
temp = zeros([size(Zn) p]); 
for k=1:p 
  temp(M(k, 2):S:(size(LR, 1) - 1) * S + M(k,2), M(k, 1):S:(size(LR, 2) - 1) * S + M(k, 1), k) = LR(:,:,k); 
end 
 
G3 = imfilter(temp, B', 'symmetric');