|
我office并无image processing toolbox(无license)
动画已经十来年没碰了, 可能不是最优化, 自己试试吧!
axes('Position',[0 0 1 1]); [x,y,z] = sphere(30); moviein(13); ii=0;
I = imread( 'DogS.jpg' ); earth=warp( x, y, z, I ); axis vis3d off;
for i=0:0.05:0.6, ii=ii+1;
axes('Position',[i 0 .4 .6]); [x1,y1,z1] = sphere(30);
I1 = imread( 'DogS.jpg' ); moon=warp( x1, y1, z1, I1 ); axis vis3d off; camlight right;
drawnow; F(ii)= getframe(gcf); set(moon,'Visible','off')
end
movie2avi(F,'ppp');
[ 本帖最后由 ChaChing 于 2008-12-10 15:57 编辑 ] |
评分
-
1
查看全部评分
-
|