Azzera filtri
Azzera filtri

I want to convert gray image to RGB image.

1 visualizzazione (ultimi 30 giorni)
ChanWoo Lee
ChanWoo Lee il 9 Dic 2020
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?

Risposte (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi il 14 Dic 2020
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!


Scopri di più su Modify Image Colors in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by