test2.asv
上传用户:gzpack
上传日期:2019-07-25
资源大小:2922k
文件大小:0k
源码类别:

图形图像处理

开发平台:

Matlab

  1. I=imread('cats.tif');  
  2. subplot(),imshow(I)
  3. X1=imresize(I,0.5,'nearest');
  4.       figure,imshow(X1,[]);
  5.       X2=imresize(I,0.5,'bilinear');
  6.       figure,imshow(X2,[]);
  7.       X3=imresize(I,0.5,'bicubic');
  8.       figure,imshow(X3,[]);