im=imread('lena565.bmp');
就写了这一句,后面全是报的错
Reference to non-existent field 'ImageDataOffset'.
Error in imbmpinfo>readOS2v2Info (line 495)
metadata.NumColormapEntries =
floor((metadata.ImageDataOffset - ftell(fid))/4);
Error in imbmpinfo>readBMPInfo (line 144)
metadata = readOS2v2Info(fid, metadata);
Error in imbmpinfo (line 32)
metadata = readBMPInfo(fid, bmpVersion, metadata);
Error in readbmp (line 15)
info = imbmpinfo(filename);
Error in imread (line 438)
[X, map] = feval(fmt_s.read, filename,
extraArgs{:});
此图片单独可以显示,只是 用在matlab里就会报错