您的位置:首页 > 编程语言 > MATLAB

MATLAB杂记

2015-10-26 10:40 513 查看
imwrite(Image,[filename num2str(i) ‘.bmp’],’bmp’);

Image的取值范围用的是[0,1]。

figure;image(Image); colormap
4000
(gray(256))

Image的取值范围是For matrices containing doubles, color intensities are on the range [0.0, 1.0]. For uint8 and uint16 matrices, color intensities are on the range [0, 255].

用的是[0,255]。

警告: 名称不存在或不是目录

在命令窗口输入 edit pathdef.m,编辑pathdef文件,删掉不存在的目录。

4.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  matlab