Why does imfinfo not give a timestamp for tiff file when image J does?

4 views (last 30 days)
I have a time series of bout 100000 tiff files. And I am trying to efficiently get the time stamps from all the files in the form of an excel sheet. I tried using imfinfo in MATLAB and exifread in python. Both give me the exact same metadata for the tiff files, but neither gives me the time stamp. When I open the same tiff file in ImageJ, I can see the time stamp, but I can only see it one frame at a time, which is not efficient. Can someone suggest a way to get the time stamps in MATLAB or python?
Here is a link to the google drive folder that has a zip file containing a few of the tiff files https://drive.google.com/a/usc.edu/file/d/0B-UUDROd7kxJdzZ6TmlPT0hVbzQ/view?usp=sharing
Thanks Sara
  3 Comments

Sign in to comment.

Answers (2)

Abhishek Pandey
Abhishek Pandey on 10 Aug 2015
Hello Sara,
I understand that you want a way to get the time stamps in MATLAB.
As far as I know, “imfinfo” function does return the time stamp in a structure under the “FileModDate” field. If you’re looking for something else, sharing one of the files with the community might prove helpful.
- Abhishek
  1 Comment
Sara
Sara on 10 Aug 2015
Edited: Walter Roberson on 10 Aug 2015
Thanks for the answer. I have tried opening the structure created by imfinfo, but there is no timestamp field for these files. The file mod date doesn't give me the millisecond resolution that I am looking for. Here is a link to the google drive folder that has a zip file containing a few of the tiff files https://drive.google.com/a/usc.edu/file/d/0B-UUDROd7kxJdzZ6TmlPT0hVbzQ/view?usp=sharing

Sign in to comment.


mara.and
mara.and on 3 May 2018
Solved? Other suggestions on this topic? I have the same issue with some .stk video. Thanks, Mara

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!