我使用这个代码,但失败了!
binaryImage = imread(“binary.bmp”);
RGB = cat(3, binaryImage, binaryImage, binaryImage);
图;
imshow (RGB);