matlab载入图像,旋转,裁剪 保存
clc;clear all;close all src=imread('C:\Users\think\Desktop\12.jpg'); subplot(1,2,1) imshow(src); I = mat2gray(src); J = imrotate(I,-208); subplot(1,2,2) imshow(J); map0=J(290:949,446:940); figure imshow(map0) saveas(map0,'map0.jpg')