This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/DIPCV/lab1/lab1_5.m

10 lines
290 B
Mathematica
Raw Normal View History

2022-10-31 03:22:33 +00:00
close all
clear
clc
disp('====CH3_2_2.m====');
I1=imread('lab1_0.bmp');
I2=imresize(I1,0.1,'nearest'); % 1
I3=imresize(I1,10.5,'triangle'); % 2
figure,imshow(I1),xlabel('');
figure,imshow(I2),xlabel('');
figure,imshow(I3),xlabel('');