Last active
February 4, 2021 13:00
-
-
Save JoachimGoedhart/6652c12ee035942b363a2fe62af4255c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Macro to add a column with the time in the 'Results' window | |
// The time is calculated from the Frame interval defined by the user | |
// In this macro the time interval is defined by the variable 'interval' | |
// Created by Joachim Goedhart with essential input from Jerome Mutterer (@jmutterer) | |
//Set the interval (alternatively it can be set in ImageJ/FIJI from the menu: [Image > Properties...]) | |
interval=2 | |
Stack.setFrameInterval(interval) | |
//Calculate the time for each frame and add to the results window | |
code="Time=Slice*"+Stack.getFrameInterval(); | |
Table.applyMacro(code); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment