This function tiff_read_header can be used to read the header(s) of complex Tiff files. It implements a part of the Tiff version 5 and 6 specifications.
Info = tiff_read_header( Filename )
or
[Info,I] = tiff_read_header( Filename )
inputs,
Filename : filename of a Tif/Tiff file
outputs,
Info : Struct with Tiff tags, or in case of multiple images,
cell array with struct for every image.
I : Image Data (Only supported for non-compressed data)
Note:
SubHeaders can be found in SubIFD1,SubIFD2 ...