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: {}
>>aa=imfinfo('0000-c1.jpg')
aa =
>> Name=aa.Filename
Name =
C:\matlab程序\ 201101002 \ 0000-c1.jpg'
2. 黑白图像
>>
aa =
前一篇:几个看图像数据的MatLab命令

加载中…