快速入門MATLAB圖像處理圖像類型轉換

快速入門MATLAB圖像處理圖像類型轉換 %% 學習目標: 圖像類型的轉換 %% 將索引圖像轉換爲RGB圖像 clear all; close all; [X,map]=imread(‘trees.tif’,‘tif’); %讀取索引圖像,X是數據,map是調色板 RGB=ind2rgb(X,map); %將索引圖像轉換爲RGB圖像 figure; imshow(RGB); %顯示RGB圖像 se
相關文章
相關標籤/搜索