⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tuxiangchazhisuofang.m

📁 这么代码是用Matlab编写的
💻 M
字号:
clear all;
close all;
Lena=double(imread('D:\MATLAB7\work\Lena.jpg'));
% wwww1=double(imread('C:\MATLAB6p5\work\x1.fig'));
%  figure,
% % subplot(2,2,1);
%  imshow(wwww1,[]);
%  figure,
% subplot(2,2,1);
 imshow(Lena,[]);
X1=imresize(Lena,1/2,'nearest');
figure,
% subplot(2,2,2)
imshow(X1,[]);
imwrite(X1,'wwww.jpg');
figure
wwww=double(imread('D:\MATLAB7\work\cameraman.jpg'));
imshow(wwww,[]);

% wwww=zeros(size(X1));
X2=imresize(Lena,1/2,'bilinear');
figure,
% subplot(2,2,3)
imshow(X2,[]);
X3=imresize(Lena,1/2,'bicubic');
figure,
% subplot(2,2,4)
imshow(X3,[]);


⌨️ 快捷键说明

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