Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用来imagesc裁剪和显示黑白(灰度?)图像。但是,它一直以 rgb 显示图像,使它看起来像是来自红外相机!保留原始颜色的任何提示?
imagesc
您需要更改颜色图。运行后imagesc使用colormap('Gray'). 您可以使用将默认颜色图设置为当前颜色图colormap('default')
colormap('Gray')
colormap('default')