1、图像数据的读入
[x,map]=imread(filename,'image format')
x=imread(filename,'image format')
%map为双精度浮点数(Double)其值为0~1表示图像的颜色值
2、写入
imwrite(x,filename,'image format')
imwrite(x,map,filename,'image format')
1、图像数据的读入
[x,map]=imread(filename,'image format')
x=imread(filename,'image format')
%map为双精度浮点数(Double)其值为0~1表示图像的颜色值
2、写入
imwrite(x,filename,'image format')
imwrite(x,map,filename,'image format')