.


:




:

































 

 

 

 


9:




. , . .

% xt=xi(:)-imid;yt=yi(:)-imid;[theta,r]=cart2pol(xt, yt);a=-0005; % .s=r+a*r.^3;[ut, vt]=pol2cart(theta, s);u=reshape(ut, size(xi))+imid;v=reshape(vt, size(yi))+imid;tmap_B=cat(3, u, v);I_pin=tformarray(I, [], resamp, [2 1], [1 2], [], tmap_B,.3);subplot(339)imshow(I_pin)title('pin cushion')

. , , .

: , , ,
: maketform, imtransform, tformfwd

.

:

  • 1: .
  • 2: , ..
  • 3: .
  • 4: .




:


: 2015-10-01; !; : 416 |


:

:

, .
==> ...

1661 - | 1529 -


© 2015-2024 lektsii.org - -

: 0.011 .