I’m writing ImageJ macros for muscle cell contraction analysis and as part of that I need to determine the frame rate of videos which I record using Nikon NIS software in ND2 format. In that software the frame rate is not recorded in the metadata but the timestamp of every frame is and so I’m trying to use the timestamp data as a workaround to get frame rate. Unfortunately when the video is opened in ImageJ using BioFormats the Show Info function corrupts the timestamp data;
|Nikon Metadata Time [s.ms]||Index||X Coord [µm]||Y Coord [µm]||Z Coord [µm]||Frame Index||ImageJ Metadata|
|0||1||-6903.4||-74.6||1426.08||1||timestamp #0001 = 2.390218930888084E-302|
|0.0025||2||-6903.4||-74.6||1426.08||2||timestamp #0002 = 1.120248862000071E-303|
I’ve searched this forum and found a previous answer to getting this data but it dated from 2018 and suspect Nikon have altered their metadata format since.
This video was recorded at 400fps (1/0.0025) but I can’t see any pattern in the ImageJ version. The ‘E-3’ element make sense but none of the other digits match anything in the Nikon table.
Any suggestions for getting frame rate or fixing this issue are appreciated.