function_estimationshow.m

来自「对图像进行local approximation处理的技术,应用于图像去模糊中.」· M 代码 · 共 31 行

M
31
字号
function function_EstimationShow(y_est,time)

% function displays series of estimates at every iteration of multichannel
% blind deconvolution. 
%
% EXAMPLE
% function_EstimationShow(y_est_series)
%
% or
%
% function_EstimationShow(v_est_series(:,:,:,i,ccolor)), where i is numaber
% of frame, ccolor is a color.

if nargin<2, time=0.25; end;

h1 = figure;
while 1==1,
    for ss=1:size(y_est,3),
        if get(0,'CurrentFigure')==h1,
            figure(h1),
            imshow(squeeze(y_est(:,:,ss,:)),[]), title(['Iter. ', int2str(ss)]),
            pause(time),
        else
            break;
        end;
    end;
    
    if isempty(get(0,'CurrentFigure')) | get(0,'CurrentFigure')~=h1,
        break;
    end;
end;

⌨️ 快捷键说明

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