How to convert a gray image to colour image

1 Ansicht (letzte 30 Tage)
Jitha
Jitha am 10 Jan. 2014
Kommentiert: Yuji Zhang am 10 Jan. 2014
How to convert an image which is in gray to a colour image.?
  1 Kommentar
Yuji Zhang
Yuji Zhang am 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;

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by