How to convert a gray image to colour image

조회 수: 1 (최근 30일)
Jitha
Jitha 2014년 1월 10일
댓글: Yuji Zhang 2014년 1월 10일
How to convert an image which is in gray to a colour image.?
  댓글 수: 1
Yuji Zhang
Yuji Zhang 2014년 1월 10일
Hi~
I don't understand too much about unit8 things.
I did some test, hopefully helpful.
p1 = imread('p1.jpg');
I = im2double(p1);
pcolor(I(:,:,1)); shading interp;

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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