![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177346/image.jpeg)
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
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;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177346/image.jpeg)
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Modify Image Colors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!