learnmatlab
2008-12-23, 18:09
各位大侠,imfinfo命令可给出图像信息,比如:
info = imfinfo('canoe.tif')
info =
Filename:'canoe.tif'
FileModDate: '25-Oct-1996 22:10:39'
FileSize: 69708
Format: 'tif'
FormatVersion: []
Width: 346
Height: 207
BitDepth: 8
我需要把width和Height两个数据自动存到变量a和b中,应该怎么办呀?
多谢了!!!:heart:
info = imfinfo('canoe.tif')
info =
Filename:'canoe.tif'
FileModDate: '25-Oct-1996 22:10:39'
FileSize: 69708
Format: 'tif'
FormatVersion: []
Width: 346
Height: 207
BitDepth: 8
我需要把width和Height两个数据自动存到变量a和b中,应该怎么办呀?
多谢了!!!:heart: