MATLAB圖像的代數運算

1.圖像旋轉與縮放 bm=imread("3.png"); %subplot(1,3,1); imshow(bm); %縮放圖片 %bt=imresize(bm,0.5,'nearest'); %圖片旋轉,第三個參數可選,逆時針旋轉 theta=30; bt=imrotate(bm,theta,'crop'); %subplot(1,3,2); figure,imshow(bt) 'crop'表示
相關文章
相關標籤/搜索