3 精通MATLAB圖像處理常用技巧參考這個案例代碼就夠了

%% 學習目標:學習常用的圖像處理技巧 %% 改變圖像的大小 clear all; close all; [X,map]=imread(‘trees.tif’,‘tif’); %讀取索引圖像 [Y,newmap]=imresize(X,map,0.2); %改成五分之一大小 figure; subimage(X,map); figure; subimage(Y,newmap); %% 圖像的剪切
相關文章
相關標籤/搜索