How to convert a gray image to colour image

1 view (last 30 days)
Jitha
Jitha on 10 Jan 2014
Commented: Yuji Zhang on 10 Jan 2014
How to convert an image which is in gray to a colour image.?
  1 Comment
Yuji Zhang
Yuji Zhang on 10 Jan 2014
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;

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!