I want to convert gray image to RGB image.

1 回表示 (過去 30 日間)
ChanWoo Lee
ChanWoo Lee 2020 年 12 月 9 日
回答済み: Sahithi Kanumarlapudi 2020 年 12 月 14 日
I want to convert a gray image to an RGB image while maintaining the size after resizing in the code I wrote. What should I do?

回答 (1 件)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2020 年 12 月 14 日
Hi,
I understand that you want to convert a gray image into RGB image. The function 'ind2rgb' can be used to do so.
You can refer the following link for more info on ind2rgb function
The following links have some examples
Hope this helps!

カテゴリ

Help Center および File ExchangeModify Image Colors についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by