Image 如何解释TIFF图像中的元信息?
我的图像信息如下: imfinfo(‘drosophila.tif’) ans=Image 如何解释TIFF图像中的元信息?,image,matlab,tiff,Image,Matlab,Tiff,我的图像信息如下: imfinfo(‘drosophila.tif’) ans= Filename: 'drosophila.tif' FileModDate: '10-Nov-2009 18:52:42' FileSize: 264768 Format: 'tif' FormatVersion: []
Filename: 'drosophila.tif'
FileModDate: '10-Nov-2009 18:52:42'
FileSize: 264768
Format: 'tif'
FormatVersion: []
Width: 512
Height: 512
BitDepth: 8
ColorType: 'grayscale'
FormatSignature: [73 73 42 0]
ByteOrder: 'little-endian'
NewSubFileType: 0
BitsPerSample: 8
Compression: 'PackBits'
PhotometricInterpretation: 'BlackIsZero'
StripOffsets: [32x1 double]
SamplesPerPixel: 1
RowsPerStrip: 16
StripByteCounts: [32x1 double]
XResolution: 72
YResolution: 72
ResolutionUnit: 'Inch'
Colormap: []
PlanarConfiguration: 'Chunky'
TileWidth: []
TileLength: []
TileOffsets: []
TileByteCounts: []
Orientation: 1
FillOrder: 1
GrayResponseUnit: 0.0100
MaxSampleValue: 255
MinSampleValue: 0
Thresholding: 1
Offset: 264322
它显示比特深度为8。这是什么意思?
如何计算文件大小?
wat信息以签名格式存储
- 这意味着每个RGB颜色都有8位或256个可能的颜色值
- 文件大小:ColorType:“灰度”-这意味着每像素仅1字节。 512高*512宽=262144字节。262144字节被压缩(压缩:“PackBits”),并且在文件的开头添加了一些包含信息的头文件。总共264768字节