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/Matlab/dip/lab1/lab1_6.m

10 lines
347 B
Mathematica
Raw Normal View History

2022-10-31 03:22:33 +00:00
close all
clear
clc
disp('====CH3_2_3.m====');
I1=imread('lab1_0.bmp');
I2=imrotate(I1,-60,'bilinear'); % 1
I3=imrotate(I1,60,'bicubic','crop'); % 2
subplot(2,2,1),imshow(I1),xlabel('');
subplot(2,2,3),imshow(I2),xlabel('30');
subplot(2,2,4),imshow(I3),xlabel('30');