找回密码
 注册
Simdroid-非首页
查看: 85|回复: 2

请问:matlab如何读光栅图?

[复制链接]
发表于 2007-5-28 18:54:55 | 显示全部楼层 |阅读模式 来自 河北保定
我在Windows下用matlab7.1读Sun导出的光栅图有下面问题:
imread('wave.ras','ras');
??? Error using ==> imagesci\private\readras
wave.ras: file ended while reading color map.
--------------------------------------------------
f=imfinfo('wave.ras','ras') 显示
f =

           Filename: 'wave.ras'
        FileModDate: '14-May-2007 15:51:00'
           FileSize: 11235840
             Format: 'RAS'
      FormatVersion: []
              Width: 4.2950e+009
             Height: 4.2950e+009
           BitDepth: 4.2950e+009
          ColorType: 'indexed'
    FormatSignature: 4.2950e+009
             Length: 4.2950e+009
               Type: 4.2950e+009
            MapType: 4.2950e+009
          MapLength: 4.2950e+009
-----------------------------------------------
不知道是不是matlab只读部分raster文件的原因。
发表于 2007-5-28 21:18:26 | 显示全部楼层 来自 河北保定

回复 #1 cyz_ly 的帖子

Simdroid开发平台
同问,请高手指点!!!
要读的是unix导出的矢量图。
回复 不支持

使用道具 举报

发表于 2007-5-28 22:53:14 | 显示全部楼层 来自 河北保定
请高手指导一二!!
我用的是matlab7.0,能imfinfo文件,但不能imread文件,咋回事尼?
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-10-2 19:15 , Processed in 0.033140 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表