Hello, how can I convert this grayimage back to an rgb with green fluorescence?
<<
>>

 채택된 답변

Image Analyst
Image Analyst 2013년 12월 16일
편집: Image Analyst 2013년 12월 16일

0 개 추천

blackImage = zeros(size(grayImage), 'uint8');
rgbImage = cat(3, blackImage, grayImage, blackImage);
Or you can use ind2rgb():
cmap = [zeros(256,1), (0:255)', zeros(256,1)]
rgbImage = uint8(ind2rgb(grayImage, cmap));

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2013년 12월 16일

댓글:

2013년 12월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by