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 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