使用MATLAB2014a將灰度圖轉爲彩色圖

MATLAB代碼: I = imread('KITTI2015訓練300對比1.png'); I = rgb2gray(I); rgb = label2rgb(gray2ind(I, 255), jet(255)); imshow(rgb); 效果: 參考:Map grayscale to color using colormap
相關文章
相關標籤/搜索