1. imwarp

B = imwarp(A,tform)
  • demo

    I = imread('cameraman.tif');
    tform = affine2d([1 0 0; .5 1 0; 0 0 1]);
        % x ⇒ x+0.5*y
        % y ⇒ y
    J = imwarp(I,tform);
posted on 2017-06-27 08:25  未雨愁眸  阅读(724)  评论(0编辑  收藏  举报