DylanMuir / TIFFStack

Load TIFF files into matlab fast, with lazy loading
http://dylan-muir.com/articles/tiffstack/
Other
36 stars 20 forks source link

Skip tags #21

Closed jennan closed 7 years ago

jennan commented 7 years ago

Hello,

This simplifies in tiffread31_header function, removing unused code (= code to handle unused tags) and avoid reading unused tags. This is slightly faster than reading all tags, e.g. on a stack of 25241 frames, it took 20s to load it without skipping unused tags and 16s with.

It is possible that more stuff could be removed, like the code about the bounding box (l.254-259).

DylanMuir commented 7 years ago

Thanks @jennan, looks good.