RGB画像の作成方法
5 views (last 30 days)
Show older comments
wataru yoshimi
on 20 Jan 2017
Answered: Tohru Kikawada
on 20 Jan 2017
3つのSAR画像をそれぞれ赤、青、緑色で重ねて表示をしたのですがやり方がわかりません。 以下のコードは試したのですがうまくいきませんでした
% code
RGB=zeros(27583:22791:3);
RGB(:,:,1)=(RE0418);
RGB(:,:,2)=(RE0502);
RGB(:,:,3)=(RE0516);
figure;
imagesc(RGB);
0 Comments
Accepted Answer
Tohru Kikawada
on 20 Jan 2017
imagesc はグレイスケール画像に色づけして表示するためのコマンドです。
代わりに imshow をお使いください。
RGB=zeros(27583,22791,3);
RGB(:,:,1)=RE0418;
RGB(:,:,2)=RE0502;
RGB(:,:,3)=RE0516;
figure;
imshow(RGB);
0 Comments
More Answers (0)
See Also
Categories
Find more on Language Fundamentals in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!