MATLAB杂记

  1. imwrite(Image,[filename num2str(i) ‘.bmp’],’bmp’);
    Image的取值范围用的是[0,1]。
  2. figure;image(Image); colormap(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]。
  3. 警告: 名称不存在或不是目录
    在命令窗口输入 edit pathdef.m,编辑pathdef文件,删掉不存在的目录。
  4. 4.

猜你喜欢

转载自blog.csdn.net/jueshu/article/details/49420907