Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
hii sir i need code for coloring the gray scale from source image to color the gray scale image ?pleasee do help me sir am not getting any proper code for that.
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (2개)
Walter Roberson
2016년 1월 31일
One routine to do that is in the File Exchange at http://www.mathworks.com/matlabcentral/fileexchange/8214-gray-image-to-color-image-conversion
There are multiple ways of doing what you are asking.
댓글 수: 0
Image Analyst
2016년 1월 31일
Create a colormap, for example using one of the colormap functions like jet(), hsv(), winter(), hot(), lines(), etc. Then use ind2rgb()
cmap = hsv(256);
rgbImage = ind2rgb(grayImage, cmap);
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!