【发布时间】:2020-06-18 02:20:41
【问题描述】:
我使用了matlab代码。
img = imread('cmap3.png')
map = jet(256)
ind = rgb2ind(img,map)
colormap(map)
cm = colormap('gray)
image(ind)
通过上面的代码,我得到了。
我想只保存灰度图像,在 x、y 轴上没有任何刻度和数字。 如何删除它们并保存灰度图像?
【问题讨论】:
我使用了matlab代码。
img = imread('cmap3.png')
map = jet(256)
ind = rgb2ind(img,map)
colormap(map)
cm = colormap('gray)
image(ind)
通过上面的代码,我得到了。
我想只保存灰度图像,在 x、y 轴上没有任何刻度和数字。 如何删除它们并保存灰度图像?
【问题讨论】: