How to convert a gray image to colour image

1 次查看(过去 30 天)
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