I want to convert gray image to RGB image.

1 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by