RGB画像の作成方法
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
wataru yoshimi
le 20 Jan 2017
Réponse apportée : Tohru Kikawada
le 20 Jan 2017
3つのSAR画像をそれぞれ赤、青、緑色で重ねて表示をしたのですがやり方がわかりません。 以下のコードは試したのですがうまくいきませんでした
% code
RGB=zeros(27583:22791:3);
RGB(:,:,1)=(RE0418);
RGB(:,:,2)=(RE0502);
RGB(:,:,3)=(RE0516);
figure;
imagesc(RGB);
0 commentaires
Réponse acceptée
Tohru Kikawada
le 20 Jan 2017
imagesc はグレイスケール画像に色づけして表示するためのコマンドです。
代わりに imshow をお使いください。
RGB=zeros(27583,22791,3);
RGB(:,:,1)=RE0418;
RGB(:,:,2)=RE0502;
RGB(:,:,3)=RE0516;
figure;
imshow(RGB);
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Language Fundamentals dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!