RGB画像の作成方法
5 ビュー (過去 30 日間)
古いコメントを表示
3つのSAR画像をそれぞれ赤、青、緑色で重ねて表示をしたのですがやり方がわかりません。 以下のコードは試したのですがうまくいきませんでした
% code
RGB=zeros(27583:22791:3);
RGB(:,:,1)=(RE0418);
RGB(:,:,2)=(RE0502);
RGB(:,:,3)=(RE0516);
figure;
imagesc(RGB);
0 件のコメント
採用された回答
Tohru Kikawada
2017 年 1 月 20 日
imagesc はグレイスケール画像に色づけして表示するためのコマンドです。
代わりに imshow をお使いください。
RGB=zeros(27583,22791,3);
RGB(:,:,1)=RE0418;
RGB(:,:,2)=RE0502;
RGB(:,:,3)=RE0516;
figure;
imshow(RGB);
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!