How to convert the grayscale image into rgb image ????
7 ビュー (過去 30 日間)
古いコメントを表示
How to convert the grayscale image into rgb image ????
1 件のコメント
KSSV
2018 年 1 月 18 日
You should be having colormap for this. You need to have a color data of the concerned image.
回答 (2 件)
Walter Roberson
2018 年 1 月 18 日
RGB_Image = Grayscale_Image(:,:,[1 1 1]);
which is the same as
RGB_Image = repmat(Grayscale_Image, 1, 1, 3);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!