加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

MatLab图像信息查询函数:imfinfo

(2012-11-03 15:25:52)
标签:

杂谈

分类: MATLAB
1. 彩色图像
>>aa=imfinfo('0000-c1.jpg')
aa =
           Filename: 'C:\matlab程序\ 201101002 \ 0000-c1.jpg'
        FileModDate: '03-Nov-2012 18:14:23'
           FileSize: 50138
             Format: 'jpg'
      FormatVersion: ''
              Width: 640
             Height: 480
           BitDepth: 24
          ColorType: 'truecolor'
    FormatSignature: ''
    NumberOfSamples: 3
       CodingMethod: 'Huffman'
      CodingProcess: 'Sequential'
            Comment: {}
>> Name=aa.Filename
Name =
C:\matlab程序\ 201101002 \ 0000-c1.jpg'

2. 黑白图像
>>  aa=imfinfo('0002-c1.jpg')
aa =
           Filename: 'C:\201101002\0002-c1.jpg'
        FileModDate: '03-Nov-2012 18:42:51'
           FileSize: 40832
             Format: 'jpg'
      FormatVersion: ''
              Width: 640
             Height: 480
           BitDepth: 8
          ColorType: 'grayscale'
    FormatSignature: ''
    NumberOfSamples: 1
       CodingMethod: 'Huffman'
      CodingProcess: 'Sequential'
            Comment: {}

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有