MATLAB: Gray2rgb conversion grayscalergb how can I convert a grayscale image into RGB image?? Thanks navneet nayan Best Answer temp = YourGrayImage;if isfloat(temp) temp = im2uint8(temp);endColorImage = ind2rgb(temp, TheColorMapToUse); Related SolutionsMATLAB: How to get the same image as generated by imagesc using ind2rgb Try:map=jet(256); MATLAB: How to recombine two color channels after separating all the channels Is this?color_image(:,:,2:3); % Having only two colors plane or color_image(:,:,1:2);orcolor_image(:,:,[1,3]); Related QuestionHow to create a white imageImwrite function for conversion issueHow to convert the RGB image to grayscale without using the Image Processing Toolbox
Best Answer