天天看点

Matlab遥感图像分波段,组合显示Matlab遥感图像分波段,组合显示

Matlab遥感图像分波段,组合显示

subplot(2,2,1);
imgmul=cat(3,Image(:,:,3),Image(:,:,2),Image(:,:,1));%合成3维矩阵
colormap(colorcube);
imshow(uint8(imgmul));
colorbar;
title('前三个波段组合图像');

subplot(2,2,2);
img1=Image(:,:,1);
colormap(gray);
imshow(uint8(img1));
colorbar;
title('第一个波段灰度图');

subplot(2,2,3);
img2=Image(:,:,2);
colormap(gray);
imshow(uint8(img2))
colorbar;
title('第二个波段灰度图');

subplot(2,2,4);
img3=Image(:,:,3);
colormap(gray);
imshow(uint8(img3))
colorbar;
title('第三个波段灰度图');
% axis off;  
           

继续阅读