How to use montage for RGB images
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
How can i show a montage of my rgb images ? Right now its treating the rgb channels as if they were separate grayscale images.
0 件のコメント
回答 (1 件)
Viktória Nemkin
2018 年 4 月 5 日
編集済み: Viktória Nemkin
2018 年 4 月 5 日
Hello,
I had the same problem and this was the first Google search result, so for anyone who finds this:
Instead of doing this:
allImages(:,:,:,1) = image;
montage(allImages, 'Size', [3, 3]);
Which will display a 3x3 matrix with the first row displaying the red, green and blue channels separately, do this:
allImages{1,1} = image;
montage(allImages, 'Size', [3, 3]);
Which will display the image in the top left corner in RGB.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing and Computer Vision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!