estaffineiter2.m

来自「图像配准的源程序」· M 代码 · 共 18 行

M
18
字号
function M = estAffineIter2(im1,im2,numIters,M)
%
% function M = estAffineIter2(im1,im2,numIters,Minitial)
%
% Each iteration warps the images according to the previous
% estimate, and estimates the residual motion.

% Incrementally estimate the correct transform
for iter=1:numIters
   imWarp2=warpAffine2(im2,M);
   deltaM=estAffine2(im1,imWarp2);
   M=deltaM*M;
   
   %img(abs(im1-warpaffine2(im2, M)));
   
end

return;

⌨️ 快捷键说明

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