Extract timestamps of 2D images from imf file

Hello, I have an .imf file that contains images and tracking information. I can without problem extract the timestamps from the tracking information, but I can’t find how to extract the timestamps associated to the 2D images.

Thank you!

Hi Mathilde,

The timestamps associated to the 2D images are stored in the SharedImageSet class (basically the main class that represents images).
This class has a timestamp(int frame) function, both in C++ and Python, that will give you each frame’s timestamp.